As configured in my dotfiles.
start new:
tmux
start new with session name:
# Ubuntu upstart file at /etc/init/mongodb.conf | |
pre-start script | |
mkdir -p /var/lib/mongodb/ | |
mkdir -p /var/log/mongodb/ | |
end script | |
start on runlevel [2345] | |
stop on runlevel [06] |
As configured in my dotfiles.
start new:
tmux
start new with session name:
brew update | |
brew versions FORMULA | |
cd `brew --prefix` | |
git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
brew install FORMULA | |
brew switch FORMULA VERSION | |
git checkout -- Library/Formula/FORMULA.rb # reset formula | |
## Example: Using Subversion 1.6.17 | |
# |
elasticsearchapp|⇒ brew install elasticsearch | |
==> Downloading https://github.com/downloads/elasticsearch/elasticsearch/elasticsearch-0.18.5.tar.gz | |
######################################################################## 100.0% | |
==> Caveats | |
If this is your first install, automatically load ElasticSearch on login with: | |
mkdir -p ~/Library/LaunchAgents | |
ln -nfs /usr/local/Cellar/elasticsearch/0.18.5/org.elasticsearch.plist ~/Library/LaunchAgents/ | |
launchctl load -wF ~/Library/LaunchAgents/org.elasticsearch.plist | |
If this is an upgrade and you already have the org.elasticsearch.plist loaded: |
/**********************************************/ | |
/* | |
/* IR_Black Skin by Ben Truyman - 2011 | |
/* | |
/* Based on Todd Werth's IR_Black: | |
/* http://blog.toddwerth.com/entries/2 | |
/* | |
/* Inspired by Darcy Clarke's blog post: | |
/* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
/* |
#!/usr/bin/env ruby | |
# Load Rails | |
ENV['RAILS_ENV'] = ARGV[0] || 'production' | |
DIR = File.dirname(__FILE__) | |
require DIR + '/../config/environment' | |
# ... do stuff that requires using your rails models |