This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Game Boy Sound Operation | |
------------------------ | |
Shay Green (blargg) | |
[email protected] | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[<Struct>] | |
type OptionalBuilder = | |
member __.Bind(opt, binder) = | |
match opt with | |
| Some value -> binder value | |
| None -> None | |
member __.Return(value) = | |
Some value | |
let optional = OptionalBuilder() |