Category Archives: Uncategorized

Using stack on NixOS

I’ve got myself a new laptop recently and decided to try NixOS. It’s been a great experience so far, but there are some rough edges. One of them is stack not completely working out of the box for my projects.

Posted in Uncategorized | 4 Comments

Using Caps Lock as Menu/Apps keys on Emacs

I’m an ergoemacs-mode user, a mode that changes most key bindings so that they put less strain on your hands.  For example, it uses Alt instead of Ctrl most of the time, which is easier to press: use your curled … Continue reading

Posted in Uncategorized | 2 Comments

Changing NetworkManager route metrics

If you use NetworkManager with more than one interface, you probably want to control the metric of their routes. Here’s one way you can do it.

Posted in Uncategorized | 2 Comments

Abstracting permissions with Yesod

Yesod is a terrific framework for web applications in Haskell.  It has many, many built-in features.  One of them is that there’s nice support for authentication and authorization.  In this post I’m interested in talking about how you could write … Continue reading

Posted in Uncategorized | Tagged , | 2 Comments