Skip to content

Instantly share code, notes, and snippets.

@orangain
orangain / 0_reuse_code.js
Created January 13, 2016 14:05
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@orangain
orangain / 01_setup.sh
Last active January 22, 2016 02:46 — forked from krak3n/.zshrc
Mac OS X script to automatically start boot2docker on system boot
curl https://gist.github.com/orangain/5f74bf388f66778f0e47/raw/com.docker.boot2docker.plist -o ~/Library/LaunchAgents/com.docker.boot2docker.plist
launchctl load ~/Library/LaunchAgents/com.docker.boot2docker.plist
echo '$(boot2docker shellinit)' >> ~/.bash_profile
@orangain
orangain / skype
Last active December 14, 2015 03:09 — forked from moriyoshi/launch-skype.sh
/etc/init.d/skype for Ubuntu Server 12.04.2 LTS
#!/bin/bash
#
# Init file for daemonized Skype service
#
### BEGIN INIT INFO
# Provides: skype
# Required-Start: $local_fs $remote_fs $network
# Required-Stop: $local_fs $remote_fs $network
# Default-Start: 3 4 5
# Default-Stop: 0 1 2 6
@orangain
orangain / Gemfile
Created November 12, 2012 12:38 — forked from pete-otaqui/Gemfile
Capybara, Cucumber, Webdriver, Mechanize and SauceLabs ... whew!
source "http://rubygems.org"
gem "cucumber"
gem "capybara"
gem "capybara-webkit", :platforms => [:ruby], :require => false, :git => "git://github.com/thoughtbot/capybara-webkit.git"
gem "capybara-mechanize", :git => "git://github.com/jeroenvandijk/capybara-mechanize.git"
gem "rspec"
gem "rake"