Simple Elixir implementation of magical portals from Jose Valim's post on howistart.org