Skip to content

Instantly share code, notes, and snippets.

@LadyMozzarella
LadyMozzarella / ultimate-ut-cheat-sheet.md
Created January 16, 2017 19:03 — forked from yoavniran/ultimate-ut-cheat-sheet.md
The Ultimate Unit Testing Cheat-sheet For Mocha, Chai and Sinon

The Ultimate Unit Testing Cheat-sheet

For Mocha, Chai and Sinon

using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies


@LadyMozzarella
LadyMozzarella / 1jquery_example.md
Last active January 2, 2016 18:09 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
@LadyMozzarella
LadyMozzarella / 0.2.1-boggle_class_from_methods.rb
Last active December 29, 2015 17:09 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
P0 U2 W4 - Challenge 440 - boggle class challenge
class BoggleBoard
def initialize(dice_grid)
@dice_grid = dice_grid
end
def create_word(*coords)
coords.map { |coord| @dice_grid[coord.first][coord.last]}.join("")
end
def get_row(row)