Skip to content

Instantly share code, notes, and snippets.

View kornyone's full-sized avatar

Jason Parker kornyone

  • h4x0rs R us
  • California
View GitHub Profile
@kornyone
kornyone / rtlsdr-fm_radio_scanning,json
Created March 13, 2017 09:56
general fm radio scanning for power level using rtl_power_fftw
{
"annotations": {
"list": []
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": 18,
"links": [],
@kornyone
kornyone / fmscan-to-graphite.sh
Last active March 13, 2017 10:21
quick and easy rtlsdr scan to graphite
# Super duper hacky. Don't expect performance.
# This outputs 3200 metrics per run, looping with -c
rtl_power_fftw -q -d 0 -b 160 -f 80M:120M -p 0 -c 2>/dev/null | grep + | \
awk '{print "rtl.fm-0."$1+1" "$2" "systime()}' | \
netcat GRAPHITEHOST 2003
@kornyone
kornyone / gist:879418e1633612aa0427
Last active August 29, 2015 14:03
Linux Surface Pro 3 keyboard/mouse goodness
# It's quirky, hid-sensor change to resolve boot up errors
# See http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=00478ee8984a80e531ed491eede0459eae07396d for quirk hack in Surface Pro 2
# hid-microsoft.c entry derived from https://bugzilla.kernel.org/show_bug.cgi?id=64811
# Be sure to profit
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 6d00bb9..2fd9d6d 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -637,6 +637,7 @@