Skip to content

Instantly share code, notes, and snippets.

View Nassty's full-sized avatar

M G Berrotaran Nassty

View GitHub Profile

Keybase proof

I hereby claim:

  • I am nassty on github.
  • I am nassty (https://keybase.io/nassty) on keybase.
  • I have a public key ASCosnLO-Acf8YiCoYbzYCbtt56EiJZ0j5Td_jcgR1GE2Qo

To claim this, I am signing this object:

@Nassty
Nassty / gist:921114
Created April 15, 2011 03:52
Cuevana bookmarklet
javascript:$(".epi_sig").append($("<a>GOGOGO</a>").attr("href", "http://cuevana.tv" + /'(.*)'/.exec(String($(".epi_sig").attr("onclick")))[0].replace(/'/g, ""))).attr("onclick", ""); void(0)
import re
import sys
import string
class Parser:
def __init__(self, text):
self.elements = text.split("\n")
self.endings = {"Given":"Assumption", "When":"Action",\
"Then":"Assertion"}