Skip to content

Instantly share code, notes, and snippets.

View thanley11's full-sized avatar

thanley11

  • Sync1 Systems
  • West Chester, PA
View GitHub Profile
@kracekumar
kracekumar / Writing better python code.md
Last active April 11, 2025 10:44
Talk I gave at June bangpypers meetup.

Writing better python code


Swapping variables

Bad code

@airtonix
airtonix / generate-xkcd-password
Created October 29, 2013 04:29
~/bin/generate-xkcd-password
#!/usr/bin/python -O
import random
import math
import argparse
import os
import sys
import heapq
# The dictionary bundled with the script. It must be in the same
#!/usr/bin/env bash
# Written by William Ting for the following blog post:
# http://williamting.com/posts/2012/04/18/set-up-python-and-django-on-dreamhost/
rcfile="${HOME}/.bashrc"
version="2.7.5"
setuptools_version="2.7"
tmp_dir="${HOME}/tmp-${RANDOM}"
if [[ ${#} == 0 ]]; then
@markalanevans
markalanevans / hiring_developers
Last active March 18, 2017 22:04
Job Hiring Boards
Coding:
http://jobs.readwriteweb.com/
http://noodleyard.com/
http://angel.co/jobs
http://startuply.com/
http://jobs.37signals.com/
http://www.dice.com/
http://jobs.github.com/
http://www.craigslist.org
http://news.ycombinator.com/jobs
@wting
wting / dreamhost_python_setup.sh
Created May 31, 2012 00:16
Dreamhost Python Setup script
#!/usr/bin/env bash
# Written by William Ting for the following blog post:
# http://williamting.com/posts/2012/04/18/set-up-python-and-django-on-dreamhost/
rcfile="${HOME}/.bashrc"
version="2.7.3"
setuptools_version="2.7"
tmp_dir="${HOME}/tmp-${RANDOM}"
if [[ ${#} == 0 ]]; then