icon

CodingHome

CodingHome is a coding and web development community where tech enthusiasts of all skill levels can come together.

Disclaimer

We do not take responsibility for any damage, or legal issues, done with these files here at AT Products LLC, Ethical Hacking Society, The Script Community, CodingHome, or Noodle Hackerspace.

Use a virtual machine if it's a computer virus; never open it on your physical machine. As a precaution, download them on your VM.

If it's an APK file, use an emulator.

More information on Virtual Machines (VM)
More information on APK Emulators


Resources

Contributors
#1
#2
#3
venenjean Zoezo Social

Please note that if a link is a warning link, the resource is not in the primary language here of English and is instead German.

Learning Resources

W3Schools TutorialsTeacher StackExchange StackOverflow ChatGPT MDN Web Docs CodeAcademy FreeCodeCamp DevDocs Google's Style Guide Leetcode Roadmaps for Languages Build your own X Microsoft's Documentation Markdown Documentation LearnC.net LearnC.org learncpp Lua Cheatsheet WikiBooks Webflow University EDX Courses CanIUse? Refactoring Guru Pacman Tips and Tricks

Haskell Resources

Hakell Documentation Haskell Wiki Haskell Packages Learning about Haskell Packages Monday Morning Haskell LearnYouAHaskell Haskell Basics

C# Resources

C# Documentation C# Corner C# Corner - Tutorials C# TutorialsTeacher ConfigurationManager C# Async I/O in C#

SQL Resources

LiteDB .NET SQL Connecter Documentation MySQLConnecter DB Relation Models SQL Style Guide

.NET Resources

C# / dotnet Documentation .NET SQL Connecter Documentation How to Handle Exceptions from Background Worker Thread in .NET

Discord Resources

Discord.js Website Discord.js Guide Discord Developers Portal Discord Icons Discord Server Revival Discord Timestamp Creator Other Discord Resources

DB SSH connection (Terminal)
  • Create ssh key files (.ssh)
  • Run this command - ssh-copy-id user@host-ip/-name
  • For local connection: ssh-copy-id user@localhost
All Guides VenenJean used to Install VirtualBox under Manjaro

Guide 1 (Manjaro Wiki) Guide 2 (Hibbard) Guide 3 (CherryServers) Guide 4 (IBM) Guide 5 (LinuxIAC) Guide 6 (MariaDB) SSH Public Key Connection Setup Manjaro Wiki

C# Hashing with Salt and Pepper

Source (German)

There are outdated files on the source, if you need to, use the updated files of the first code block and the second code block.

YouTube Creators

C#

IAmTimCorey tutorialsEU

JavaScript

ColorCode

General

Coderized Winderton CodeAesthetic Studying with Alex Fireship

Computer Science

CS50 | Harvard University

Web Development

Kevin Powell Web Dev Simplified

Networks/Cybersecurity

NetworkChuck

Indie App Development

Takuya Matsuyama DevAsLife

NeoVim Usage

Takuya Matsuyama

Hacking Resources

Network Attack

Stanford Cambridge

Network Fundamentals

Old-Fashioned Modern

Downloadable Resources

1,000 I.T books!

View

Viruses & Malware

Meme_Coin (ZIP) Meme_Coin (EXE) My_App (ZIP) Myballzhert (ZIP) by Dream3456789 (Password: "mysubsarethebest")

USB & Internet Disabler (BAT) Unkill Tool for Disabler (BAT) by CodingLive

Trojan_Spyer (EXE) by MagSam2

Nuking Discord Bot (ZIP)

Scam (ZIP) by the pfp is for nuking kpopserver

BFF_DoS (exe) Code (TXT) Baby (BAT) BabyCodes (TXT) by Corrupt Assassin



Apps & Software

SMS Bomb (APK) by CodingLive

Encochat by CodingLive

Encochat v1

Encochat v2

Encochat v3

Encochat Website

Encochat Download

vpnchecker by CodingLive

vpnchecker (HTML | ZIP)

vpnchecker Website


Python Basics

Comments

You can write text that the program will ignore by beginning the line with a #, this helps with reminding you what certain code does or for explaining purposes.

py
# This is a comment

Data Types

Variables can store data of different types, and different types can do different things.

Python has the following data types built-in by default, in these categories:
Text Type: str
Numeric Types: int, float, complex
Sequence Types: list, tuple, range
Mapping Type: dict
Set Types: set, frozenset
Boolean Type: bool
Binary Types: bytes, bytearray, memoryview

We will go more in-depth on some of these types in the next few paragraphs.

You can print the data type of a variable with the type() function:
py
x = 5
print(type(x))

Strings

Strings are surrounded by either single quotation marks, or double quotation marks.

py
x = "hello"
y = 'hello'
# single quotations and double quotation marks are the same
x == y # returns True

You can assign a multiline string to a variable by using three quotes:
py
x = """The FitnessGram Pacer test is a multistage aerobic capacity test that progressively gets more difficult as it continues. The 20 meter Pacer test will begin in 30 seconds."""

