- appdirs store user data in the right spot on different platforms
- APScheduler In-process task scheduler with Cron-like capabilities
- blessings A thin, practical wrapper around terminal coloring, styling, and positioning
- boto Python interface to Amazon Web Services.
- cmd2 create better shells
- docopt Command-line interface description language
- elementflow xml creation
- fabric Pythonic remote execution and deployment.
- google-charwrapper Python wrapper for the Google Chart API.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# This script installs and configures couchdb on a fresh Amazon Linux AMI instance. | |
# | |
# Must be run with root privileges | |
# Tested with Amazon Linux AMI release 2011.02.1.1 (ami-8c1fece5) | |
# | |
export BUILD_DIR="$PWD" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Add the following lines to theme's html code right before </head> --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
<!-- | |
Usage: just add <div class="gist">[gist URL]</div> | |
Example: <div class="gist">https://gist.github.com/1395926</div> | |
--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# liuw | |
# Nasty hack to raise exception for other threads | |
import ctypes # Calm down, this has become standard library since 2.5 | |
import threading | |
import time | |
NULL = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python -i | |
import argparse | |
import collections | |
import Queue | |
import logging | |
import requests | |
import threading | |
import urlparse | |
from bs4 import BeautifulSoup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client = paramiko.SSHClient() | |
client._policy = paramiko.WarningPolicy() | |
client.set_missing_host_key_policy(paramiko.AutoAddPolicy()) | |
ssh_config = paramiko.SSHConfig() | |
user_config_file = os.path.expanduser("~/.ssh/config") | |
if os.path.exists(user_config_file): | |
with open(user_config_file) as f: | |
ssh_config.parse(f) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import json | |
import os | |
from flask import Flask, request, g, session, redirect, url_for, Response | |
from flask import render_template_string, render_template | |
import requests | |
from sqlalchemy import create_engine, Column, Integer, String, Text | |
from sqlalchemy.orm import scoped_session, sessionmaker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from collections import defaultdict | |
def raw_roll(num): | |
dice = [random.randint(1, 10) for _ in range(num)] | |
# Extra dice for 10s | |
dice += [random.randint(1, 10) for _ in range(dice.count(10))] | |
# Drop the lowest |
UPDATE: This gist is now deprecated, please visit The Gender Dysphoria Bible for the latest version of this document.
This is a compilation of report medical transition changes, collected from testimonials of trans women from various discussion forums and chat rooms, backed up by my own experiences.
Note that this is a list of possible changes. There is no guarentee that a person on HRT will experience all of these. As always, your milage may vary.
- Reduction in general body odor and change in the smell of ones sweat. Many report gaining a sweet smell.
- Skin softens and becomes thinner.
OlderNewer