Skip to content

Instantly share code, notes, and snippets.

View RyanCCollins's full-sized avatar

Ryan Collins RyanCCollins

View GitHub Profile
@RyanCCollins
RyanCCollins / install-node-js-docker.md
Last active November 22, 2016 20:47
Install the latest working version of NodeJS in Docker with correct permissions.

Dockerfile

#
# Node.js Dockerfile
#
# https://github.com/dockerfile/nodejs
#

FROM node:4-onbuild

Install NVM to manage NodeJS versions

Download and Install

Download and run the install script using curl:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash

or use wget:

wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
@RyanCCollins
RyanCCollins / iterm2-solarized.md
Created January 16, 2016 04:12 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + oh my zsh + solarized + Meslo powerline font (OSX)

Solarized

@RyanCCollins
RyanCCollins / Gruntfile.js
Created January 16, 2016 04:09
How to start mongo with Grunt
shell: {
mongo: {
command: "sh startMongoIfNotRunning.sh",
options: {
async: true
}
},
}
@RyanCCollins
RyanCCollins / category_plugin.rb
Created October 21, 2015 19:38 — forked from somic/category_plugin.rb
How I organize posts in Jekyll (code snippets for blog post - see comments)
module Jekyll
Page.class_eval {
def clone
Page.new(@site, @base, @dir, @name)
end
}