View option.fs
[<Struct>] | |
type OptionalBuilder = | |
member __.Bind(opt, binder) = | |
match opt with | |
| Some value -> binder value | |
| None -> None | |
member __.Return(value) = | |
Some value | |
let optional = OptionalBuilder() |
View subway.py
import requests | |
key = '' | |
r = requests.get('http://datamine.mta.info/mta_esi.php?key=%s&feed_id=1'%(key)) | |
# http://datamine.mta.info/sites/all/files/pdfs/nyct-subway.proto.txt | |
# https://developers.google.com/transit/gtfs-realtime/gtfs-realtime-proto | |
# https://github.com/google/protobuf | |
import gtfs_realtime_pb2, nyct_subway_pb2 |
View Game Boy Sound Operation
Game Boy Sound Operation | |
------------------------ | |
Shay Green (blargg) | |
gblargg@gmail.com | |
http://www.slack.net/~ant/ | |
** This is an incomplete draft | |
This documents the behavior of Game Boy sound; details which aren't | |
relevant to the observable behavior have been omitted unless they |