I hereby claim:
- I am cbogart on github.
- I am cbogart (https://keybase.io/cbogart) on keybase.
- I have a public key whose fingerprint is B3EE 397D 4CEF 5C49 B6F9 7ADB E0F9 0FC7 011F D84B
To claim this, I am signing this object:
# This is a test | |
Of putting gists in github | |
I hope you enjoyed it as much as I did. |
var zlib = require("zlib"); | |
var jsonstream = require("json-stream"); | |
var fs = require("fs"); | |
var combine = require("combine-streams"); | |
var Readable = require("stream").Readable; | |
var scangz = function (fname) { | |
var rawread = fs.createReadStream(fname); | |
var unzipped = rawread.pipe(zlib.createUnzip()); | |
return unzipped; |
var scangz = function (fname) { | |
var rawread = fs.createReadStream(fname); | |
var unzipped = rawread.pipe(zlib.createUnzip()); | |
return unzipped; | |
} | |
var FileScanner = function() { | |
var self = this; | |
events.EventEmitter.call(self); |
I hereby claim:
To claim this, I am signing this object:
import datetime | |
import pytz | |
# Note pytz is not standard python library, but there | |
# are no standard timezone classes before Python 3.2!! | |
# This is Python 2.7 code. | |
source_timezone = "America/New_York" | |
destination_timezone = "America/New_York" | |
# There are 2 kinds of dates: |