Latest Posts

How to install Redis on Arch/Manjaro

Created: 2019-05-11 | Updated: 2019-05-11
Tags: Linux

This is a very easy one. Install, enable, and start.

yay redis
systemctl enable redis
systemctl start redis

View Post

How to install Postgres on Arch/Manjaro

Created: 2019-05-11 | Updated: 2019-05-11
Tags: Linux, Postgres

Install Postgresql with yay.

sudo yay postgresql
sudo yay postgresql-libs

Initialize

sudo su postgres -l # or sudo -u postgres -i
initdb --locale $LANG -E UTF8 -D ...

View Post

Simple belongs_to/has_many associations with Phoenix

Created: 2019-04-27 | Updated: 2019-04-28
Tags: Elixir, Phoenix

Coming from a Rails background, there are a few gotchas that I had to work through to make the magic happen. For this example I am using exercises and sets. Each set belongs to an exercise and ea...

View Post