Skip to content

Instantly share code, notes, and snippets.

View anirban94chakraborty's full-sized avatar
🎯
Focusing

Anirban Chakraborty anirban94chakraborty

🎯
Focusing
View GitHub Profile
@bradtraversy
bradtraversy / docker-help.md
Last active May 11, 2025 15:39
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@henriquemenezes
henriquemenezes / postgresql-set-id-seq.sql
Created March 31, 2016 12:23
PostgreSQL set Next ID Sequence Value to MAX(id) from Table
-- Get Max ID from table
SELECT MAX(id) FROM table;
-- Get Next ID from table
SELECT nextval('table_id_seq');
-- Set Next ID Value to MAX ID
SELECT setval('table_id_seq', (SELECT MAX(id) FROM table));