Skip to content

Instantly share code, notes, and snippets.

James Uther jbu

Block or report user

Report or block jbu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am jbu on github.
  • I am jbu (https://keybase.io/jbu) on keybase.
  • I have a public key ASCw6LLYyWP7fU93Uy7jTXCG9pBYYeoJuF3wuLsyzUVdRQo

To claim this, I am signing this object:

View 940GZZLUWLO.json
[{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entities","id":"-1437944078","operationType":1,"vehicleId":"204","naptanId":"940GZZLUWLO","stationName":"Waterloo Underground Station","lineId":"bakerloo","lineName":"Bakerloo","platformName":"Southbound - Platform 4","direction":"inbound","bearing":"","destinationNaptanId":"940GZZLUEAC","destinationName":"Elephant & Castle Underground Station","timestamp":"2017-05-18T15:27:06Z","timeToStation":1410,"currentLocation":"North of Queen's Park","towards":"Elephant and Castle","expectedArrival":"2017-05-18T15:50:36Z","timeToLive":"2017-05-18T15:50:36Z","modeName":"tube","timing":{"$type":"Tfl.Api.Presentation.Entities.PredictionTiming, Tfl.Api.Presentation.Entities","countdownServerAdjustment":"00:00:00","source":"0001-01-01T00:00:00","insert":"0001-01-01T00:00:00","read":"2017-05-18T15:26:44.691Z","sent":"2017-05-18T15:27:06Z","received":"0001-01-01T00:00:00"}},{"$type":"Tfl.Api.Presentation.Entities.Prediction, Tfl.Api.Presentation.Entitie
View 5livesportsextra.xml
<?xml version="1.0"?>
<schedule><service type="radio" key="5livesportsextra"><title>BBC Radio 5 live sports extra</title></service><day date="2011-05-27" has_next="1" has_previous="1"><broadcasts><broadcast is_repeat="0" is_blanked="0"><pid>p00h1rt3</pid><start>2011-05-27T10:45:00+01:00</start><end>2011-05-27T18:30:00+01:00</end><duration>27900</duration><programme type="episode"><pid>b011891y</pid><position/><title>27/05/2011</title><short_synopsis>Commentary on the second day of the first Test between England and Sri Lanka.</short_synopsis><media_type>audio</media_type><duration>30600</duration><display_titles><title>Test Match Special</title><subtitle>27/05/2011</subtitle></display_titles><first_broadcast_date>2011-05-27T10:45:00+01:00</first_broadcast_date><ownership><service type="radio" id="bbc_radio_five_live_sports_extra" key="5livesportsextra"><title>BBC Radio 5 live sports extra</title></service></ownership><programme type="brand"><pid>b00fr0n5</pid><title>Test Match Special</title><position/><expec
@jbu
jbu / # qgis - 2016-10-12_16-26-37.txt
Created Oct 12, 2016
qgis (homebrew/science/qgis) on macOS 10.12 - Homebrew build logs
View # qgis - 2016-10-12_16-26-37.txt
Homebrew build logs for homebrew/science/qgis on macOS 10.12
Build date: 2016-10-12 16:26:37
View track.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 26 columns, instead of 24. in line 6.
_id,latitude,longitude,rssi,logdate,mcc,mnc,lac,cellid,site_lat,site_lng,tech,ber,callstate,roaming,datastate,dataactivity,make,model,mobilerxbytes,mobiletxbytes,totalrxbytes,totaltxbytes,snr,notes,cellname
1,51495581,-115382,-65,3 Jul 2015 17:22:55,234,20,99,16756,0,0,HSPA+,0,IDLE,No,CONNECTED,INOUT,LGE,Nexus 4,54273,13992,54273,13992,-1,,
2,51495479,-115432,-81,3 Jul 2015 17:22:59,234,20,99,16756,0,0,HSPA+,0,IDLE,No,CONNECTED,INOUT,LGE,Nexus 4,18893,39644,18893,39644,-1,,
3,51495195,-115571,-81,3 Jul 2015 17:23:02,234,20,99,16756,0,0,HSPA+,0,IDLE,No,CONNECTED,INOUT,LGE,Nexus 4,28485,7589,28601,7705,-1,,
4,51494738,-116248,-81,3 Jul 2015 17:23:05,234,20,99,16756,0,0,HSPA+,0,IDLE,No,CONNECTED,INOUT,LGE,Nexus 4,27844,21332,27844,21332,-1,,
5,51494614,-116198,-81,3 Jul 2015 17:23:08,234,20,99,16756,0,0,HSPA+,0,IDLE,No,CONNECTED,INOUT,LGE,Nexus 4,88610,14482,88610,14482,-1,,
6,51487139,-122466,-83,3 Jul 2015 17:24:23,234,20,31,64706,0,0,HSPA+,0,IDLE,No,CONNECTED,INOUT,LGE,Nexus 4,1213017,316727,1218711,322421,-1
@jbu
jbu / Dockerfile.spark
Last active Aug 29, 2015
spark docker
View Dockerfile.spark
#FROM errordeveloper/oracle-jdk
FROM debian:jessie
RUN apt-get update && apt-get -y install curl
ENV JAVA_HOME /usr/jdk1.8.0_31
RUN curl \
# --silent \
--location \
View Dockerfile
FROM debian:wheezy
RUN apt-get update && \
apt-get install -y \
gfortran \
ksh \
libnetcdf-dev \
make \
patch \
python-dev \
@jbu
jbu / keybase.md
Created Sep 18, 2014
Keybase proof
View keybase.md

Keybase proof

I hereby claim:

  • I am jbu on github.
  • I am jbu (https://keybase.io/jbu) on keybase.
  • I have a public key whose fingerprint is F182 C90B 2B9C 0152 4A8B 13BB 877C 0573 3843 B1C1

To claim this, I am signing this object:

View gist:0703a0b20ffbf9da3e01
<html>
<head>
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
padding: 0px
}
</style>
<script src='http://maps.googleapis.com/maps/api/js?libraries=visualization&sensor=true_or_false'></script>
@jbu
jbu / _.md
Created Aug 20, 2014
submarine
View _.md
You can’t perform that action at this time.