blog Numerous

One app I’ve been really enjoying recently is Numerous . It’s quite nice for tracking a lot of different stats. For example, checking the weather in Fukuoka

Or checking how many lessons I have due in WaniKani

Or checking to see if the USD/JPY conversion is in my favor or not.

blog wanikani charts

After reading a post on the WaniKani forums about using Google docs for graphing study data, I decided to play around with some charts for myself

Review Queue

Progress

blog custom bash prompt

SSH Colors

I like to use colors in the shell to help me identify which machine I’m on. I also like to keep my dotfiles under git so it helps to have a simple way to programmatically set which color I should be using on which machine.

if [ "$SSH_CONNECTION" == "" ]; then
    # Yellow prompt for local login
    PS1="[\[\033[01;33m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\]]$ "
else
    # Red prompt for remote login
    PS1="[\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\]]$ "
fi

By checking the existence of the $SSH_CONNECTION variable it is easy to set one color for my local machine and a different color for remote machines.

Read More →