Skip to content

Instantly share code, notes, and snippets.

@onweapps
onweapps / tddnotes.md
Last active August 29, 2015 14:01
Notes on TDD

####Big takeaways

  • Being smart is a liability
  • Professionals design, plan, and prepare first
  • Process is the difference between surgery and cutting people open... also between software engineering and programming.

software process:

architecture conventions and standards version control coordination (agile etc.)

@onweapps
onweapps / 0.2.1-boggle_class_from_methods.rb
Created March 31, 2014 00:59 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
class BoggleBoard
#your code here
end
dice_grid = [["b", "r", "a", "e"],
["i", "o", "d", "t"],
["e", "c", "l", "r"],
@onweapps
onweapps / jquery_example.html
Last active August 29, 2015 13:57 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<!-- Add a link to jQuery CDN here script here -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="/Users/adamgodel/Documents/jquery_example.js"></script>
</head>
@onweapps
onweapps / gist:9180151
Created February 24, 2014 01:21
DBC Fiddler crabs Phase 0 Projects
Psuedocode for the NYC apartment listing scraper:
Please focus on:
1) User stories
2) functionality
3) Specific funtions of the webpage, ruby code, api and database
Api's suggested: (put api name and what data we will be getting)
Psuedocde starts here:
@onweapps
onweapps / 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
class BoggleBoard
attr_accessor
def initialize(board)
@board = board
# boggleboard holds the dice grid as an instance variabl 'board' since you could create a boggleboard
# with a new board
end
def create_word(*coords)
coords.map { |coord| @board[coord.first][coord.last]}.join("")
end