Skip to content

Instantly share code, notes, and snippets.

Future of the Web Platform: Workshop

Hack Reactor: Call for Open-Source Projects

Next week, participants in Hack Reactor's software engineering program will be embarking on a two-week-long open-source project sprint. If you're a project maintainer and would like some or all of the twenty hungry coders to tackle your issue backlog, please read on.

The Open-Source Sprint

From 7/16 to 7/26, the upcoming graduates will be embarking on the open-source portion of our curriculum. Our students are prepped and ready to work with large code-bases and are eager to help your open-source project. They'll consider themselves open-source contributors and you'll gain some valuable, useful commits. Win-win!

What You Can Expect

D/dalvikvm( 8248): GC_FOR_MALLOC freed 10496 objects / 785320 bytes in 342ms
D/dalvikvm( 8248): GC_FOR_MALLOC freed 4462 objects / 532168 bytes in 114ms
I/Web Console( 8248): running at http://10.224.39.156:9292/client/compiled_js/app.js:5
D/dalvikvm( 8248): GC_FOR_MALLOC freed 9108 objects / 1711656 bytes in 325ms
I/Web Console( 8248): still running at http://10.224.39.156:9292/client/compiled_js/app.js:87
I/Web Console( 8248): rendering at http://10.224.39.156:9292/client/compiled_js/navbar.js:38
D/dalvikvm( 8248): GC_FOR_MALLOC freed 6582 objects / 529896 bytes in 189ms
D/NativeCrypto( 8248): Freeing OpenSSL session
D/dalvikvm( 8248): GC_FOR_MALLOC freed 13802 objects / 808840 bytes in 147ms
D/dalvikvm( 8248): GC_FOR_MALLOC freed 5068 objects / 911520 bytes in 262ms
drostie:honeybadger (master) $ gcm "add the rest of the compiled templates and do some cleanup"
[master f7f68da] add the rest of the compiled templates and do some cleanup
19 files changed, 1103 insertions(+), 34 deletions(-)
create mode 100644 compiled_templates/chooseSource.handlebars.js
create mode 100644 compiled_templates/endOfStream.handlebars.js
create mode 100644 compiled_templates/home.handlebars.js
create mode 100644 compiled_templates/isAndLikes.handlebars.js
create mode 100644 compiled_templates/messageStream.handlebars.js
create mode 100644 compiled_templates/miniProfile.handlebars.js
create mode 100644 compiled_templates/navbar.handlebars.js
ruby-1.9.3-p125 :021 > User.last.fb.photos.map{|p|p["source_id"]}.sort
User Load (2.5ms) SELECT "users".* FROM "users" ORDER BY "users"."id" DESC LIMIT 1
get http://localhost:5001/users/4fb590c3db97422038000003/photos/facebook
200
x-frame-options: "sameorigin"
x-xss-protection: "1; mode=block"
content-type: "application/json;charset=utf-8"
content-length: "126598"
server: "WEBrick/1.3.1 (Ruby/1.9.3/2012-02-16)"
(0.2ms) SHOW search_path
(1.4ms) ALTER TABLE "amenities" DISABLE TRIGGER ALL;ALTER TABLE "cities" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "admins" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "rails_admin_histories" DISABLE TRIGGER ALL;ALTER TABLE "roommates" DISABLE TRIGGER ALL;ALTER TABLE "neighborhoods" DISABLE TRIGGER ALL;ALTER TABLE "neighborhoods_users" DISABLE TRIGGER ALL;ALTER TABLE "places" DISABLE TRIGGER ALL;ALTER TABLE "amenities_places" DISABLE TRIGGER ALL;ALTER TABLE "blocked_places" DISABLE TRIGGER ALL;ALTER TABLE "blocked_users" DISABLE TRIGGER ALL;ALTER TABLE "favorited_places" DISABLE TRIGGER ALL;ALTER TABLE "favorited_users" DISABLE TRIGGER ALL
(0.1ms) select current_database()
(1.0ms) select table_name from information_schema.views where table_schema = 'okcl_cp_build'
(30.5ms) TRUNCATE TABLE "amenities", "cities", "users", "admins", "rails_admin_histories", "roommates", "neighborhoods", "neighborhood
@shawndrost
shawndrost / application.rb
Created January 17, 2012 23:48 — forked from dgb/application.rb
Single file Rails application
# the new and improved one-file rails app -- now including
require "action_controller/railtie"
class Tester < Rails::Application
config.session_store :cookie_store, :key => '_rails_session'
config.secret_token = '095f674153982a9ce59914b561f4522a'
end
class UsersController < ActionController::Base
@shawndrost
shawndrost / gist:1515674
Created December 23, 2011 23:33
best ever cover letter (from campuscred days)
It is friday night, I am getting ready to go to bed because tomorrow will be an early day. In the morning I am off to Hyannis to race F18 catamarans for a week. I guess that puts me in an adventurous mood and since I liked your post on HN here is a quick story about my life.
I studied music in high school, wanted to spend time with people who weren't artists.
So in did economics in college and loved it.
Studied computers and economic at university and missed the music and the arts so I became a DJ, partied and sailed too much and got mediocre grades. I worked just enough and when came the time to do a masters I took the hardest classes in econometrics because I like math and algorithms. But I don't like studying them as much as I like talking about them so it didn't work.
Just as I am failing incredibly interesting and difficult classes my godfather breaks a leg and needs help with his vacation rentals business. Best Christmas holidays ever! I end up moving to the mountain, learning sales and renovations, t
chef-ops (master)$ cat /var/chef/cache/chef-stacktrace.out
Generated at 2011-11-15 14:04:54 -0800
Chef::Exceptions::CookbookNotFound: Cookbook pivotal_workstation not found. If you're loading pivotal_workstation from another cookbook, make sure you configure the dependency in your metadata
/Users/shawndrost/.rvm/gems/ruby-1.9.2-p290@soloist/gems/chef-0.10.4/lib/chef/cookbook/cookbook_collection.rb:38:in `block in initialize'
/Users/shawndrost/.rvm/gems/ruby-1.9.2-p290@soloist/gems/ohai-0.6.4/lib/ohai/mash.rb:77:in `yield'
/Users/shawndrost/.rvm/gems/ruby-1.9.2-p290@soloist/gems/ohai-0.6.4/lib/ohai/mash.rb:77:in `default'
/Users/shawndrost/.rvm/gems/ruby-1.9.2-p290@soloist/gems/ohai-0.6.4/lib/ohai/mash.rb:77:in `default'
/Users/shawndrost/.rvm/gems/ruby-1.9.2-p290@soloist/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:39:in `[]'
/Users/shawndrost/.rvm/gems/ruby-1.9.2-p290@soloist/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:39:in `block in include_recipe'
/Users/shawndrost/.rvm/gems/r
@shawndrost
shawndrost / gist:1277443
Created October 11, 2011 06:46
NoMethodError
undefined method `ord' for nil:NilClass
activesupport (3.0.10) lib/active_support/whiny_nil.rb:48:in `method_missing'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1613:in `block in urlencode'
activesupport (3.0.10) lib/active_support/core_ext/string/output_safety.rb:143:in `gsub'
activesupport (3.0.10) lib/active_support/core_ext/string/output_safety.rb:143:in `gsub'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1613:in `urlencode'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1608:in `block in encode_kvpair'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1608:in `map'
/Users/shawndrost/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:1608:in `encode_kvpair'