Skip to content

Instantly share code, notes, and snippets.

Oscar Mederos omederos

Block or report user

Report or block omederos

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View leak.rb
i = 0
def parse_param(s)
unless block_given?
return enum_for(__method__, s)
end
yield "a"
nil
end
@CamDavidsonPilon
CamDavidsonPilon / snapple.py
Last active Dec 16, 2015
using data from https://gist.github.com/shanselman/5422230 as `filename`, will create a random comment.
View snapple.py
import re
import random
CURLY_RE = re.compile( "\{(.*?)\}" )
def spam( filename ):
file = open(filename, "r")
You can’t perform that action at this time.