Rails Girls London - 19th-20th April 2013
.
|____home
| |____despo
# The videos can be found at http://programme.scottishrubyconference.com/schedule | |
# Usage: ruby download_scotruby_videos.rb /path/to/directory | |
page = "http://video2012.scotlandonrails.com" | |
path = ARGV.first || '.' | |
[ | |
[ "Continuous Delivery - A Better Software Deployment Strategy", "D1_GH_01-Ruby1280_b.mp4" ], | |
[ "The Rails View: The Junk Drawer Grows Up", "D1_GH_02-Ruby1280_b.mp4" ], | |
[ "Perfectionists Anonymous", "D1_GH_03-Ruby1280_b.mp4" ], | |
[ "ElasticSearch, AMQP and Ruby; or how I learned to stop spelunking and love the logs", "D1_GH_04-Ruby1280_b.mp4" ], |
curl http://cyprus-street-names.herokuapp.com/area/:area_name -H 'accept: application/json' |
Not much to see here |
class DeferredGarbageCollection | |
DEFERRED_GC_THRESHOLD = (ENV['DEFER_GC'] || 15.0).to_f | |
@@last_gc_run = Time.now | |
def self.start | |
GC.disable if DEFERRED_GC_THRESHOLD > 0 | |
end |
... | |
# ==> Configuration for any authentication mechanism | |
# Configure which keys are used when authenticating a user. The default is | |
# just :email. You can configure it to use [:username, :subdomain], so for | |
# authenticating a user, both parameters are required. Remember that those | |
# parameters are used only when authenticating and not when retrieving from | |
# session. If you need permissions, you should implement that in a before filter. | |
# You can also supply a hash where the value is a boolean determining whether | |
# or not authentication should be aborted when the value is not present. | |
config.authentication_keys = [ :login ] |