GIT Commands git init → start tracking git add → select files git commit → save snapshot git remote add → connect GitHub git push → upload
GDB Commands List breakpoints - info breakpoints Delete all - delete Delete one - delete Disable - disable Enable - enable next - go to next line step - go inside function continue - run till next breakpoint print var - print variable bt -show call stack
Newly Learned Stack
-
🧠 One-line memory trick private constructor → “No one can create me” delete copy → “No one can duplicate me” getInstance() → “Only way to access me”
-
SINGLETON “A Singleton ensures a class has only one instance and provides a global access point while preventing copying and assignment.”
-
EXTERN 👉 “This variable exists somewhere else — trust me”