Skip to content

Instantly share code, notes, and snippets.

View hkjn's full-sized avatar

Lairs Johnstone hkjn

View GitHub Profile
Verifying that +hkjn is my openname (Bitcoin username). https://onename.com/hkjn

Keybase proof

I hereby claim:

  • I am hkjn on github.
  • I am hkjn (https://keybase.io/hkjn) on keybase.
  • I have a public key whose fingerprint is D618 7A03 A40A 3D56 62F5 4B46 03EF BF83 9A5F DC15

To claim this, I am signing this object:

0xd336C5ADeBCEDD009006FBf13f0a563592e7A2dc
@hkjn
hkjn / gist:699021e5f2eff5608b045a5b0b5337a4
Created November 14, 2017 10:56
verifying blockstack
Verifying my Blockstack ID is secured with the address 1LcuuCVE67W5eZTeEFu2McPb1eJK9MxQhG https://explorer.blockstack.org/address/1LcuuCVE67W5eZTeEFu2McPb1eJK9MxQhG
@hkjn
hkjn / citadel-kernel 4.9.65-r0 do_compile
Created September 9, 2018 08:35
citadel-kernel str_error_r compile error
DEBUG: Executing shell function do_compile
NOTE: KBUILD_BUILD_TIMESTAMP: Fri Nov 24 07:33:43 UTC 2017
NOTE: make -j 4 HOSTCC=gcc -isystem/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4.9.65-r0/recipe-sysroot-native/usr/include -O2 -pipe -L/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4.9.65-r0/recipe-sysroot-native/usr/lib -L/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4.9.65-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4.9.65-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4.9.65-r0/recipe-sysroot-native/lib -Wl,-rpath,/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4.9.65-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/home/builder/citadel/build/tmp-glibc/work/intel_corei7_64-oe-linux/citadel-kernel/4
@hkjn
hkjn / pydemo.py
Created October 14, 2019 20:42
Small python script to demo fetching info from a web API
import json
import urllib.request
LAT = 39.7456
LON = -97.0892
URL = 'https://api.weather.gov/points/{},{}'.format(LAT, LON)
print('Getting weather info for point {}, {}'.format(LAT, LON))
response = urllib.request.urlopen(URL).read()