All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
gaiety's Avatar

gaiety / Git Alias - Merge latest main

0 likes
0 forks
1 files
Last active 11 months ago
Git Alias to Merge Main into Current Branch
alias git
1 [alias]
2 update = "!update() { git fetch && git merge main --no-edit; }; update"
gaiety's Avatar

gaiety / update_with_from_join.sql

0 likes
0 forks
1 files
Last active 9 months 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's Avatar

gaiety / test_cleanup.exs

0 likes
0 forks
1 files
Last active 8 months ago
elixir
1 describe "my awesome testing describe" do
2 setup do
3 starting_value = Application.get_env(:cool, :beans)
4
5 on_exit(fn ->
6 Application.put_env(:cool, :beans, starting_value)
7 end)
8 end
9 end
Newer Older

Powered by Opengist ⋅ Load: 50ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ Links ⋅ Portfolio ⋅ Git