gaiety / update_with_from_join.sql

0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 2 days ago
https://neon.com/postgresql/postgresql-tutorial/postgresql-update-join
sql
1 UPDATE table1
2 SET table1.c1 = new_value
3 FROM table2
4 WHERE table1.c2 = table2.c2;

gaiety / Git Alias - Merge latest main

0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 1 month ago
Git Alias to Merge Main into Current Branch
1 [alias]
2 update = "!update() { git fetch && git merge main --no-edit; }; update"

gaiety / Simple nginx static site docker compose

0 beğeniler
0 çatallar
1 dosyalar
Son aktivite 3 months ago
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 beğeniler
0 çatallar
1 dosyalar
Son aktivite 3 months ago
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
Daha yeni Daha eski