This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Sat Feb 6 09:48:31 on ttys006 | |
09:55:01@[~]: which ghc | |
/usr/bin/ghc | |
09:55:07@[~]: ghc --version | |
The Glorious Glasgow Haskell Compilation System, version 6.10.4 | |
09:55:14@[~]: fucker | |
-bash: fucker: command not found | |
09:55:25@[~]: make fucking ghc work with fucking snow leopard | |
make: *** No rule to make target `fucking'. Stop. | |
09:55:45@[~]: Really? Well FUCK YOU! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Find open file descriptors (I think) for mongrel | |
ps aux | grep mongrel_rails | awk '{print $2}' | xargs -n1 -I 'foo' /usr/sbin/lsof -p 'foo' | sort | awk '{print $2}' | uniq -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From http://jasonseifer.com/2009/02/22/offline-gem-server-rdocs | |
gem install mislav-hanna sinatra | |
echo "rdoc: --inline-source --line-numbers --format=html --template=hanna" >> ~/.gemrc | |
sudo gem rdoc --all --no-ri | |
cd ~/Projects | |
git clone git://github.com/jseifer/sinatra-rubygems.git | |
# Then add to Passenger via URL above. |
NewerOlder