This file contains 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
require 'rubygems' | |
require 'ohai' | |
@ohai = Ohai::System.new | |
@ohai.all_plugins | |
puts @ohai[:platform] |
This file contains 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
#!/usr/bin/env ruby | |
require 'rubygems' | |
gempaths = Gem::default_path | |
puts | |
puts "Scanning paths in Gem::default_path for RubyGems with native extensions ..." | |
puts |
My personal notes on Brian Copeland's blog series: Agile vs Fragile
(If you are unable to access the blog post, try using a US proxy or web-based proxy service e.g. http://hideme.be)
- Agile: focus on deliver valuable software to customer
- Fragile: focus on meeting delivery period
This file contains 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
# sudo vi /etc/ssh/sshd_config | |
ClientAliveInterval 18 | |
ClientAliveCountMax 100 | |
# sudo service ssh restart | |
# exit |
This file contains 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
rubygems: | |
capybara-webkit: | |
ubuntu: | |
default: | |
- libqt4-dev | |
- libqtwebkit-dev | |
mac_os_x: | |
default: qt | |
ruby-tesseract-ocr: | |
mac_os_x: |
This file contains 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
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |
This file contains 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
set :sync_directories, ["public/assets", "public/galleries"] | |
set :sync_backups, 3 |
This file contains 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
deploy | |
-- | |
starting | |
started | |
updating | |
updated | |
publishing | |
published | |
finishing_deploy | |
finished |
This file contains 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
deploy | |
-- | |
start | |
new_release | |
new_release_ready | |
publish | |
cleanup | |
finish | |
rollback |