Skip to content

Instantly share code, notes, and snippets.

Avatar

jneubrand

View GitHub Profile
View img2bw.png
#!/usr/bin/env python3
import argparse
import os
import sys
try:
import PIL.Image
except ImportError:
print('Couldn\'t import PIL. Please `pip3 install pillow`.')
View pebble_fonts.h
#define FONT_KEY_GOTHIC_18_BOLD "RESOURCE_ID_GOTHIC_18_BOLD"
#define FONT_KEY_GOTHIC_24 "RESOURCE_ID_GOTHIC_24"
#define FONT_KEY_GOTHIC_09 "RESOURCE_ID_GOTHIC_09"
#define FONT_KEY_GOTHIC_14 "RESOURCE_ID_GOTHIC_14"
#define FONT_KEY_GOTHIC_14_BOLD "RESOURCE_ID_GOTHIC_14_BOLD"
#define FONT_KEY_GOTHIC_18 "RESOURCE_ID_GOTHIC_18"
#define FONT_KEY_GOTHIC_24_BOLD "RESOURCE_ID_GOTHIC_24_BOLD"
#define FONT_KEY_GOTHIC_28 "RESOURCE_ID_GOTHIC_28"
#define FONT_KEY_GOTHIC_28_BOLD "RESOURCE_ID_GOTHIC_28_BOLD"
#define FONT_KEY_BITHAM_30_BLACK "RESOURCE_ID_BITHAM_30_BLACK"
@jneubrand
jneubrand / scrollvolume.lua
Created Aug 3, 2016
A hammerspoon snippet that lets you hyper-scroll to change your output volume
View scrollvolume.lua
local volumeBeep = hs.sound.getByName('Pop')
local volumeText
local volumeTextTimer
function hideVolumeText()
if volumeText then
volumeText:hide(0.1)
end
end
View keybase.md

Keybase proof

I hereby claim:

  • I am jneubrand on github.
  • I am jneubrand (https://keybase.io/jneubrand) on keybase.
  • I have a public key ASAdr4SDW-3SpHuIrKgiN1xuwwxHPWU5T8eToE5iUrPtQAo

To claim this, I am signing this object: