Skip to content

Instantly share code, notes, and snippets.

@krishicks
krishicks / font5x7.pde
Last active January 22, 2020 06:17 — forked from smcl/font3x8.pde
Processing code to allow visual editing of 128x32 OLED displays driven by QMK
// Standard ASCII 5x7 font, yanked from foostan's crkbd/lib/glcdfont.c
int[] progmem = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x00,
0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x00,
0x1C, 0x3E, 0x7C, 0x3E, 0x1C, 0x00,
0x18, 0x3C, 0x7E, 0x3C, 0x18, 0x00,
0x1C, 0x57, 0x7D, 0x57, 0x1C, 0x00,
0x1C, 0x5E, 0x7F, 0x5E, 0x1C, 0x00,
0x00, 0x18, 0x3C, 0x18, 0x00, 0x00,
- op: add
path: /jobs/task=yourtaskname/config
value:
platform: linux
image_resource:
type: docker-image
source:
repository: cloudfoundry/cflinuxfs2
inputs:
- name: pcf-pipelines-tarball
kitchen
fully remodeled
vastly more counter space
stainless steel sink w/insinkerator
microwave
dishwasher
more drawers
more cabinets
bathroom
function goto --description 'goto in GOPATH'
for p in (string split ':' $GOPATH)
set f (find $p/src -type d | grep $argv | head -n 1)
if test -n "$f"
cd $f
return
end
end
end
Case Fractal Design Define R5 Black
Motherboard MSI Z97S SLI Krait
CPU Intel i5-4690K 3.5GHz
RAM Crucial Ballistix Tactical 16GB DDR3-1866
Soundcard Sound Blaster Z
HDD Samsung 850 Pro 512GB
PSU Be Quiet! BN635 Straight Power 600W
CPU Cooler Scythe SCKTT-1000
Mouse Logitec G502
Keyboard CM Storm NovaTouch TKL
function goto() {
local p
local f
for p in `echo $GOPATH | tr ':' '\n'`; do
f=`find ${p}/src -maxdepth 3 -type d | grep ${1} | head -n 1`
if [ -n "$f" ]; then
cd $f
return
fi
@krishicks
krishicks / gist:8749561cd843a4705a89
Created April 15, 2015 16:17
NYC Eats'n'Drinks
Manhattan
Food
Lower East Side
Contra
Cafe Katja
Katz's Delicatessen
East Village
Alder
Northern Spy Food Co.
Cocktails
!
! Caps_Lock = Control
!
clear lock
keycode 66 = Control_L
add control = Control_L
!
! "Natural" scrolling (4->5, 6->7)
! Set Evoluent mouse buttons (8->9, 9->10, 10->8)
### Keybase proof
I hereby claim:
* I am krishicks on github.
* I am krishicks (https://keybase.io/krishicks) on keybase.
* I have a public key whose fingerprint is D280 47EF 9B31 3E93 7A13 7137 9BB2 13BB C285 F904
To claim this, I am signing this object:
set nolist
"set list
set sidescroll=1
set sidescrolloff=10
set expandpath
set ttyfast
if has("gui_running")
colorscheme earthsong