Skip to content

Instantly share code, notes, and snippets.

pg_dump --host 100.101.10.90 --port 5432 --username uma_centos105 --table=XXX --data-only --column-inserts uma_centos105 > data.sql
git update-index --skip-worktree <filename>
git reset --hard origin/<BRANCH>
pg_restore -Fc -h 100.101.10.90 -U muc --data-only -d <DBNAME> <FILENAME>
echo 3 | sudo tee /sys/class/graphics/fbcon/rotate
jmap -dump:live,format=b,file=<FILENAME> <PID>