Skip to content

Instantly share code, notes, and snippets.


Christopher Orr orrc

View GitHub Profile
View gist:998720d4094fcb4599175944afea89bd
WITH table_scans as (
SELECT relid,
tables.idx_scan + tables.seq_scan as all_scans,
( tables.n_tup_ins + tables.n_tup_upd + tables.n_tup_del ) as writes,
pg_relation_size(relid) as table_size
FROM pg_stat_user_tables as tables
all_writes as (
SELECT sum(writes) as total_writes
FROM table_scans
orrc /
Last active Aug 29, 2015
Jenkins plugins without a valid wiki URL
View gist:13134f71bf489183f3cb
### Keybase proof
I hereby claim:
* I am orrc on github.
* I am orrc ( on keybase.
* I have a public key whose fingerprint is E685 820C 2B9C 15B7 12F8 B329 EA22 F28D 8980 6FEB
To claim this, I am signing this object:
View Bitbucket git push webhook
"canon_url": "",
"commits": [
"author": "chris_iosphere",
"branch": "feature/do-something",
"files": [
"file": "",
"type": "modified"
orrc / golang.json
Created Apr 27, 2014
Sample output from the Jenkins backend-crawler/golang.groovy
View golang.json
"releases": [
"variants": [
"url": "",
"osVersion": "osx10.8",
"os": "darwin",
"arch": "amd64"
orrc /
Created Oct 11, 2012
Swiss Grid map with Nutiteq 2.0 SDK
// Compile against nutiteq-3dlib-preview.jar or drop into the HelloMap3D sample
import javax.microedition.khronos.opengles.GL10;
import android.os.Bundle;
import android.widget.Toast;
import com.nutiteq.MapView;
import com.nutiteq.components.Bounds;
orrc /
Created Sep 11, 2011
Jenkins usage data parser
import org.codehaus.jackson.JsonFactory;
import org.codehaus.jackson.JsonParseException;
import org.codehaus.jackson.JsonParser;
import org.codehaus.jackson.JsonToken;