Skip to content

Instantly share code, notes, and snippets.

View kspe's full-sized avatar

Ignacy Kasperowicz kspe

View GitHub Profile
@kspe
kspe / 0_reuse_code.js
Created June 1, 2014 18:39
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below)
module Player
describe MovieList, "with optional description" do
it "is pending example, so that you can write ones quickly"
it "is already working example that we want to suspend from failing temporarily" do
pending("working on another feature that temporarily breaks this one")