Skip to content

Instantly share code, notes, and snippets.

Kyle Terry kyleterry

Block or report user

Report or block kyleterry

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 vimrc
set nocompatible
filetype off
filetype plugin indent on
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'morhetz/gruvbox'
Plugin 'fatih/vim-go'
Plugin 'tpope/vim-fugitive'
View gist:33bde737f29307c7f253d1196e21bf9f
tenyks_1 | 2018-11-21T19:33:42Z [info] [irc] joining channels connection=freenode
tenyks_1 | 2018-11-22T09:34:23Z [error] [irc] error reading data error=read tcp> use of closed network connection
tenyks_1 | 2018-11-22T09:34:25Z [info] [irc] bootstrapping connection connection=freenode
tenyks_1 | 2018-11-22T09:34:25Z [info] [irc] nick is in use connection=freenode nick=tenyks
tenyks_1 | 2018-11-22T09:34:26Z [info] [irc] sending user commands connection=freenode
tenyks_1 | 2018-11-22T09:34:26Z [info] [irc] joining channels connect
View testing.go
func NewTempSQLMetadataStore(t *testing.T, prefix string) (*sql.SQL, func()) {
// utility func to get the postgres database URL from an env var
dbURL, err := dbutil.DBURLFromEnv("TEST_METADATA_DB_URL")
require.NoError(t, err)
// create a new instance of our stdlib sql wrapper
s, err := sql.New(sql.Options{DatabaseURL: dbURL, PerPage: uint64(10)})
require.NoError(t, err)
// create a new database name derived from a prefix, test name and a small ID for uniqueness
View gist:542cfd11e371e23d81a94725dc2c58c8
tenyks_1 |
tenyks_1 | _ _
tenyks_1 | | | | |
tenyks_1 | | |_ ___ _ __ _ _| | _____
tenyks_1 | | __/ _ \ '_ \| | | | |/ / __|
tenyks_1 | | || __/ | | | |_| | <\__ \ The IRC bot for hackers.
tenyks_1 | \__\___|_| |_|\__, |_|\_\___/
tenyks_1 | __/ |
tenyks_1 | |___/
tenyks_1 |

Keybase proof

I hereby claim:

  • I am kyleterry on github.
  • I am xvx ( on keybase.
  • I have a public key ASD8-Cg9R7-1ate3IBbPQifzejXSvhIyxfhFvCgZil6hvwo

To claim this, I am signing this object:

View gist:5abf449c69f7a56e2f0ae0e140e8d1f4
[2017-12-07 20:52:45:0194] [debug] Connection Lost. Reconnecting …
[2017-12-07 20:52:46:0566] [debug] CardanoClientApi::syncProgress called
[2017-12-07 20:52:46:0669] [error] CardanoClientApi::syncProgress error: {
"stack": "Error: connect ECONNREFUSED\n at Object.exports._errnoException (util.js:1026:11)\n at exports._exceptionWithHostPort (util.js:1049:20)\n at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1081:14)",
"message": "connect ECONNREFUSED",
"errno": "ECONNREFUSED",
"syscall": "connect",
"address": "",
"port": 8090
View genkernel.conf
# Configuration file for genkernel
# This file is sourced by genkernel at startup and determines which options
# we will be using to compile our kernel. The order of precidence is simple,
# with the internal settings being least important, configuration file
# settings next, and command line options being most important.
# =========Common Command Line Option Defaults=========
# Should we install to $BOOTDIR? Default is "no" because genkernel is used in
View gist:424fb23942ad63ea34b7d102df29f101
"debug": true,
"service": {
"sender_bind": "tcp://*:61123",
"receiver_bind": "tcp://*:61124"
"connections": [
"name": "freenode",
"host": "",
View gist:4cf81cb7682fd9056025ffe633db2528
$ ls
Dockerfile config.json
$ cat Dockerfile
FROM kyleterry/tenyks
ADD config.json /etc/tenyks/config.json
$ docker build -t tenyks-dev .
View gist:4f4192a05d94352bcb8ae9a2cd969eb5
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 74:d4:35:e2:de:9c brd ff:ff:ff:ff:ff:ff
inet6 fe80::76d4:35ff:fee2:de9c/64 scope link
valid_lft forever preferred_lft forever
3: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 74:d4:35:e2:e5:41 brd ff:ff:ff:ff:ff:ff
inet brd scope global enp2s0
valid_lft forever preferred_lft forever
inet6 fe80::76d4:35ff:fee2:e541/64 scope link
valid_lft forever preferred_lft forever
You can’t perform that action at this time.