Skip to content

Instantly share code, notes, and snippets.

@hdmchl
hdmchl / keybase.md
Created August 20, 2017 08:20
Keybase verification

Keybase proof

I hereby claim:

  • I am hdmchl on github.
  • I am hdmchl (https://keybase.io/hdmchl) on keybase.
  • I have a public key ASATc77SjDpxSVSDF1epRljBaUy-4uWdAs2Di_05pO75iAo

To claim this, I am signing this object:

@hdmchl
hdmchl / podcasts-2017-01-12-131411.crash
Created January 13, 2017 00:38
Pocket Casts crash report
Incident Identifier: 58B16AC7-00C2-4C32-9921-F9B2540084E1
CrashReporter Key: 4a98b97c11fb5ac74374300734e2dc70290d9e98
Hardware Model: iPhone9,3
Process: podcasts [16890]
Path: /private/var/containers/Bundle/Application/6D1A7646-9A22-4FBC-B6A1-CE8B9E2ABBC5/podcasts.app/podcasts
Identifier: au.com.shiftyjelly.podcasts
Version: 446 (6.4)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
@hdmchl
hdmchl / stations_db.txt
Last active December 14, 2015 00:19
Australian weather stations, retrieved on 14-12-2015 from ftp://ftp.bom.gov.au/anon/gen/clim_data/IDCKWCDEA0/tables/stations_db.txt
015590 NT 15B ALICE SPRINGS AIRPORT 19400101.. -23.7951 133.889
014272 NT 14GA BATCHELOR AIRPORT 19920813.. -13.0545 131.0252
014723 NT 14DE BORROLOOLA AIRPORT 19871107.. -16.0755 136.3041
014954 NT 14GA BRADSHAW 19980529.. -14.9408 130.8092
014627 NT 14DE BULMAN 20021010.. -13.6715 134.3415
014909 NT 14GA CENTRAL ARNHEM PLATEAU 20030731.. -13.3275 133.0861
014703 NT 14DE CENTRE ISLAND 19680101.. -15.7426 136.8192
014308 NT 14GA CROKER ISLAND AIRPORT 20120921.. -11.1629 132.4813
014626 NT 14DE DALY WATERS AIRSTRIP 19390101.. -16.2637 133.3782
014015 NT 14GA DARWIN AIRPORT 19410101.. -12.4239 130.8925
@hdmchl
hdmchl / Simple getUserMedia() example
Last active August 29, 2015 14:20
Use getUserMedia() to capture frames for computation
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;
if (navigator.getUserMedia) {
navigator.getUserMedia({ audio: false, video: true },
function(stream) {
var video = document.createElement('video');
video.src = window.URL.createObjectURL(stream);
video.width = 400;
video.height = 300;
video.onloadedmetadata = function(e) {
@hdmchl
hdmchl / gist:3598083
Created September 2, 2012 12:27
brew-install-graphicsmagick
==> Downloading http://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/1.3.15/GraphicsMagick-1.3.15.tar.bz2
Already downloaded: /Library/Caches/Homebrew/graphicsmagick-1.3.15.tar.bz2
==> ./configure --prefix=/usr/local/Cellar/graphicsmagick/1.3.15 --enable-shared --disable-static --with-gs-font-dir=/usr/local/share/ghostscript/fonts
==> make install
Makefile:11220: warning: overriding commands for target `PerlMagick/Magick.pm'
Makefile:5529: warning: ignoring old commands for target `PerlMagick/Magick.pm'
/bin/sh /private/tmp/brew-graphicsmagick-1.3.15-B84t/GraphicsMagick-1.3.15/ltdl/config/install-sh -d . ltdl/
cp ./ltdl/argz_.h ltdl/argz.h-t
mv ltdl/argz.h-t ltdl/argz.h
/usr/bin/make install-am