Skip to content

Instantly share code, notes, and snippets.

@justinphelps
justinphelps / 0_reuse_code.js
Created May 7, 2014 01:24
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
@justinphelps
justinphelps / 0.2.1-boggle_class_from_methods.rb
Last active August 29, 2015 13:55 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1boggle class challenge
SIZE = 10
class BoggleBoard
attr_reader :board
def initialize
@board = Array.new(SIZE){ Array.new(SIZE){ (('a'..'z').to_a[rand(26)]) }}
end
def get_row(row)
@board[row]