Til
Creating databases when starting the Postgres Docker container
We usually need to setup multiple databases to work locally, at least one for development and one for testing. Here is a cool trick to create them automatically when the Postgres docker container starts..
read articleDisplay a message when you enter a directory
I kept forgetting about the usage of a tool and decided to display a help message automatically as soon as I entered the directory. This way, I stop losing time and feeling bad about myself. Here is how!
read articleAn alias to easily debug PHP scripts
The command to start debugging PHP scripts takes a lot of options. I wanted to free my memory from having to remember everything and created an alias to save me time, keystrokes and brain power.
read articleGenerating dates and UUIDs easily in PhpStorm
Typing a date or generating an UUID is something you have to do a lot while writing tests. Here is a tip that allows to do so with only a few keystrokes in PhpStorm.
read articleAn alias to learn aliases
I’m trying to learn aliases to reduce the typing I need in the console but I can’t remember them. I’ve created an alias to help me !
read articleTesting that a GenServer exited
We can test that a GenServer exited by monitoring its process
read articlePassing data to session while testing in Elixir
It's not as hard as it seems to pass data to the session while testing a Phoenix application
read article