Skip to content

Instantly share code, notes, and snippets.

Alexander Leishman leishman

View GitHub Profile
@leishman
leishman / jquery_example.html
Created Dec 26, 2013 — forked from dbc-challenges/jquery_example.html
Intro to jQuery for Phase 0
View jquery_example.html
<!DOCTYPE html>
<html>
<head>
<title>DOM manipulation with jQuery</title>
<!-- Add a link to jQuery CDN here script here -->
<script type="text/javascript" src="jquery_example.js"></script>
</head>
<body>
@leishman
leishman / 0.2.1-boggle_class_from_methods.rb
Last active Dec 27, 2015 — forked from dbc-challenges/0.2.1-boggle_class_from_methods.rb
phase 0 unit 2 week 1 boggle class challenge
View 0.2.1-boggle_class_from_methods.rb
## NOTE: THERE IS AN ERROR AND THE SAME GIST IS BEING USED FOR BOGGLE AND PEZ. NOT SURE WHY. HERE IS MY PEZ CLASS:
class Pez
def initialize(pez)
@pez = pez
end
def get_pez
@pez.pop
You can’t perform that action at this time.