Euler Pi
A Blog of Tech, Math, and Geek Stuff
Latest Posts
Resty and JQ
Resty turns this:
Using Subtitles in HPSTR
So I whipped up this quick modification to Michael Rose’ HPSTR Theme
theme to add subtitles to pages and posts. Today I’m going through a brief
example of Jekyll’s Liquid
syntax, and also touching on SCSS.
pgrep and pkill: A Better killall?
Just learned a new tool that has somehow escaped me the last 15 years. prep is a simple tool that lets you grep through the names of running processes, returning just the PIDs. pkill takes that a step further, killing the matched processes1. The cool thing is that both support tab-completion under zsh.
-
A note of warning: pkill will kill processes that match only partially. So
pkill Finder
will killFinder
andFinderSynExt
processes. Be careful! ↩
Resurrecting this Blog for NaNoWriMo
Spellcheck your Markdown in Vim
Vim comes built-in with a spell-checker as powerful as graphical text editors like Sublime and Atom, but it isn’t enabled by default because it generally isn’t handy when writing source code. It can be handy though when writing documentation, blog posts, or other in markdown (or your favorite documentation syntax).