Here are instructions for getting ShairPort installed on your 10.6 64bit machine.
These are modified instructions from: http://asktherelic.com/2011/04/11/air-speakers-for-everyone/
Finally use your COMPUTER as an AirTunes speaker!!!
Here are instructions for getting ShairPort installed on your 10.6 64bit machine.
These are modified instructions from: http://asktherelic.com/2011/04/11/air-speakers-for-everyone/
Finally use your COMPUTER as an AirTunes speaker!!!
| # Sinatra module for documenting an API. This info can be exported as JSON | |
| # and used to generate other forms of documentation. | |
| # | |
| # Example documentation for a GET request: | |
| # | |
| # desc "List issues for this Repository" | |
| # param :milestone, Fixnum | |
| # param :state, String, :default => 'open', :choices => %w(open closed) | |
| # get "/repos/:user/:repo/issues" do | |
| # ... |
| diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb | |
| index b811e60..34323e3 100644 | |
| --- a/app/controllers/application_controller.rb | |
| +++ b/app/controllers/application_controller.rb | |
| @@ -33,6 +33,38 @@ class ApplicationController < ActionController::Base | |
| protected | |
| + # ActionController::Base calls this before processing each controller action. | |
| + # The default implementation produces two log entries: |
| #!/bin/ruby | |
| # YGX 25/07/2011 | |
| # Display the encondings | |
| puts "Ruby Version : #{RUBY_VERSION} - #{ENV['RUBY_VERSION']} " | |
| puts "Plateform : #{RUBY_PLATFORM}" | |
| puts "RVM version : #{ENV['rvm_version']}" | |
| puts "\n" | |
| puts "Source encoding : #{__ENCODING__}" | |
| puts "Default external : #{Encoding.default_external}" |
| # | |
| # Eric Lindvall <eric@5stops.com> | |
| # | |
| # Update the process name for the process you're running in. | |
| # | |
| # This will allow top, lsof, and killall to see the process as the | |
| # name you specify. | |
| # | |
| # Just use: | |
| # |
| #!/bin/sh | |
| #/ Usage: clean-merged-branches [-f] | |
| #/ Delete merged branches from the origin remote. | |
| #/ | |
| #/ Options: | |
| #/ -f Really delete the branches. Without this branches are shown | |
| #/ but nothing is deleted. | |
| set -e | |
| # show usage maybe |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
| module Watchable | |
| def events | |
| @events ||= Hash.new { |h,k| h[k] = [] } | |
| end | |
| def fire event, *args | |
| events[event].each { |e| e[*args] } | |
| end | |
| def on event, &block |