Skip to content

Instantly share code, notes, and snippets.

View wamoyo's full-sized avatar
😜
Codin' on

Costa Michailidis wamoyo

😜
Codin' on
View GitHub Profile
@wamoyo
wamoyo / init.vim
Last active January 30, 2023 13:38
nvimrc
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'
@wamoyo
wamoyo / blue-green.js
Created January 24, 2015 07:03
Doing a Blue-Green (zero downtime) deployment for node.js apps on Bluemix (not finished yet)
/*
* 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();
@wamoyo
wamoyo / staging.js
Created January 24, 2015 02:49
A quick way to stage and application to nodejitsu (doesn't yet copy environment variables)
/*
* 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;