Skip to content

Instantly share code, notes, and snippets.

View seanedwards's full-sized avatar
🙃
Measure twice, cut once.

Sean Edwards seanedwards

🙃
Measure twice, cut once.
View GitHub Profile
#!/usr/bin/env ruby
require 'trello'
require 'date'
Trello.configure do |config|
config.developer_public_key = "*****"
config.member_token = "*****"
end
#!/usr/bin/env scala
import scala.xml._
val pattern = args(0);
val data =
if (args.size == 2)
XML.load(args(1));
else
XML.load(System.in);
/********************************************************************
* *
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
* *
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
* by the Xiph.Org Foundation http://www.xiph.org/ *
* *
@seanedwards
seanedwards / gist:4361216
Created December 22, 2012 21:17
A somewhat contrived Ides program demonstrating functions as first-class variables.
def main(val argc: int32, val argv: int8**) : int32 {
return call(getsum, 5, 10);
}
def getsum() : (function(int32, int32):int32) {
return sum;
}
def call(val func : function() : function(int32, int32) : int32, val x: int32, val y: int32) : int32 {
return func()(x, y);
1) I assign an issue to myself.
2) I make changes, commit to the "staging" branch, and push as many times as I want. Each commit must have an issue tagged. Note: CI should pull, build and test every time any code is pushed.
3) The issue is marked reviewable, which causes the full issue diff (all commits tagged with that issue) to be posted to review board.
4) Someone else assigns the reviewable ticket to themselves, logs into reviewboard, and makes comments.
5) If the code fails review, the ticket is marked open again. Go to step 1.