Skip to content

Instantly share code, notes, and snippets.

View syntactician's full-sized avatar

Edward Hernández syntactician

View GitHub Profile
@syntactician
syntactician / pulse.sh
Last active February 22, 2016 14:00
pulse()
pulse() {
# pulse until window is focused
i=1
# while the window is not the currently selected window
while [ "$1" != "$(pfw)" ] ; do
# if $i is odd (if the while loop is on an odd iteration)
if [ $(echo "$i % 2" | bc) -eq 1 ] ; then
chwb -c $BG $1
@syntactician
syntactician / Modified-_Programmer_-Dvorak-Planck.kbd.json
Last active December 21, 2015 06:57
Modified (Programmer) Dvorak Planck
[
{
"name": "Modified (Programmer) Dvorak Planck",
"author": "Edward Hernández",
"switchMount": "cherry",
"switchBrand": "cherry",
"switchType": "MX1A-L1xx",
"pcb": true
},
[