Skip to content

Instantly share code, notes, and snippets.

View leahbannon's full-sized avatar

Leah Bannon leahbannon

View GitHub Profile

Keybase proof

I hereby claim:

  • I am leahbannon on github.
  • I am leahbannon (https://keybase.io/leahbannon) on keybase.
  • I have a public key ASBVVKyzAhpbF3uqtRtVWAoUgqZv1DNx9zownbt0N10uZQo

To claim this, I am signing this object:

@leahbannon
leahbannon / gist:8223325
Created January 2, 2014 18:00
Special table of contents CSS... internal style sheet?
<style>
a {
color: #333;
}
a:hover {
color: #3399cc;
}
</style>
def makeSand(haspb, hasjelly, slicesofbread):
breadneeded = 2.0
if haspb == True: #have peanut butter
numofsand = slicesofbread/breadneeded #calculate number of sandwich I can make from bread
sandtype = "peanut butter" #set default sandwich type
if hasjelly == True: #have jelly too
sandtype = "peanut butter and jelly" #set sandwich type to include jelly
#start counting number of sandwiches I can make
@leahbannon
leahbannon / My first Gist
Created September 25, 2013 15:20
Testing gist...
<p>This is a paragrah. <strong>Now it's bold.</strong></p>