Skip to content

Instantly share code, notes, and snippets.

View LeoFalco's full-sized avatar
🎯
Focusing

Leonardo Falco LeoFalco

🎯
Focusing
View GitHub Profile
cat $(find . -name package-lock.json | grep -v -e node_modules -e bower_components | paste -sd " ") | md5sum | cut -d ' ' -f 1
cat $(find . -name package-lock.json -not -path "*/node_modules/*" -not -path "*/bower_components/*" | paste -sd " ") | md5sum | cut -d ' ' -f 1
git log --graph --decorate $(git rev-list -g --all) --oneline
update table set target_column=jsonb_set(source_column::jsonb, '{targetProperty}', 'newValue'::jsonb, true)::text where false