Skip to content

Instantly share code, notes, and snippets.

View RobinStamer's full-sized avatar

Robin Stamer RobinStamer

  • Xiennith Software
  • Edmonton, Alberta
View GitHub Profile
So my workflow would be:
1 Make a change
1b Make a branch?
1c Commit change to branch
1d Push branch to origin (do I need to do something beyond `git push`?)
2 Pull down the package in a dev VM
3 If bad GOTO 1
4 If good merge into master `git checkout master; `
4b Fix the rel version
4c Create a new commit
#!/usr/bin/env xs
#mtp-files > files.txt
files = ``\n {egrep 'File(name|\sID)' files.txt | cut -d : -f 2 | cut -d ' ' -f 2- | paste - - | grep 'jpg$' }
file = $files(1)
for file $files {
arr = <={%split \t $file}
> f1 = function(a, b) { return !a && b || a && !b }
> f2 = function(a, b) { return a ^ b }
> a1 = [0,0,1,1]; a2 = [0,1,0,1]; for (var i = 0; i < 4; ++i) { console.log(!!f1(a1[i], a2[i]) + '\t' + !!f2(a1[i], a2[i])) }
false false
true true
true true
false false
#include <stdio.h>
#include <stdlib.h>
typedef struct stack
{
char *arr;//array of chars
int size;
int top;
}stack;
var urlp = require("url");
var path = require("path");
var options = require("./options").options;
var ev = require('./ev') // PRIVATE MODULE
,harden = require('harden') // PRIVATE MODULE
,fs = require('fs')
,exp = require('express')
,proxy = require('http-proxy').createProxyServer()
,vhost = require('vhost')
,cookieParser = require('cookie-parser')
#!/bin/sh
CP=/home/rstamer/forge/mcp/jars/libraries/org/ow2/asm/asm-debug-all/4.1/asm-debug-all-4.1-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/sf/jopt-simple/jopt-simple/4.5/jopt-simple-4.5-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/sourceforge/argo/argo/2.25/argo-2.25-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47-sources.jar:/home/rstamer/forge/mcp/jars/libraries/com/google/guava/guava/14.0/guava-14.0-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1-sources.jar:/home/rstamer/forge/mcp/jars/libraries/commons-io/commons-io/2.4/commons-io-2.4-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/java/jutils/jutils/1.0.0/jutils-1.0.0-sources.jar:/home/rstamer/forge/mcp/jars/libraries/com/google/code/gson/gson/2.2.2/gson-2.2.2-sources.jar:/home/rstamer/forge/mcp/jars/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5-sources.jar:/home/rstamer/forge/mcp/jars/libraries/org
Something like "wizard can read X texts simultaniously while they float around her; she may 'reject' one of the texts placing it in an
orderly place and immediately pick up a new text within Y range. So long as the power endures she fully understands a single text
within an hour of study, and is aware of any texts and their titles within range."
Divination
Level: Sor/Wiz 2
Components: V, S
Casting Time: 1 standard action
Range: Medium (100ft + 10ft/level)
Duration: 2 hours/level
@RobinStamer
RobinStamer / gist:a39281e2277cfafe3c91
Created July 14, 2014 06:23
Post-Express server (WIP)
var php = require("./node-php");
var urlp = require("url");
var path = require("path");
var options = require("./options").options;
var ev = require('./ev')
,harden = require('harden')
,fs = require('fs')
,exp = require('express')
,proxy = require('http-proxy').createProxyServer()
,app = exp()
var http = require("http");
var php = require("./node-php");
var urlp = require("url");
var path = require("path");
var options = require("./options").options;
var lightnode = require('lightnode')
var ev = require('./ev')
,harden = require('harden')
,fs = require('fs')
@RobinStamer
RobinStamer / gist:5392665
Last active December 16, 2015 06:39
DC wrap up log
* [R] has changed topic for #Exalted to: "General Exalted discussion and Out-of-Character Chat for #damagedcircle and #exaltedout // Desmond Hade // Damaged Circle pending cancelation (various reasons) Timeslot might be reused."
<-- FearMeForIAmPink (FearMeForI@cloak-16D661C7.zone3.bethere.co.uk) has quit (Ping timeout)
--> Theion (Iago@cloak-6EE21EDA.dhcp.plbg.ny.charter.com) has joined #Exalted
<Snow_> :<
--> Lirio (Maria@Eugenia.de.Mondragon) has joined #Exalted
<[R]> I guess I can try pulling SD now, 3 peeps is enough, low but enough
<[R]> As for the topic, my enjoyment is sinking with the game quite a bit, the story has becone a fairly big tangled mess, and I think some of the players are feeling the same way.
<[R]> If it does end, I could either keep what I had planned for secret or I could just ease your curiosity. Up to the players.
<Snow_> Most games have lifespans, I guess.
<[R]> If we do open something new, it'd probably be mid-level xp starting.