gaiety / Simple nginx static site docker compose

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1753035666
No build steps or anything fancy, easy to throw into a static project
1 name: nginx-static-site
2 services:
3 client:
4 image: nginx
5 ports:
6 - 80:80
7 volumes:
8 - ./:/usr/share/nginx/html

gaiety / dotfiles-link.sh

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1753035078
Links need to be absolute, which is hard when you don't know where a git repo will be cloned to. This helps with that!
1 # Link current directory instead of having to always do absolute
2 ln -s "$(pwd)/cool-tool" ~/.config/cool-tool

gaiety / ecto-dynamic-list-within-list-query.sh

0 curtidas
0 bifurcações
1 arquivos
Última atividade 1752987893
Adding a check of an elixir list compared to a PostgreSQL array
1 def query(filters, dynamic) do
2 dynamic(
3 [features],
4 ^dynamic and fragment("? && ?::varchar[]", ^features, item.features)
5 )
6 end
Próximo Anterior