January 2, 2019

Embedding version string from Leiningen project

Frequently, inside my Clojure applications, I would put project version string picked from Leiningen project.clj file. This way, it would solve me these problems:

  1. User can easily report what application version was affected with some issue.
  2. Version number is updated only once.
  3. Leiningen lein change version leiningen.release/bump-version (automatic version number increase) works as well.

In the past, used this code:

Continue reading →

October 16, 2018

Multiple SSH host aliases

When I'm dealing with SSH connections using key pairs, usually I put this in my ~/.ssh/config:

Host <easy-to-remember-host>
Hostname <ip-address>
 User <user>
 IdentityFile ~/.ssh/id_rsa_host_key


Continue reading →

June 12, 2018

declutter - read online content without clutter

Last two days I've been hacking on a small Emacs mode called declutter and this will be the first version announcement.

What is declutter and why?

I often use Emacs to read long, online articles, which gives me plenty of options - I can save text for offline reading, I can read content with my favorite color and terminal setup, I have my shortcuts for fast navigation and so on.

Continue reading →