Skip to content

Instantly share code, notes, and snippets.

View kristianfreeman's full-sized avatar
🙃

Kristian Freeman kristianfreeman

🙃
View GitHub Profile
@kristianfreeman
kristianfreeman / gitlogtoday.sh
Created January 31, 2012 02:54 — forked from ttscoff/gitlogtoday.sh
Git log for the last day, formatted for journal insertion
git log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short --since="`date -v-1d '+%m/%d/%y'`"
Prettier:
git log --pretty=format:"%ad | [`pwd`]%n- %s%d" --graph --date=short --since="`date -v-1d '+%m/%d/%y'`"
Day One:
git log --pretty=format:"%ad | [`pwd`]%n- %s%d" --graph --date=short --since="`date -v-1d '+%m/%d/%y'`" | dayone new
@kristianfreeman
kristianfreeman / itunes.sql
Created March 12, 2012 06:16 — forked from shanemcd/itunes.sql
itunes music library database
/* create tables to store itunes music library data for quick access
- rkumar 2010 July
*/
drop table tracks;
create table tracks (
album_artist VARCHAR(50),
album_rating_computed INTEGER,
album_rating VARCHAR(50),
album VARCHAR(50),
all_items VARCHAR(50),
@kristianfreeman
kristianfreeman / .tmux.conf
Created December 9, 2012 07:26 — forked from fholgado/.tmux.conf
Show iTunes current track/song in tmux
# Custom status bar
# # Powerline symbols: ⮂ ⮃ ⮀ ⮁ ⭤
set -g status-left-length 32
set -g status-right-length 150
set -g status-interval 5
set -g status-left '#[fg=colour16,bg=colour254,bold] #S #[fg=colour254,bg=colour234,nobold]⮀'
set -g status-right '#[fg=colour245]⮃ %R ⮃ %d %b #[fg=colour254,bg=colour234,nobold]#(~/Documents/AppleScripts/itunes-current-track-tmux.sh)⮂#[fg=colour16,bg=colour254,bold] #h '
# set -g status-right '#(~/Documents/AppleScripts/itunes-current-track-tmux.sh)'
set -g window-status-format "#[fg=white,bg=colour234] #I #W "
set -g window-status-current-format "#[fg=colour234,bg=colour39]⮀#[fg=colour16,g=colour39,noreverse,bold] #I ⮁ #W #[fg=colour39,bg=colour234,nobold]⮀"

An edited version for usage with Last.fm data.

Bubble charts encode data in the area of circles. Although less perceptually-accurate than bar charts, they can pack hundreds of values into a small space. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.