aliquote.org

Latest micro-posts

You can also also view the full archives of micro-posts. Longer blog posts are available in the Articles section.

2019-05-13 19:00 #

I have no regret now that I took some time to reread this chapter on Mastering Eshell. A few days back, I decided to switch back to Doom Emacs and to use a very minimal configuration, which means no fancy zsh or bash terms, just plain Eshell. #emacs

2019-05-13 18:59 #

Computational Genomics With R, by Altuna Akalin. #rstats #bioinfo

2019-05-13 18:53 #

Here is a handy script to automagically create and edit a new Hugo post from a Terminal:

#!/usr/bin/env bash

set -e
cd ~/Sites/aliquote
POST="$1"
DATE=$(date '+%Y-%m-%d-%H-%M-%S')
if [ -z "$POST" ]; then
  read "Filename: " POST
fi
if [ "$POST" = "now" ]; then
    POST=$DATE
fi
hugo new "micro/$POST.md"
(
    sleep 0.2 && vim "$HOME/Sites/aliquote/content/micro/$POST.md"
)

I’ve put this in my ~/local/bin directory, which is in my $PATH.

2019-05-13 18:52 #

Things You Should Never Do (TL;DR: rewrite code from scratch).

2019-05-13 14:07 #

grv – Git Repository Viewer

2019-05-13 10:17 #

TIL degit appears to be a good alternative to git clone for project scaffolding (via Tom MacWright); Heroku won’t let you store flat files on their ’ephemeral’ servers so easily–see the 12-factor app principles.

2019-05-12 21:04 #

  Norah Jones, Begin Again.

2019-05-12 20:57 #

In the meantime, here is what I’ve been cooking a few minutes ago…

2019-05-12 20:50 #

I’ve been pretty quite these past few days. It might even be a little longer if I don’t get back to writing online. Part of this distance comes from the fact that, first, I had to deal with side-effects of my medications; second, I’ve spent too much time fighting useless things; and, third, I have no obligation to publish anything anyway, which in a way suits me a lot (I keep writing on my paper notebooks, though).