New blog command and some style updates
I love Github. The more I use it, the more I love it. As a form of endearment, I’ve updated the style of this blog to look a little more like Github than default Octopress. Simple, clean, fun.
I’ve also been looking for a quicker way to blog on a whim, and having to switch into my octopress directory, and then type new_post["title of my post"]
was still just two steps too much. So I pulled up my .bash_profile
and started scripting. Here’s what I came up with:
Add this to your .bash_profile
function blog() {
if [ -z "$1" ]; then
echo "Usage: blog \"post title\""
return 1
fi
cd ~/Sites/jeradbitner.com
rake new_post["$1"]
mate .
}
Related Posts
A Year of Gratitude
It’s funny how perspective changes everything. As I sit here reflecting during Thanksgiving week, I’m struck by just how different things feel compared to a year ago. Sometimes you don’t...
Jenney Journal, part 32
Things have been going really well as Jenney heals at home. She’s back to doing everything she was always able to do, and our latest scans have shown no signs...
Jenney Journal, part 31
On Oct 21, Jenney started to get nauseous and diarrhea. She became very dehydrated quickly, and had a seizure. I called our oncologist who said we should call 911 and...