Skip to content

Instantly share code, notes, and snippets.

View jstacoder's full-sized avatar
:octocat:
working

Kyle J. Roux jstacoder

:octocat:
working
View GitHub Profile
@jstacoder
jstacoder / get_pdfs.py
Last active January 13, 2016 05:28
download files from it-ebooks.info, from the command line
# requires twill==0.9
import sys
from twill import get_browser
from pprint import pprint
class PdfFinder:
browser = None
_b = None
_q = None
links = {}
@jstacoder
jstacoder / lambda.py
Last active August 29, 2015 14:10 — forked from e000/lambda.py
########################################################
# How to NOT use Lambdas. An inneficient and yet educa-#
# tonal guide to the proper misuse of the lambda const-#
# ruct in Python 2.x. DO NOT USE ANY OF THIS EVER #
# by: e000 (13/6/11) #
########################################################
## Part 1. Basic LAMBDA Introduction ##
# Well, it's worth diving straight into what lambdas are.
# Lambdas are pretty much annymous "one line" functions
@e000
e000 / lambda.py
Created June 13, 2011 23:24
How to NOT use Lambdas
########################################################
# How to NOT use Lambdas. An inneficient and yet educa-#
# tonal guide to the proper misuse of the lambda const-#
# ruct in Python 2.x. DO NOT USE ANY OF THIS EVER #
# by: e000 (13/6/11) #
########################################################
## Part 1. Basic LAMBDA Introduction ##
# Well, it's worth diving straight into what lambdas are.
# Lambdas are pretty much annymous "one line" functions