I hereby claim:
- I am nicolkill on github.
- I am nicolkill (https://keybase.io/nicolkill) on keybase.
- I have a public key ASBJ0HBIoaIwKblJUq1McpOcuwVgQFTZgB3dnZXwdItHfgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
docker run -it --rm -v (pwd):/app -w /app elixir:latest mix do local.rebar --force, local.hex --force, archive.install hex phx_new, phx.new your_name |
defmodule Nicolkill.Cache do | |
@moduledoc """ | |
Cache wrapper for store key: value in ETS | |
""" | |
@cache_table :cache | |
defp init_table() do | |
if :ets.info(@cache_table) == :undefined do | |
:ets.new(@cache_table, [:set, :public, :named_table]) |
some task that you can do using docker instead install the tool directly in your computer
dump data from external database, important add the network of the container
docker run -it --rm -v ${PWD}:/tmp --network project_network_default postgres pg_dump -c -f /tmp/dump.sql postgresql://postgres:postgres@postgres:5432/postgres