Here's my current Elixir VSCode snippets elixir.json
file.
You can add it to VSCode by Ctrl/Cmd+Shift+P
and choosing Preferences : Configure User Snippets
, then opening elixir.json
. If you don't have one yet, you can create a new snippet file in the...
By default users other than root cannot open ports below 1000, for security reasons. If you want to - say - run your website in Elixir without nginx on port 80 or 443, you can allow the Erlang binary to open ports below 1000 using setcap (run as root):...
One annoying detail about web forms is that on submission (unless you are using changesets) all the values come back as strings. This forces you to have to handle the correct formats before, say, passing those params into a service module to execute...
One of the things that always makes me crazy is window organization on the desktop. OSX has pretty good apps to manage windows, but i always find Linux a bit lacking so i decided to roll out my own simple solution.
It's written in Elixir because i like...