Skip to content

Instantly share code, notes, and snippets.

Sjors Provoost Sjors

Block or report user

Report or block Sjors

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:1126721
-----> Heroku receiving push
-----> Rails app detected
-----> Configure Rails 3 to disable x-sendfile
Installing rails3_disable_x_sendfile... done
-----> Configure Rails to log to stdout
Installing rails_log_stdout... done
-----> Gemfile detected, running Bundler version 1.0.7
Unresolved dependencies detected; Installing...
Using --without development:test
Fetching source index for http://rubygems.org/
@jpmckinney
jpmckinney / keychain.rb
Created Nov 9, 2010
Access the OS X Keychain from Ruby
View keychain.rb
# blog post: http://blog.slashpoundbang.com/post/1521530410/accessing-the-os-x-keychain-from-ruby
class KeyChain
def self.method_missing(meth, *args)
run args.unshift(meth)
end
def self.find_internet_password(*args)
# -g: Display the password for the item found
output = quiet args.unshift('find-internet-password', '-g')
You can’t perform that action at this time.