Skip to content

Useful notes and a collection of free or freemium resources for programmers

Notifications You must be signed in to change notification settings

amirlogic/useful-links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Useful Resources for Programmers

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

Git

Branches

List existing branches:

git branch

Option -r causes the remote-tracking branches to be listed, and option -a shows both local and remote branches.

git branch -r

Change branch:

git switch otherbranch

or:

git checkout otherbranch

Create new branch:

git switch -c newbranch

Remember: git clone only brings one branch

Set upstream: https://www.youtube.com/watch?v=wBc0WcyTtOA

Stash

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

Merge

Typically from the main branch:

git merge other-branch

Can 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

Reverse commits

Rewinds back 5 commits, keeping changes

git reset HEAD~5

Rewinds back 3 commits, discarding changes

git reset --hard HEAD~3

git 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

Pull requests

https://www.youtube.com/watch?v=jRLGobWwA3Y

Misc

Free resources for developers https://free-for.dev/#/

Online development environment https://codesandbox.io/

Color Palettes https://colorhunt.co/

HTML Templates https://htmlrev.com/

Remember

Premature optimization is the root of all evils (unknown author)

Contributions are welcomed

About

Useful notes and a collection of free or freemium resources for programmers

Resources

Stars

Watchers

Forks