Skip to content

Instantly share code, notes, and snippets.

Kyle Brandt kylebrandt

Block or report user

Report or block kylebrandt

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
kylebrandt / index.html
Created May 25, 2014
Graphing a Linear Regression Forecast with d3.js and simple_statistics.js
View index.html
<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<title>D3 Learning</title>
<script src="simple_statistics.js"></script>
<script src="d3.v3.min.js" charset="utf-8"></script>
.line {
fill: none;
View gist:89dc754c658340e87d97
package main
import (
type Meeting struct {
Who []Person
When time.Time
kylebrandt / gist:92671689da33c3075326
Last active Aug 29, 2015
Convert Windows 100NS Epoch (Timestamp_Sys100NS) To a Unix Epoch
View gist:92671689da33c3075326
func TSys100NStoEpoch(nsec uint64) int64 {
//nsec is really 100*NS
//Got this constant from, not sure where it comes from, but seems to work
nsec -= 116444736000000000
seconds := nsec / 1e7
return int64(seconds)
View gist:b2906d990d0e762ad87e
package main
import (
kylebrandt /
Last active Aug 29, 2015
No promises...
#Parse Nginix Logs and insert results into either MySQL or SQLite
#Then run various reports on the data
#Kyle Brandt 2010
import re, optparse
import cProfile
from datetime import datetime
from time import time
from sqlalchemy import create_engine

Keybase proof

I hereby claim:

  • I am kylebrandt on github.
  • I am kylebrandt ( on keybase.
  • I have a public key whose fingerprint is 8A84 EBFD 20C4 C59D 8DE9 FEEA 6554 F744 4F64 75E4

To claim this, I am signing this object:

kylebrandt / opentsdb.conf
Created Feb 29, 2016
OpenTSDB Configuration
View opentsdb.conf
kylebrandt / gist:04c0658828e616b5d8c5
Created Feb 29, 2016
Cloudera Not Default HBase Settings
View gist:04c0658828e616b5d8c5
zookeeper.session.timeout: 600000
HBase Service Advanced Configuration Snippet (Safety Valve) for hbase-site.xml:
Java Configuration Options for HBase RegionServer:
-XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:-ResizePLAB -XX:ParallelGCThreads=17 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintAdaptiveSizePolicy
kylebrandt / gist:89a98f30680b799a6317
Created Feb 29, 2016
Cloudera Non-Default HDFS Settings
View gist:89a98f30680b799a6317
kylebrandt / gist:85218ae078e57a8d3088
Created Feb 29, 2016
Cloudera zookeeper Non-Defaults
View gist:85218ae078e57a8d3088
tickTime: 30000
maxSessionTimeout: 600000
You can’t perform that action at this time.