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
| class << NSProxy | |
| def method_added(meth) | |
| end | |
| def inherited(klass) | |
| end | |
| end | |
| class Proxy < NSProxy | |
| def self.const_missing(n) |
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
| require 'stringio' | |
| require 'timeout' | |
| class Object | |
| def methods_returning(expected, *args, &blk) | |
| old_stdout = $> | |
| $> = StringIO.new | |
| methods.select do |meth| | |
| Timeout::timeout(1) { dup.public_send(meth, *args, &blk) == expected rescue false } rescue false |
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
| download tarball (http://s3tools.org/download) | |
| $ sudo python setup.py install | |
| $ s3cmd --configure | |
| Enter new values or accept defaults in brackets with Enter. | |
| Refer to user manual for detailed description of all options. | |
| Access key and Secret key are your identifiers for Amazon S3 |
OlderNewer

