The Craftsman's Blog
Andi Altendorfer, e-Matrix Innovations
A playground and sandbox for
Altex
Andi, 2019-04-28
OBSOLETE! Today there are better ways to deal with your config.
Today, I wrote my fourth HEX-package and published it on “hex.pm”.Exconfig at hex.pmExconfig at Github
When deploying via Docker-images I had some issues because the docker-image
was compiled with System-ENVs which was used at compile-time and so was acti....
Andi, 2018-10-17
I’m using Elixir as a scripting language for the shell
And it’s that easy …
Write a file, hello.exs for example.#!/usr/bin/env elixirdefmoduleGreeterdodefhello(name),do:IO.puts"Hello, #{name}!"end# MainGreeter.hello(hd(System.argv())
Don’t forget to chmod +x hello.exs and then use the script from
the terminal....