blog Markdown as a Database

Partly inspired by apps such as NotePlan or the friends project, I’m intrigued by the idea of using Markdown as a database. The popularity of static site generators such as hugo and jekyll already forgo using a database by having the main content as a Markdown document with metadata contained in yaml frontmatter. My own worklog experiment is built op top of jekyll with some scripts to parse out the frontmatter.

Read More →

blog More wiki than blog

I’m still debating replacing Jekyll with something else but I’m not super enthusiastic about writing a blog system. One frustration with many software packages is when it does almost everything you want except for a small bit. Typically your only recourse is to build the entire thing from scratch. Though I’m not very fond of Liquid templates since I’m more used to Django Templates , I think the biggest issue I have with Jekyll is some of the special cases particularly with posts being special collections but regular pages are unable to take advantage of tags without workarounds.

Read More →

blog Post Jekyll?

In general, I’ve been mostly happy with Jekyll , it handles most of my basic requirements but whenever it comes to doing more customizing various index pages or generating some automatic indexes, the GitHub Pages version gets a little more annoying to work with. I could easily self-host which would allow me more flexibility to automatically generate more parts or hook in additional plugins, but if I were to self host, then I’m not necessarily limited to Jekyll.

Read More →

blog Auto Cleanup

Taking advantage of cron and the rmtrash tool from homebrew, I often setup several simple cron entries to automatically move old files to Trash @hourly find ~/Downloads -mindepth 1 -maxdepth 1 -mtime +7d -exec /usr/local/bin/rmtrash '{}' \;

blog I’d rather be using salt

Currently I’m using Ansible at work, but I would MUCH rather be using Salt . A discussion on the Salt mailing list reminded me of this again, so I thought I would write down a few notes regarding why I would rather be using Salt (and why I not-so-secretly use Salt for development) Why have both roles and playbooks? Roles and Playbooks are somewhat similar, and feel like they have some overlap in usage, so at times it can be quite frustrating to have things that are so similar but different.

Read More →

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 →