Skip to content

Instantly share code, notes, and snippets.

View fitsanju's full-sized avatar

Sanjay Sahu fitsanju

View GitHub Profile
@fitsanju
fitsanju / gist:6e538eeb47e8e6fc6ccf
Last active March 17, 2016 08:06
Setting Up Node Application On Aws Ubuntu Server
############## UPDATE UBUNTU ##############
sudo local-gen UTF-8
sudo apt-get update
sudo apt-get upgrade
############## INSTALL NODE UBUNTU ##############
Rerefence : https://github.com/nodesource/distributions
# Using Ubuntu
@fitsanju
fitsanju / bash-cheatsheet.sh
Created January 28, 2016 11:24 — forked from LeCoupa/bash-cheatsheet.sh
Bash CheatSheet for UNIX Systems
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
// Restify Server CheatSheet.
// More about the API: http://mcavage.me/node-restify/#server-api
// Install restify with npm install restify
// 1.1. Creating a Server.
// http://mcavage.me/node-restify/#Creating-a-Server
var restify = require('restify');
@fitsanju
fitsanju / multi-git.md
Created September 30, 2015 13:36 — forked from rosswd/multi-git-win.md
Setting up a Github and Bitbucket account on the same computer.

Setting up github and bitbucket on the same computer

Github will be the main account and bitbucket the secondary.

Create SSH Keys

ssh-keygen -t rsa -C "github email"

Enter passphrase when prompted. If you see an option to save the passphrase in your keychain, do it for an easier life.