Skip to content

Instantly share code, notes, and snippets.

@gcla
gcla / keybase.md
Created September 23, 2014 15:17
keybase github proof

Keybase proof

I hereby claim:

  • I am gcla on github.
  • I am gcla (https://keybase.io/gcla) on keybase.
  • I have a public key whose fingerprint is 8C47 066F D0FD 539F F86F 465E 74B6 49A2 182F 9E65

To claim this, I am signing this object:

#!/usr/bin/env python
from boto import kinesis
import time
kinesis = kinesis.connect_to_region("us-east-1")
shard_id = 'shardId-000000000000'
shard_it = kinesis.get_shard_iterator("zigron", shard_id, "LATEST")["ShardIterator"]
while 1==1:
out = kinesis.get_records(shard_it, limit=2)
@gcla
gcla / tcell-database.patch
Created December 19, 2017 21:54
terminfo database changes after mkinfo patch
diff --git a/terminfo/term_Eterm.go b/terminfo/term_Eterm.go
index aa4907e..48f26c4 100644
--- a/terminfo/term_Eterm.go
+++ b/terminfo/term_Eterm.go
@@ -16,7 +16,7 @@ func init() {
ExitCA: "\x1b[2J\x1b[?47l\x1b8",
ShowCursor: "\x1b[?25h",
HideCursor: "\x1b[?25l",
- AttrOff: "\x1b[m\x0017",
+ AttrOff: "\x1b[m\x0f",
@gcla
gcla / # go@1.11 - 2019-05-22_21-33-15.txt
Created May 23, 2019 01:36
go@1.11 on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for go@1.11 on Ubuntu 18.04.2 LTS
Build date: 2019-05-22 21:33:15
@gcla
gcla / # go@1.11 - 2019-05-22_22-16-20.txt
Created May 23, 2019 02:17
go@1.11 on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for go@1.11 on Ubuntu 18.04.2 LTS
Build date: 2019-05-22 22:16:20
@gcla
gcla / # go@1.11 - 2019-05-23_18-57-44.txt
Created May 23, 2019 23:00
go@1.11 on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for go@1.11 on Ubuntu 18.04.2 LTS
Build date: 2019-05-23 18:57:44
@gcla
gcla / # go@1.11 - 2019-05-23_19-06-01.txt
Created May 23, 2019 23:07
go@1.11 on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for go@1.11 on Ubuntu 18.04.2 LTS
Build date: 2019-05-23 19:06:01
@gcla
gcla / # go@1.11 - 2019-05-23_19-08-42.txt
Created May 23, 2019 23:11
go@1.11 on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for go@1.11 on Ubuntu 18.04.2 LTS
Build date: 2019-05-23 19:08:42
@gcla
gcla / # termshark - 2019-05-23_20-11-36.txt
Created May 24, 2019 20:04
termshark on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for termshark on Ubuntu 18.04.2 LTS
Build date: 2019-05-23 20:11:36
@gcla
gcla / # wireshark - 2019-05-24_17-45-45.txt
Created May 24, 2019 22:21
wireshark on Ubuntu 18.04.2 LTS - Homebrew build logs
Homebrew build logs for wireshark on Ubuntu 18.04.2 LTS
Build date: 2019-05-24 17:45:45