Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
import m from 'mithril' | |
// This dependency resides here: | |
// https://gist.github.com/barneycarroll/4144b93b6221f419bf7dcb5e847f8a22 | |
import events from 'mithril-events' | |
// A hash of registered wormholes with values indicating status | |
const cache = Object.create( null ) | |
// At the beginning of every draw, set the value of each to false, | |
// to indicate it hasn't registered this draw |
#!/bin/sh | |
mkdir rcs/$(date '+%m%d') | |
curl https://code.radiant.dj/rs.min.js -o rcs/$(date '+%m%d')/rs.min.js | |
node unobfuscate rcs/$(date '+%m%d')/rs.min.js |
#!/bin/sh | |
mkdir rcs/$(date '+%m%d') | |
curl https://code.radiant.dj/rs.min.js -o rcs/$(date '+%m%d')/rs.min.js | |
node unobfuscate rcs/$(date '+%m%d')/rs.min.js |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
[alias] | |
fixup = !sh -c 'REV=$(git rev-parse $1) && git commit --fixup $@ && git rebase -i --autosquash $REV^' - | |
squash = !sh -c 'REV=$(git rev-parse $1) && git commit --squash $@ && git rebase -i --autosquash $REV^' - |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: