This file contains 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
https://images.unsplash.com/photo-1459664018906-085c36f472af?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=0790a8686cb07ac8851066ef544f1082 | |
https://images.unsplash.com/photo-1460400408855-36abd76648b9?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=1c9fc275d85ee05c6e64f09eff62b363 | |
https://images.unsplash.com/photo-1464400694175-33544b41703d?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=680f4a54596d9fa9f20a029e297b1360 | |
https://images.unsplash.com/photo-1462331940025-496dfbfc7564?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=c2447a69043e39f174216c5440f0fb2d | |
https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?ixlib=rb-0.3.5&q=80&fm=jpg&crop=entropy&s=61282cfeed75871385c84c2a44a8e594 |
This file contains 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
# Bot Rails Template | |
# | |
# Use this script to help generate a Rails bot. | |
# | |
# rails new rails_app -m bot_template.rb | |
# | |
run "rm Gemfile" | |
run "touch Gemfile" |
This file contains 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
# Bot Rails Template | |
# | |
# Use this script to help generate a Rails bot. | |
# | |
# rails new rails_app -m bot_template.rb | |
# | |
run "rm Gemfile" | |
run "touch Gemfile" |
This file contains 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
FactoryGirl.define do | |
factory :cocktail do | |
name "Desert Healer" | |
user | |
photo Rack::Test::UploadedFile.new(File.open(Rails.root.join("spec/fixtures/files/deserthealer.jpg"))) | |
ingredients { build_list(:ingredient, 1) } | |
end | |
end |
This file contains 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
extern crate rustc_serialize; | |
#[macro_use] extern crate nickel; | |
use nickel::{Nickel, HttpRouter, JsonBody}; | |
#[derive(RustcDecodable, RustcEncodable)] | |
pub struct Messages { | |
messages: Vec<Message> | |
} | |
#[derive(RustcDecodable, RustcEncodable)] |
This file contains 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
module Ledger::Balance | |
def balance(transaction=nil) | |
sum_of_credits(transaction) - sum_of_debits(transaction) | |
end | |
def amount_available(transaction=nil) | |
self.balance(transaction) | |
end | |
This file contains 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
html { font-size: 50%; } | |
body { font-size: 1rem; } | |
p { font-size: 2rem; } |
This file contains 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
San Fermin - 2014/02/015 - The Garrison | |
The Arcade Fire - 2014/03/13 - Air Canada Centre | |
London Grammar - 2014/04/07 - Phoenix Concert Theatre | |
Daughter - 2014/04/11 - Massey Hall | |
The National - 2014/04/11 - Massey Hall | |
Tom Odell - 2014/04/18 - Coachella | |
Wye Oak - 2014/04/18 - Coachella | |
Austra - 2014/04/18 - Coachella | |
MS MR - 2014/04/18 - Coachella | |
Grouplove - 2014/04/18 - Coachella |
This file contains 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
15 people | |
Ryan Caught - Inheritence in Ruby | |
Stephen Weber - Top down vs bottom up in haskell | |
Jonathan Yavner - First clinical research | |
Pizza | |
Eric Roberts - Wicked wizard gem | |
Steve Hanov - Zwibbler, magic brush | |
Nathan Arnold - Web framework | |
Chris Vollick - Free monads |
This file contains 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
Hannah Georgas - 2013/02/01 - The Mod Club | |
Aidan Knight - 2013/02/01 - The Mod Club | |
Kishi Bashi - 2013/02/11 - The Great Hall | |
Passion Pit - 2013/02/16 - The Guvernment | |
Alt-J - 2013/03/27 - Sound Academy | |
Sigur Ros - 2013/03/30 - Air Canada Centre | |
Frightened Rabbit - 2013/03/31 - Phoenix Concert Theatre | |
Daughter - 2013/05/07 - The Great Hall | |
Aidan Knight - 2013/05/09 - Starlight Social Club | |
The Shins - 2013/05/22 - Sound Academy |
NewerOlder