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
# TODO: replace :token, :user, and :repo | |
curl -H "Authorization: token :token" \ | |
-H 'Accept: application/vnd.github.everest-preview+json' \ | |
"https://api.github.com/repos/:user/:repo/dispatches" \ | |
-d '{"event_type": "awesomeness", "client_payload": {"foo": "bar"}}' |
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/sh | |
# start Firefox with disposable profiles on osx | |
# usage: start-ff.sh profilename Firefox.app | |
# start-ff.sh profilename Aurora.app | |
# start-ff.sh profilename Nightly.app | |
PROFILE_NAME=abcabdab-sync1 | |
if [ ! -z "$1" ]; then | |
PROFILE_NAME=$1 |
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
use strict; | |
$| = 1; | |
# Stupid hack to track response times with b2g requests. | |
# You need to set 'export NSPR_LOG_MODULES=timestamp,cookie:5,nsSocketTransport:5,nsHttp:5' | |
# in /system/bin/b2g.sh. See https://gist.github.com/4490638 (but probably will | |
# want to remove the busybox section, installed from /home/jrgm ;-) ). | |
# | |
# usage: `adb logcat | tee /tmp/raw.txt | perl thisfile.pl` |