Skip to content

Instantly share code, notes, and snippets.

View wizardishungry's full-sized avatar
🐫
Copyright 1987-2013, Larry Wall

Jon Williams wizardishungry

🐫
Copyright 1987-2013, Larry Wall
View GitHub Profile
# check for php syntax errors in changed files
git status|grep php| cut -d : -f 2 | xargs -n1 php -l
@wizardishungry
wizardishungry / knot-resolver.md
Last active April 7, 2018 17:48
knot-resolver subjective performance

Query local knot-resolver instance forwarding to 1.1.1.1 per these directions (3698.7 ms 😫 ):

kdig slashdot.org @127.0.0.1                                                                                                                                                                                master ‹2.3.0›
;; ->>HEADER<<- opcode: QUERY; status: NOERROR; id: 17572
;; Flags: qr rd ra; QUERY: 1; ANSWER: 1; AUTHORITY: 0; ADDITIONAL: 0

;; QUESTION SECTION:
;; slashdot.org.       		IN	A

;; ANSWER SECTION:
@wizardishungry
wizardishungry / Gemfile
Last active February 12, 2018 18:49
Vagrant snippet to set VirtualBox guest CPU count to the number of host cores on Linux or OS X (broken 2018)
gem 'concurrent'
@wizardishungry
wizardishungry / community-builds-from-source.sh
Last active January 14, 2018 03:06 — forked from Chaircrusher/community-builds-from-source.sh
This script pulls down the VCV Rack community repo, finds source urls, pulls down source repos, and builds plugins.
#!/usr/bin/env bash
#################################################################################################################################
# community-builds-from-source.sh
# by Jeremy Wentworth
#
# Modified by Kent Williams chaircrusher@gmail.com
# Modified by Jon Williams jon@jonwillia.ms
#
# This script pulls down the VCV Rack community repo, finds source urls, pulls down source repos, and builds plugins.
@wizardishungry
wizardishungry / kal.out
Last active December 10, 2017 21:52
Running kalibrate-rtl to look for error offset for rtl device.
506 pyramid:~/Projects/kalibrate-rtl (master %)$ src/kal --h
kalibrate v0.4.1-rtl, Copyright (c) 2010, Joshua Lackey
modified for use with rtl-sdr devices, Copyright (c) 2012, Steve Markgraf
Usage:
GSM Base Station Scan:
kal <-s band indicator> [options]
Clock Offset Calculation:
kal <-f frequency | -c channel> [options]
@wizardishungry
wizardishungry / ssl_puma.sh
Last active February 8, 2017 17:51 — forked from tadast/ssl_puma.sh
localhost SSL with puma
# 1) Create your private key (any password will do, we remove it below)
$ cd ~/.ssh
$ openssl genrsa -out server.key 2048
# 2) Generate the csr (Certificate signing request) (Details are important!)
$ openssl req -new -key server.key -out server.csr
@wizardishungry
wizardishungry / laws.md
Created August 16, 2016 18:08
Johnson Laws of Snacking
  1. When in doubt, order the menu item closest to chicken fingers.
@wizardishungry
wizardishungry / HOWTO.MD
Last active January 30, 2017 23:15
Setting up User Scripts

Setting up User Scripts and Extensions on Ungoogled Chromium

https://github.com/Eloston/ungoogled-chromium

  1. curl -L https://clients2.google.com/service/update2/crx\?response\=redirect\&prodversion\=48.0\&x\=id%3Ddhdgffkkebhmkfjojejmpbldmpobfkfo%26installsource%3Dondemand%26uc -o ~/Library/Application\ Support/Chromium/Default/Extensions/tapermonkey.crx
  2. open ~/Library/Application\ Support/Chromium/Default/Extensions/
  3. open chrome://extensions/
  4. Visit http://chromium-crx.stuff.admicos.cf/get.user.js
  5. Install user script

Keybase proof

I hereby claim:

  • I am wizardishungry on github.
  • I am wizardishungry (https://keybase.io/wizardishungry) on keybase.
  • I have a public key whose fingerprint is 41F3 C317 13F0 7ECA F3EF C21D 6D17 2B3A 070D 5ECE

To claim this, I am signing this object:

Aphex Twin - Didgeridoo
Ashra - Sunrain
Basic Channel (Cyrus) - Enforcement
Black Dice - This Dream is Going Down
Boredoms - Super Going
Brian Eno - The True Wheel
Can - Bel Air
Chris & Cosey - Walking Through Heaven
Daniel Wang - Let's Go To Mars
Don Cherry - Brown Rice