This document intend to list nice modules for Node.JS
/** | |
* __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 |
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 |
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
#####Messaging System or Queues#####
This concept is especially useful in web applications where it's impossible to handle a complex task during a short HTTP request window. Reference about different queueing tools : http://queues.io/
#####Key Value Database####
##Running ES6 javascript code in NodeJS envrionment.
- Try to install babel-cli
npm install --save-dev babel-cli npm install --save-dev babel-preset-es2015
SELECTION SORT - BASIC SORTING (WITHOUT OPTIMIZATION)
for(i=0;i<array.length;i++) {
//assume i to be index value of smallest value
var minIndex = i;
//loop through the rest of element and find the index of smallest element
for(j=i+1;j<array.length;j++){
if(array[j] < array[minIndex]){
minIndex = j;
The purpose of this gist is to know more about the software developing principles in general. This intention is to explore and know more about software development from industry leaders like Martin Flowers, Robrt Martin(aka UncleBob ) and many .
In addition to that , learning and practising programming and desing skill with emphasis on necessary programming styles like OOP and FP needs to be encouraged.
This guide is started as rough draft and will serve to contain information about resources , leaders to follow, topics under software development.
var http = require('http'); | |
http.createServer(function (request, response) { | |
response.setHeader('Content-Type', 'text/html; charset=UTF-8'); | |
response.setHeader('Transfer-Encoding', 'chunked'); | |
var html = | |
'<!DOCTYPE html>' + | |
'<html lang="en">' + | |
'<head>' + |
Hi, This is my place to gather any ideas/concepts/resources related to frontend development. Right now , front dev is vast and there lot of things for different types of front end projects .
BEST Resources is : FrontEnd Master - gitbook (also pdf available in drive). This book gives nice overview of overall front-end Engineering and describes lot of different disciplines with in front end dev.
#####NOTE##### This guide needs to constantly maintained and refined and grouped in different sections for better understanding. Also, refer to git where lot of resources available for front dev and related curricula.