Git is awesome, but a lot of the time, I just need a quick reference for which commands to use in which situations. Here Goes!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filetype plugin indent on | |
" Setting up vim plug | |
call plug#begin('~/.config/nvim/plugged') | |
Plug 'MarcWeber/vim-addon-mw-utils' | |
Plug 'tomtom/tlib_vim' | |
Plug 'scrooloose/nerdtree' | |
Plug 'garbas/vim-snipmate' | |
Plug 'tpope/vim-surround' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use this to do a blue-green (zero downtime) deployment on Bluemix for Node.js apps. | |
*/ | |
var bash = require('child_process'); | |
var util = require('util'); | |
var routesBash; | |
var events = require('events'); | |
var emitter = new events.EventEmitter(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Use this file to deploy an app to the staging server on nodejitsu. | |
*/ | |
var fs = require('fs'); | |
var package = ''; | |
var bash = require('child_process'); | |
var jitsu; |
NewerOlder