Doctrine ORM embeddables

When you have more than one entity having common properties such as address or geolocation coordinates for example, rather than duplicate those properties on each entity they can be split out into reusable value objects and embedded into those entities for better separation of concerns.

Read more →

GNU Stow

I use GNU Stow in order to have important .dot files, usually located in separate directories in the filesystem, version controlled in git from a designated repository. Easier to use a tool like this than to do it manually.

Read more →

Nix-shell

According to the manual:

The command nix-shell will build the dependencies of the specified derivation, but not the derivation itself. It will then start an interactive shell in which all environment variables defined by the derivation path have been set to their corresponding values, and the script $stdenv/setup has been sourced. This is useful for reproducing the environment of a derivation for development.

How does that help me?

Read more →