Skip to content

Instantly share code, notes, and snippets.

M Hickford hickford

Block or report user

Report or block hickford

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
@hickford
hickford / example.cs
Created Mar 8, 2012
Python's timedelta for .NET and C#
View example.cs
TimeDelta(hours:1,minutes:30)
@hickford
hickford / gist:792036
Created Jan 23, 2011
test if brackets in string are well-nested
View gist:792036
def f(word):
open = 0
for x in word:
if x == "(":
open += 1
elif x == ")":
open += -1
if open < 0:
return False
return open==0
You can’t perform that action at this time.