This file contains hidden or 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 | |
# -*- coding: utf-8 -*- | |
# pydftk | |
# Copyright 2009 W. Kyle White | |
# Rewrite of stapler; Copyright 2009 Philip Stark | |
# original stapler license is found in the file "LICENSE" | |
# if this file is missing, you can find a copy at | |
# http://stuff.codechaos.ch/stapler_license | |
# Features added: |
This file contains hidden or 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
// ==UserScript== | |
// @name gmail-wavplay | |
// @description Adds an embedded player within Gmail messsages containing audio files in the WAV format (e.g. Vonage voicemails). | |
// @author Evan Grim | |
// @include http://mail.google.com/* | |
// @include https://mail.google.com/* | |
// ==/UserScript== | |
unsafeWindow.addEventListener('load', wavPlay, true); |
This file contains hidden or 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 | |
import httplib | |
import urllib | |
from urlparse import urlparse | |
BOUNCER_URL = 'http://fwenzel.khan.mozilla.org/bouncer-tuxedo/' | |
PRODUCT = 'Firefox-3.6.8' | |
TEST_IP = '' # Use an IP from the region you want to test |
This file contains hidden or 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 | |
# Automatically pull L10n dirs from SVN, compile, then push to git. | |
# Runs on all project dirs named *-autol10n. | |
# Settings | |
GIT=`/usr/bin/which git` | |
FIND=`/usr/bin/which find` | |
DEVDIR=/home/fwenzel/dev |
This file contains hidden or 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
""" | |
from future import django_sha256_support | |
Monkey-patch SHA-256 support into Django's auth system. If Django ticket #5600 | |
ever gets fixed, this can be removed. | |
""" | |
import hashlib | |
import random | |
import os |
This file contains hidden or 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
# Upgrade to OS X Lion, notice your virtualenvs are all hosed. | |
# Install Xcode 4.1 from the app store (or //fs2/IT/Apple/). | |
# Make sure to actually *run* the install, it's an app inside Applications. Throw it away afterwards, if you want the space back. | |
sudo easy_install pip | |
sudo pip install virtualenv virtualenvwrapper ipython | |
# blow the old one(s) away | |
rmvirtualenv playdoh |
This file contains hidden or 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
<tectonicus version="2"> | |
<config | |
mode = "cmd" | |
outputDir = './output' | |
> | |
<!-- general config options go here --> | |
</config> |
This file contains hidden or 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/sh | |
# Thank you, StackExchange: http://gaming.stackexchange.com/questions/44822/64-bit-java-not-recognized-in-minecraft | |
gzip /Applications/Minecraft.app/Contents/MacOS/JavaApplicationStub # save a backup | |
cp /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources/MacOS/JavaApplicationStub /Applications/Minecraft.app/Contents/MacOS/ | |
/usr/libexec/PlistBuddy -c "Add :Java:JVMArchs:0 string 'x86_64'" /Applications/Minecraft.app/Contents/Info.plist |
This file contains hidden or 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
<video id="movie" width="640" height="360" preload="none" controls poster="http://blog.mozilla.com/webdev/files/2011/07/mozilla_wht.png"> | |
<source src="http://videos-cdn.mozilla.net/serv/flux/playdoh/playdoh-overview.webm" type='video/webm; codecs="vp8, vorbis"' /> | |
<source src="http://videos-cdn.mozilla.netserv/flux/playdoh/playdoh-overview.theora.ogv" type='video/ogg; codecs="theora, vorbis"' /> | |
<source src="http://videos-cdn.mozilla.net/serv/flux/playdoh/playdoh-overview.mp4" /> | |
<p>Download video as <a href="http://videos-cdn.mozilla.net/serv/flux/playdoh/playdoh-overview.mp4">MP4</a>, <a href="http://videos-cdn.mozilla.net/serv/flux/playdoh/playdoh-overview.webm">WebM</a>, or <a href="http://videos-cdn.mozilla.net/serv/flux/playdoh/playdoh-overview.theora.ogv">Ogg</a>.</p> | |
</video> |