Skip to content

Instantly share code, notes, and snippets.

@bnmrrs
bnmrrs / 2012-concert-list.txt
Last active December 11, 2015 03:58
2012 Concert list
Hey Ocean!
Alexi Murdoch
Fun.
Sigur Rós
The Alabama Shakes
The Zolas
Fitz And The Tantrums
Dragonette
Born Ruffians
Great Lake Swimmers
@bnmrrs
bnmrrs / 2013-concert-list.txt
Last active December 18, 2015 08:09
2013 Concert list
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
@bnmrrs
bnmrrs / 20130930
Created October 1, 2013 02:37
DevHouse Waterloo
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
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
html { font-size: 50%; }
body { font-size: 1rem; }
p { font-size: 2rem; }
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
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)]
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
# 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"
# 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"