Skip to content

Instantly share code, notes, and snippets.

Avatar

Kevin Blackham thekev

  • Clue Department
  • Salt Lake City, UT
View GitHub Profile
View gist:a7e18c933597984a75c4
--------------------------------------------------Mon Aug 24 18:42:01 UTC 2015
12622 Ds 00:00:23 postgres: cluster13 canvas sleep_on_page
--------------------------------------------------Mon Aug 24 18:42:03 UTC 2015
--------------------------------------------------Mon Aug 24 18:42:04 UTC 2015
13920 Ds 00:00:17 postgres: cluster13 canvas sleep_on_page
15835 Ds 00:00:07 postgres: cluster13 canvas sleep_on_page
129991 Ds 00:00:55 postgres: cluster13 canvas sleep_on_page_killable
--------------------------------------------------Mon Aug 24 18:42:05 UTC 2015
8752 Ds 00:00:39 postgres: cluster13 canvas sleep_on_page_killable
8763 Ds 00:00:47 postgres: cluster13 canvas submit_bio_wait
@thekev
thekev / rtlamr2graphite.py
Last active Jan 11, 2019
wrapper for rtlamr and rtl_tcp, sends data to graphite
View rtlamr2graphite.py
#!/usr/bin/python2.7
import os
import time
import json
import socket
import struct
import pickle
import subprocess
CARBON_HOST = 'localhost'
@thekev
thekev / sgminer.conf
Last active Aug 29, 2015
r9-270 on sgminer/nfactor branch: 254/254/245 kH
View sgminer.conf
"kernel" : "ckolivas",
"nfactor" : "11",
"failover-only" : true,
"verbose" : true,
"xintensity" : "4,4,4",
"gpu-threads" : "2,2,2",
"worksize" : "256,256,256",
"thread-concurrency" : "6143,6143,6143",
"gpu-engine" : "800-1160,800-1160,800-1125",
"gpu-fan" : "60-90,60-90,65-90",
View 7870 standard scrypt
"xintensity" : "4",
"worksize" : "256",
"thread-concurrency" : "6336",
"lookup-gap" : "2",
"gpu-threads" : "2",
"gpu-engine" : "700-975",
"gpu-fan" : "60-90",
"gpu-memclock" : "1360",
"gpu-powertune" : "20",
"temp-cutoff" : "95",
@thekev
thekev / gist:8910636
Last active Aug 29, 2015
full vertminer config (excluding pools)
View gist:8910636
"no-submit-stale" : "false",
"failover-only" : true,
"verbose" : true,
"scrypt" : true,
"rawintensity" : "5120,5120,5120",
"gpu-threads" : "2",
"worksize" : "256,256,256",
"thread-concurrency" : "6336,6336,6336",
"gpu-engine" : "800-1100,800-1100,800-1090",
"gpu-fan" : "60-90,60-90,65-90",
View vertminer.conf (0.5.2 thekev fork)
"scrypt" : true,
"gpu-threads" : "2",
"rawintensity" : "5120",
"worksize" : "256",
"thread-concurrency" : "8191",
"lookup-gap" : "2",
"gpu-engine" : "800-1075",
"gpu-memclock" : "1250",
"gpu-powertune" : "20",
View git_prompt.zsh
# in your ~/.zshrc add these lines:
#
# source path/to/this/file
# precmd() { zsh_prompt }
#
NONE="%{\e[0m%}" # unsets color to term's fg color
K="%{\e[0;30m%}" # black