Skip to content

Instantly share code, notes, and snippets.

View JNRowe's full-sized avatar

James Rowe JNRowe

View GitHub Profile
export PS1='\[\e[01;33m\]\u@\h\[\e[38;5;199m\] \w\$\[\e[00m\] '
for i in {0..15}
do
for j in {0..15}
do
col=$((i*16+j))
printf "\e[38;5;%im %03i" $col $col
done
printf "\n"
done
source ~/.mutt/colour_defaults.rc
source ~/.mutt/colour_$TERM.rc
convert /home/jay/.themes/expose/gtk-2.0/bc.xpm -scale 1024x20! bc.png
composite -gravity north bc.png backdrop.png backdrop_new.png
mywibox[s] = wibox({ position = "top", fg = beautiful.fg_normal, bg = "#00000000" })
customfield 2 Birthday
#! /usr/bin/python -tt
import ConfigParser
import datetime
import os
data = ConfigParser.ConfigParser()
data.read(os.path.expanduser("~/.abook/addressbook"))
birthdays = filter(lambda x: "custom2" in data.options(x),
.reminders.d/birthdays: .abook/addressbook .reminders.d/birthdays.py
$(info - Generating remind's birthdays file)
$(word 2, $^) >$@
INCLUDE /home/jay/.reminders.d/birthdays
if ($SIZE < 32768)
cc '|lbdb-fetchaddr -d "%FT%T%z"'