In this guide we will cover two main cases:
- Ember specific library
- vendor library
The Ember library will assume that Ember has already ben loaded (higher in the loading order) and thus will assume it has access to the Ember API.
#!/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 |
#!/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 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.
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) |
<!-- 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> | |
--> |
Now you can quickly visualize a branch's code changes with e.g.
git cr
or
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 |
# -*- 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 |