Skip to content

Instantly share code, notes, and snippets.

@connyay
connyay / License
Last active August 29, 2015 14:06
openshift --from-code workaround
Copyright (c) 2014 Licensed under the MIT license.
'use strict';
var request = require('request');
var Q = require('q');
var fs = require('fs');
var config = require('./config');
var tokens = {};
if (!config) {
config = {};
@connyay
connyay / installed packages
Last active August 29, 2015 14:05
my sublime setup
{
"installed_packages":
[
"All Autocomplete",
"AngularJS",
"CSS Format",
"EditorConfig",
"Git",
"GitGutter",
"Grunt",
@connyay
connyay / build
Last active August 29, 2015 14:05
Building node app with grunt on open shift
HOME=$OPENSHIFT_REPO_DIR
cd $OPENSHIFT_REPO_DIR
if ! which nvm >/dev/null; then
curl https://raw.githubusercontent.com/creationix/nvm/v0.13.1/install.sh | bash
fi
source ~/.nvm/nvm.sh
nvm install v0.10