- TextMate
- OmniFocus
- Quicksilver
- 1Password
- Colloquy
- Dropbox
- Evernote
- GitX (preferably the fork)
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
Autotest.add_hook :initialize do |at| | |
# Prevent infinite loops by ignoring volatile files | |
%w{.git vendordb log tmp .DS_store Gemfile.lock}.each do |exception| | |
at.add_exception(exception) | |
end | |
end |
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
# % cd ~/Library/Logs/Pow/apps | |
# % multitail --config <some path>/multitail.conf -CS pow app1.log app2.log ... | |
colorscheme:pow: | |
cs_re:blue:: | |
cs_re:cyan:^\[[^]]*] | |
cs_re:red:ERROR | |
cs_re:yellow:WARNING | |
cs_re:green:NOTICE | |
cs_re:magenta:DEBUG |
Do this:
gem 'nokogiri'
gem 'w3c_validators', "1.1.1", :git => 'git://github.com/alexdunae/w3c_validators.git'
After experiencing trouble with the w3c_validators gem, I discovered that the problem was a known bug. A fix has been committed, but not yet released in gem form. I could have gone with an older version of the gem, but instead tweaked my Gemfile (ie, Bundler) to use the latest and greatest code.
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
tell application "System Events" to if exists process "Colloquy" then | |
tell application "Colloquy" | |
set aC to every connection | |
repeat with c in aC | |
set aR to (every chat room of c) | |
repeat with r in aR | |
set away message of c to "" | |
end repeat | |
end repeat | |
end tell |
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
#!/usr/bin/env ruby -wKU | |
LOG = 'eventcmd.log' | |
event = ARGV.first | |
@message = 'Gug.' | |
def ichat_message | |
%Q{set status message to "#{@message}"} | |
end |
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
mkb@chongo ~ % rvm install 1.8.7 | |
Installing Ruby from source to: /Users/mkb/.rvm/rubies/ruby-1.8.7-p352, this may take a while depending on your cpu(s)... | |
ruby-1.8.7-p352 - #fetching | |
ruby-1.8.7-p352 - #extracting ruby-1.8.7-p352 to /Users/mkb/.rvm/src/ruby-1.8.7-p352 | |
mv: rename /Users/mkb/.rvm/tmp/rvm_src_59540/\033[34mruby-1.8.7-p352\033[39;49m\033[0m to /Users/mkb/.rvm/src/ruby-1.8.7-p352: No such file or directory | |
ruby-1.8.7-p352 - #extracted to /Users/mkb/.rvm/src/ruby-1.8.7-p352 | |
/Users/mkb/.rvm/scripts/functions/manage/base: line 163: cd: /Users/mkb/.rvm/src/ruby-1.8.7-p352: No such file or directory | |
ERROR: Source directory is missing. | |
Did the download or extraction fail? |
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
ActiveSupport::Notifications.instrument("cheezburger", :extra => :information) do | |
# Do stuff. | |
end |
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
ActiveSupport::Notifications.subscribe(/cheezburger/) do |*args| | |
puts "K THX BAI" | |
end |
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
connection = Excon.new('http://icanhascheezburger.com/', | |
:instrumentor => ActiveSupport::Notifications, | |
:instrumentor_name => 'myapp.excon') | |
# Elsewhere... | |
ActiveSupport::Notifications.subscribe(/myapp.excon/) do |*args| | |
puts "Excon did stuff!" | |
end |
OlderNewer