Skip to content

Instantly share code, notes, and snippets.

@mdsaleemj
mdsaleemj / 01-intro.md
Created November 4, 2015 09:03 — forked from dwayne/01-intro.md
My notes from the book "ng-book: The Complete Book on AngularJS by Ari Lerner".

Introduction

Author: Ari Lerner.

AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:

  • Module support
  • DOM manipulation
  • Animations
  • Templating
@mdsaleemj
mdsaleemj / install_execstack_on_ubuntu.md
Created October 19, 2015 07:07
How to install execstack on Ubuntu and Arch Linux

Execstack is a great tool for learning and training on Linux. It is a program which sets, clears, or queries the executable stack flag of ELF binaries and shared libraries. When I was looking to install it I took me a bit to find which package to install it in.

You can install with :

Ubuntu

$ sudo apt-get install prelink

Arch Linux

@mdsaleemj
mdsaleemj / Install_Oracle_JDK_in_Ubuntu_12.04
Created October 14, 2015 13:29
Installing JDK in Ubuntu 12.04
Hi,
I wanted to install the Oracle JDK in my ubuntu which already contains OpenJDK. Oracle doesn't official supports any repoistory
for ubuntu.
There are two possible ways now
1. Download and install JDK/JRE from Oracle manually.
2. Use PPA(Personal Package Archives) - This is not official and maintained by community and people say it as insecure.
So , for time being i chose to install via PPA
@mdsaleemj
mdsaleemj / prototypes.js
Last active September 11, 2015 13:47 — forked from torgeir/prototypes.js
javascript's __proto__ and prototype explained
/**
* __proto__ and prototype
* - the __proto__ property the instance's 'parent' up the prototype chain
* - the prototype property refers what new instances of the type will have their __proto__ set to, i.e. what will be the new instance's 'parent' up the prototype chain
*/
/* Given */
function Object () {}
Object.prototype = {
__proto__: null
@mdsaleemj
mdsaleemj / modules.md
Last active August 29, 2015 14:27 — forked from aubinlrx/modules.md
Node modules