Skip to content

Instantly share code, notes, and snippets.

View hackedy's full-sized avatar

Ryan Doenges hackedy

View GitHub Profile
Require Import Omega.
Lemma lt_2xp1 : forall x i : nat, i < x -> 1 + 2 * i < x + x.
Proof.
intros; omega.
Qed.
Lemma lt_2xp : forall x i : nat, i < x -> 2 * i < x + x.
Proof.
intros; omega.
Qed.
@hackedy
hackedy / DIP.py
Created June 29, 2011 03:15 — forked from Senix/DIP.py
#!/usr/bin/python
#Download all sluggy freelance images
import urllib
mage = int(raw_input('image to download: '))
mage += 1
lett = 'a'
imagetype = '.gif'
filename = "%s%s.gif" % (mage, lett)