You can check the length of a string using the len() function: py
x = "hello"
print(len(text)) # returns 5

Numbers

There are 2 primary, int and float

py
x = 2 # int
y = 2.8 # float

To verify the type of an object in Python, use the type() function: py
print(type(x))
print(type(y))

Int, or integers, are whole numbers, positive or negative, without decimals.

Float is a number, positive or negative, containing one or more decimals.

Both strings and numbers are built-in data types.


C++ Basics

Strings

A string is a sequence of characters representing text. Strings are typically enclosed in quotation marks and can be stored in variables for later use in a program.

#include <ostream>
#include <string>


int main()
{
// Declare a string variable
std::string str = "codinghome";
}

Integers and Floating Point Numbers

Simply said, Integers are used for numbers without a decimal, and Float is used for numbers with decimals, simply said. There is more to that but we are keeping it simple.

#include <iostream>

int main()
{
// Declare an integer variable
int num = 10;

// Declare a floating-point variable
float fnum = 10.5;
}


Haskell Basics

Data Types

In Haskell, types are how you describe the data your program will work with. Types can be simple, like:

  • Bool : boolean True or False.
  • Char : one character.
  • Int : fixed-precision signed integer (usually 64-bit)
  • Float / Double : floating-point values.

Or, they can be composed with constructs, like:

  • String : shortcut for [Char].
  • [a] : list of as (where a is a general type).
  • (a, b) : tuple composed of a and b
  • Just a : Maybe monad with the Just option

Function Type Declaration

Haskell's functions will usually have 2 parts: a type declaration, and the implementation of the function itself (the type part can also be inferred):

-- type declaration
-- constraints => type -> ... -> returnType (the last type will always be the return type)
countIns :: Eq a => a -> [a] -> Int
-- implementation
countIns x = length . filter (== x)
  • Bool : boolean True or False.
  • Char : one character.
  • Int : fixed-precision signed integer (usually 64-bit)
  • Float / Double : floating-point values.

Notice the type declaration has 2 types of "arrows": => and ->.

  • => : used for giving additional context of what rules a should follow (in the example above, we see a should be part of the Eq class, which allows for comparison)
  • -> : used for actually declaring the type of the function (in the above example, we see the first argument is a, a general, comparable type, then a list of as and then finally it outputs an Integer)

Function Definition

Functions are defined like: functionName argument(s) = expression. Haskell forces declarative style, so functions are (usually) composed of just an expression (always returns a value).

-- type declaration countIns :: Eq a => a -> [a] -> Int -- implementation -- function args = expression countIns x = length . filter (== x)

Functional Principles

Haskell restricts to the functional paradigm, meaning Haskell enforces:

  • Immutability: when the data has to be defined again for it to "change"
  • Purity: functions must be pure, producing no side-effects (like modifying a global variable), and must be deterministic (f(x) = y, no matter when f is called)
  • Higher-order functions: functions must be first-class, meaning they can be passed as arguments to other functions. This allows for higher-order functions. which take a function and other data and apply the function to the data in different ways.
  • Disciplined state trying to minimize the use of mutable state and trying to make it local when possible.

Comments

In-line comments are made with -- and block comments with {- -}:

-- inline
commentHere = False
{- block
commenHere = True
-}

HTML Basics

Example Document

<!DOCTYPE html>
<html>
 <body>
  <h1>My first Heading</h1>
  <p>My first paragraph</p>
 </body>
</html>

The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly. It must only appear once, at the top of the page (before any HTML tags). The <!DOCTYPE> declaration is not case sensitive.

HTML Headings

HTML headings are defined with the <h1> to <h6> tags. <h1>defines the most important heading. <h6> defines the least important heading:
<h1>Big</h1>
<h6>Small</h6>

HTML Paragraphs

HTML paragraphs are defined with the <p> tag:
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

HTML Images

HTML images are defined with the <img> tag. The source file (src), alternative text (alt), width, and height are provided as attributes:
<img src="example.jpg" alt="example.com" width="104" height="142">


CSS Basics

Example Document

h1 {
  color: black;
  text-align: center;
  font-size: 26px;
  font-family: verdana;
}


<p style="font-size:10px">

To put CSS files in HTML, use... <link rel="stylesheet" href="style.css">

CSS Rulesets

Selector

p {

Property

  color: red;

Declaration

}

Properties - With these, you can style a HTML element, like for example; color.
Property Value - This chooses one of the possible options for a given property, like red for color.

You can also write CSS like html{color:red;}
You can also put styles in HTML elements. <h1 style="font-color:white;">
You can also select multiple elements at once like...
h1, h4, h6, h2 {
  color: red;
}

Classes

Think of classes like custom HTML elements, they can be applied in html like <p class="text-red">

Classes begin with a dot or period (.) to begin the selector.

.text-red{
  color: red;
}

Text Elements

font-size: 10px; - Text size, can be in pixels.
font-family: verdana; - Fonts
text-align: center; - Can align to the left side, right side, or in the center of the webpage.
text-shadow: 3px black - Shadow of text. Can be in pixels and colors.

Padding Elements

padding-top: 50px; - Separation. Can be top, left, right, and the bottom in pixels.
margin: 50px; - A margin. Can be in pixels.
border-width: 5px; - Border width. Can be thin, medium, thick, or just pixels.
border-style: dotted; - Border style. Can be dotted, dashed, solid, double, groove, ridge, inset, outset, none, or hidden. Can also be colored.
width=500px; - Width of the element. Can be pixels or percentages.

Color Elements

color: red; - Color of the element, can be hexadecimal, or RGB.
background-color: white; - Background color of the element.

Comments

Comments are commonly used to explain the code, and may help when you edit the source code at a later date, and are ignored by browsers.

A CSS comment starts with /* and ends with */, and no changes are needed to make it multiple lines.

/* This is a single-line comment */

/* This is
a multi-line
comment */

Extra: Centering Images

img {
  margin: 0 auto;
  display: block;
}

JavaScript Basics

Including JavaScript in an HTML Page

<script type="text/javascript">
//JS code goes here
</script>

Call an External JavaScript File

<script src="myscript.js"></script>

Including Comments

Single line comments - // Comment
Multi-line comments - /* comment here */

Variables

var, const, let
var — The most common variable. Can be reassigned but only accessed within a function. Variables defined with var move to the top when code is executed.
const — Can not be reassigned and not accessible before they appear within the code.
let — Similar to const, however, let variable can be reassigned but not re-declared.

Data Types

Numbers — var age = 23
Variables — var x
Text (strings) — var a = "init"
Operations — var b = 1 + 2 + 3
True or fase statements — var c = true
Constant numbers — const PI = 3.14
Objects — var name = {firstName:"John", lastName:”Doe"}

Objects Example
var person = {
  firstName:"John",
  lastName:"Doe",
  age:20,
  nationality:"American"
};


SQL Basics

Querying Data from a Table

Query Data in Columns c1, c2 from a Table

SELECT c1, c2 FROM t;
Code language: SQL (Structured Query Language) (sql)


Query All Rows and Columns from a Table

SELECT * FROM t;

Query Data and Filter Rows with a Condition

SELECT c1, c2 FROM t
WHERE condition;


Query Distinct Rows from a Table

SELECT DISTINCT c1 FROM t
WHERE condition;


Sort the Result Set in Ascending or Descending Order

SELECT c1, c2 FROM t
ORDER BY c1 ASC [DESC];


Skip Offset of Rows and Return the Next n Rows

SELECT c1, c2 FROM t
ORDER BY c1
LIMIT n OFFSET offset;


Group Rows using an Aggregate Function

SELECT c1, aggregate(c2)
FROM t
GROUP BY c1;


Filter Groups using Having Clause

SELECT c1, aggregate(c2)
FROM t
GROUP BY c1
HAVING condition;


Modifying Data

Insert One Row into a Table

INSERT INTO t(column_list)
VALUES(value_list);


Insert Multiple Rows into a Table

INSERT INTO t(column_list)
VALUES (value_list),
       (value_list), …;


Insert Rows from t2 into t1

INSERT INTO t1(column_list)
SELECT column_list
FROM t2;


Update New Value in the Column c1 for All Rows

UPDATE t
SET c1 = new_value;


Update Values in the Column c1, c2 that Match the Condition

UPDATE t SET c1 = new_value,
    c2 = new_value
WHERE condition;


Delete All Data in a Table

DELETE FROM t;

Delete Subset of Rows in a Table

DELETE FROM t
WHERE condition;


Table Management

Create a new Table with Three Columns

CREATE TABLE t (
  id INT PRIMARY KEY,
  name VARCHAR NOT NULL,
  price INT DEFAULT 0
);


Delete the Table from the Database

DROP TABLE t ;

Add a new Column to the Table

ALTER TABLE t ADD column;

Drop Column c from the Table

ALTER TABLE t DROP COLUMN c ;

Add a Constraint

ALTER TABLE t ADD constraint;

Drop a Constraint

ALTER TABLE t DROP constraint;

Rename a Table from t1 to t2

ALTER TABLE t1 RENAME TO t2;

Rename Column c1 to c2

ALTER TABLE t1 RENAME c1 TO c2 ;

f

Remove all Data in a Table

TRUNCATE TABLE t;

JSON Basics

Example Document

{
  "foo": "bar",
  "array": [
    "foo",
    "bar"
  ]
}


All JSON files are surrounded by { and }, which means it is a object. Unlike Javascript, you must use double quotes (") for strings, not singular quotes (')

Importing JSON

JavaScript fetch('example.json')
Node.js import('./example.json')
TypeScript + Node.js import data from 'example.json'
Python import 'json'; with open('data.json', 'r') as f: data = json.load(f)