A collection of valuable notes and resources for programmers
I used to have too many opened tabs in my browser, now I'm sharing my links with the community
| Group | Topics |
|---|---|
| Python | Pandas - NumPy - Matplotlib |
| Javascript | Node.js - React |
| SQL | |
| Media | ImageMagick - FFMpeg - 3D |
| LLMs | MCP |
List existing branches:
git branchOption -r causes the remote-tracking branches to be listed, and option -a shows both local and remote branches.
git branch -rChange branch:
git switch otherbranchor:
git checkout otherbranchCreate new branch:
git switch -c newbranchRemember: git clone only brings one branch
Set upstream: https://www.youtube.com/watch?v=wBc0WcyTtOA
Puts unstaged changes aside, for example before switching branches
git stash To also include unstaged files:
git stash -u For more detail: https://www.youtube.com/watch?v=-aPoRU5W8lA
Typically from the main branch:
git merge other-branchCan also be done using the option --no-commit to perform check before applying changes
git merge and rebase: https://www.youtube.com/watch?v=0chZFIZLR_0
Conflicts: https://www.youtube.com/watch?v=HosPml1qkrg
Rewinds back 5 commits, keeping changes
git reset HEAD~5Rewinds back 3 commits, discarding changes
git reset --hard HEAD~3git reset deletes commits, you can also use the revert command to reverse commits by making new commits that cancel changes.
For more detail: https://www.youtube.com/watch?v=zV-XwShNx3o
https://www.youtube.com/watch?v=jRLGobWwA3Y
Free resources for developers https://free-for.dev/#/
Online development environment https://codesandbox.io/
Color Palettes https://colorhunt.co/
HTML Templates https://htmlrev.com/
Premature optimization is the root of all evils (unknown author)
Contributions are welcomed