cheatsheet

nodejs cheatsheet

By
|
In JavaScript
|
On 13th July 2019
/* ******************************************************************************************* * 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 run the server, put the code into a file called example.js and execute it with...

Javascript cheatsheet

By
|
On 13th July 2019

/* ******************************************************************************************* * 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 many.

PHP cheatsheet

By
|
On 20th June 2019

<?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. ¯\_(ツ)_/¯"); /** * Printing.

C cheatsheet

By
|
In C
|
On 20th June 2019
main() Function * The main() function is the starting point of the program: int main (int argc, char *argv[]) * The return type of the main() function is an integer (type int) and it is known as the return value of the program. * As...
This div height required for enabling the sticky sidebar