Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am wanderr on github.
  • I am wanderr (https://keybase.io/wanderr) on keybase.
  • I have a public key whose fingerprint is 2BC1 754F EDEC A82E E255 7D85 CF79 A9DA BAA2 402B

To claim this, I am signing this object:

javascript:$('.discussion-item-toggle-closed').click()
/*
* Represent the image size of 500x500 as an int (100,000 as bool).
*/
const KEY_IMAGE_SIZE_500 = 32;
@wanderr
wanderr / robot.js
Created December 6, 2012 07:26 — forked from dziorki/robot.js
[CAELUM TEAM]Megatron
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.clone();
@wanderr
wanderr / robot.js
Created December 4, 2012 04:40
SPAM
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(5);
@wanderr
wanderr / robot.js
Created December 4, 2012 04:01 — forked from tarsisazevedo/robot.js
Woot Sucks
var Robot = function(robot){
robot.turnLeft(robot.angle % 90);
//robot.turnGunRight(90);
robot.clone();
this.direction = 1;
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
robot.ahead(1);
if (robot.parentId) {
@wanderr
wanderr / robot.js
Created December 4, 2012 03:55
SPAM
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
if (robot.gunCooldownTime == 0) {
@wanderr
wanderr / .gitconfig
Created October 16, 2012 15:11
insteadof
[url "git@github.com:"]
insteadOf = "https://github.com/"
@wanderr
wanderr / .gitconfig
Last active October 11, 2015 05:28
~/.gitconfig alias for reviewing/merging
[alias]
review = !sh -c 'REF=`git rev-parse --symbolic-full-name --abbrev-ref HEAD` && git fetch $1 $2:mergeReview -f && git checkout mergeReview && git rebase $REF && git checkout $REF && git diff HEAD..mergeReview' -
approve = merge mergeReview
pr = !git review origin refs/pull/$1/head
@wanderr
wanderr / gist:1371003
Created November 16, 2011 19:06
coffee quality scale
Volta coffee
.
.
A nice home brewed french press made from fresh, evenly ground coffee
.
.
.
Starbucks coffee
.
Keurig coffee