Tag: cheatsheet
nodejs cheatsheet
/* *******************************************************************************************
* SYNOPSIS
* http://nodejs.org/api/synopsis.html
* ******************************************************************************************* */
var http = require('http');
// An example of a web server written with Node which responds with 'Hello World'.
// To...
Javascript cheatsheet
/* *******************************************************************************************
* GLOBAL OBJECTS > OBJECT
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
* ******************************************************************************************* */
// Global object: properties
Object.length // length is a property of a function object, and indicates how...
PHP cheatsheet
<?php
// Exit the file, string inside get's echo'ed
die("This file is not ment to be ran. ¯_(ツ)_/¯");
exit("This file is not ment to be ran. ¯_(ツ)_/¯");
/**
*...
C cheatsheet
main() Function
* The main() function is the starting point of the program: int main (int argc, char *argv)
* The return type of the main()...
C# cheatsheet
CHEATSHEET C#
1. Data Types
Primitive Size Example
String 2 bytes/char s = "reference";
bool b = true;
char 2 bytes ch = 'a';
byte 1 byte b = 0x78;
short...