- register <username>
- identify <username>
- account add jabber USERNAME@chat.hipchat.com 'PASSWORD'
duration='00:59:00' | |
noisetype='pinknoise' | |
progress='--no-show-progress' | |
noisetype="pinknoise" | |
band_center="1000" | |
band_width="499" | |
tremolo_speed="0.01" | |
tremolo_depth="43" |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>coroutine-traversal-example</title> | |
</head> | |
<script src="traversal.js"></script> | |
<body> | |
</body> | |
<script> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>svg-example</title> | |
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> | |
<style> | |
.bottom { | |
fill: blue; | |
stroke: blue; |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>svg-event-overlay</title> | |
<style> | |
.first { | |
fill: red; | |
} |
#!/usr/bin/python | |
import contextlib | |
import numpy | |
import time | |
@contextlib.contextmanager | |
def timer(): | |
start = time.time() | |
yield |
import functools | |
def make_immutable(obj): | |
"""Tries to create an immutable version of an object | |
Converts object into a nested structure of named tuples where possible. | |
Primative types (int, str, float, bool) are unchanged but lists and sets are | |
converted into tuples. Objects are converted into named tuples. | |
This is not a terribly sophisticated function and will work best with |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
set -o pipefail | |
CHROOT_PATH="${HOME}/scm/chroot" | |
SRC_PATH="${HOME}/scm/rift" | |
die() { | |
echo | |
echo "ERROR: $*" |
import re | |
class Regex(object): | |
""" | |
This is a convenience class for wrapping a regular expression, naming the | |
groups in the expression, and retrieving a named tuple as the result of a | |
match. For example, | |
>>> regex = Regex('filename: (\S*)', 'filename') | |
>>> regex.match('filename: my-file.txt') |