Skip to content

Instantly share code, notes, and snippets.

View kellycampbell's full-sized avatar

Kelly Campbell kellycampbell

View GitHub Profile
@kellycampbell
kellycampbell / crash.log
Created July 10, 2019 13:41
VerneMQ 1.8.0 startup crash
2019-07-10 13:37:45 =CRASH REPORT====
crasher:
initial call: vmq_queue:init/1
pid: <0.354.0>
registered_name: []
exception exit: {{killed,{gen_server,call,[vmq_swc_db_meta8,{read,obj,<<16,0,0,0,2,16,0,0,0,2,12,187,91,110,32,8,12,177,219,237,214,107,77,156,8,16,0,0,0,3,12,171,89,110,86,235,45,54,163,64,179,221,237,183,25,108,194,93,103,187,219,110,50,219,157,150,233,46,180,219,238,146,219,165,150,231,116,151,92,238,214,57,117,142,217,117,185,221,44,183,41,117,178,223,99,176,219,0,8,12,187,91,110,53,251,157,150,229,118,178,220,128,8,12,176,219,45,150,251,189,126,219,117,182,93,45,55,11,101,150,191,115,178,220,238,118,155,125,186,230,8>>},infinity]}},[{gen_fsm,init_it,6,[{file,"gen_fsm.erl"},{line,369}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]}
ancestors: [vmq_queue_sup_30,vmq_queue_sup_sup,vmq_server_sup,<0.189.0>]
message_queue_len: 0
messages: []
links: [<0.329.0>]
@kellycampbell
kellycampbell / tsserver.log
Created June 6, 2019 16:04
vscode tsserver inferred project after bazel build
Info 440 [20:3:49.25] -----------------------------------------------
Info 441 [20:3:49.25] event:
{"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":30}}
Info 442 [20:3:49.27] Running: /home/kellyc/Projects/thirdparty/bazel/example-bazel-proto-ts/tsconfig.json
Info 443 [20:3:49.27] Running: *ensureProjectForOpenFiles*
Info 444 [20:3:49.27] Structure before ensureProjectForOpenFiles:
Info 445 [20:3:49.27] Project '/home/kellyc/Projects/thirdparty/bazel/example-bazel-proto-ts/tsconfig.json' (Configured) 0
Info 445 [20:3:49.28] Files (124)
/usr/share/code/resources/app/extensions/node_modules/typescript/lib/lib.es5.d.ts
root@ip-172-21-38-43:/var/cache/kubernetes-install# ./nodeup --conf=/var/cache/kubernetes-install/kube_env.yaml --v=8
nodeup version 1.10.0 (git-8b52ea6d1)
I0830 23:24:50.424991 2911 files.go:100] Hash matched for "/var/cache/nodeup/sha1:4ffe05e3cdb9291e56e0268ea2b51047761bf7ad_https___storage_googleapis_com_kubernetes-release_release_v1_10_3_bin_linux_amd64_kubelet": sha1:4ffe05e3cdb9291e56e0268ea2b51047761bf7ad
I0830 23:24:50.425066 2911 assetstore.go:203] added asset "kubelet" for &{"/var/cache/nodeup/sha1:4ffe05e3cdb9291e56e0268ea2b51047761bf7ad_https___storage_googleapis_com_kubernetes-release_release_v1_10_3_bin_linux_amd64_kubelet"}
I0830 23:24:50.504163 2911 files.go:100] Hash matched for "/var/cache/nodeup/sha1:94f996d645e74634a4be67bbb5417f892774230b_https___storage_googleapis_com_kubernetes-release_release_v1_10_3_bin_linux_amd64_kubectl": sha1:94f996d645e74634a4be67bbb5417f892774230b
I0830 23:24:50.504198 2911 assetstore.go:203] added asset "kubectl" for &{"/var/cache/nodeup/sha1:94f99
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Started Load/Save Random Seed.
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Started Apply Kernel Variables.
Aug 30 23:00:51 ip-172-21-38-43 systemd-machine-id-setup[204]: Initializing machine ID from random generator.
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Started Create Static Device Nodes in /dev.
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Starting udev Kernel Device Manager...
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Starting Local File Systems (Pre).
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Reached target Local File Systems (Pre).
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Started Various fixups to make systemd work better on Debian.
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Started udev Kernel Device Manager.
Aug 30 23:00:51 ip-172-21-38-43 systemd[1]: Found device /dev/ttyS0.

Keybase proof

I hereby claim:

  • I am kellycampbell on github.
  • I am kellyc (https://keybase.io/kellyc) on keybase.
  • I have a public key ASDVRYCotUO48nB2Ui7Gr5XAeHYDtu6IlTKSB5Ib9J-fVgo

To claim this, I am signing this object:

http://services.phila.gov/PhillyAPI/Data/v1.0/zoningboardappeals(1651239)?$format=json
{
"d" : {
"__metadata": {
"uri": "http://services.phila.gov/PhillyAPI/Data/v1.0/zoningboardappeals(1651239)", "type": "PhillyAPI.zoningboardappeals"
}, "appeal_id": 1651239, "appeal_number": "22080", "application_type": "RB_ZBA", "capacity": "APPL",
"grounds": "PERMIT ERECTION OF AN ATTACHED BUILDING MAXIMUM HEIGHT NE 102 FT. USE AS MULTI FAMILY HOUSEHOLD LIVING (WITH SIXTEEN (16) DWELLING UNITS). SIZE AND LOCATION AS SHOWN ON THE APPLICATION.",
"primary_applicant": "RONALD J. PATTERSON, ESQ", "permit_number": "510743", "location_id": 629815, "zbahearingdecisions": {
@kellycampbell
kellycampbell / compare_batting_avg.py
Last active August 29, 2015 13:56
Shows the distribution of batting averages for MLB players by the handedness they bat with. (Right, Left, Both)
import pandas
from ggplot import *
# Shows the distribution of batting averages for MLB players by the handedness they bat with. (Right, Left, Both)
def compare_averages(filename):
"""
Data from: https://www.dropbox.com/s/xcn0u2uxm8c4n6l/baseball_data.csv
Example output: http://imgur.com/21Rs287
@kellycampbell
kellycampbell / Cryptocoin Rates Updater
Last active August 29, 2015 13:56
Downloads exchange rates from Cryptsy and BTC-e, update a range in a Google Apps spreadsheet.
var _ = Underscore.load();
function fetchRatesFromCryptsy() {
var cryptsyRatesUrl = "http://pubapi.cryptsy.com/api.php?method=marketdatav2";
var response = UrlFetchApp.fetch(cryptsyRatesUrl);
// TODO(kellyc): check for errors
var json = response.getContentText();
var data = JSON.parse(json);
return data['return']['markets'];
}