Forwarded from Tech Nerd (Tech Nerd)
Something I learned this week: You can either always be right or create something new.. but not both. People who never want to be wrong will say your idea wonโt work, and at first, theyโll be right. Because doing something new means failing along the way. But if you keep going, youโll prove that the real path to success isnโt about always being right.. itโs about learning from being wrong.
@selfmadecoder
@selfmadecoder
๐ฅ6๐1
This media is not supported in your browser
VIEW IN TELEGRAM
I learned about squashing commits using the
As you can see in the previous post, when trying to make the release github action work, I fix one thing and push that with the same commit just increasing the version number (to make the automatic build get triggered). After I got it right my commit history was a mess so i searched on how I can make it clean and got the
- where N is the number of commits you want to squash, mine was 14
This will open your default editor, mine is
Then you will change all the
The video is me learning vim macros along the way. (changing all
git rebase command.As you can see in the previous post, when trying to make the release github action work, I fix one thing and push that with the same commit just increasing the version number (to make the automatic build get triggered). After I got it right my commit history was a mess so i searched on how I can make it clean and got the
git rebase method and its really simple.git rebase -i HEAD~N
- where N is the number of commits you want to squash, mine was 14
This will open your default editor, mine is
nvim btw (you can set the $EDITOR variable to nvim in your .zshrc, .bashrc or .config/fish/config.fish to get rid of that nano bullshit ๐)Then you will change all the
pick`s to `squash except the first one to squash all the others to the first one, after that you will enter a new commit or leave the old one and you are done.The video is me learning vim macros along the way. (changing all
pick`s to `squash)โ1๐ฅ1
I built [mycaps] last summer to show you guys how I use my keyboard partially and today I got another cool method of remapping modifier keys (
You should check it out if you are showing gang signs to press 2 and more modifiers with the default layout ๐๐.
Um using a tool called [keyd] but you can use [KMonad] too which is cross-platform.
meta, alt, ctrl, shift) called [homerow mods]. its really cool and I setup my keyboard today and learning it really well since its really intuitive (at least for me). You should check it out if you are showing gang signs to press 2 and more modifiers with the default layout ๐๐.
Um using a tool called [keyd] but you can use [KMonad] too which is cross-platform.
โก1๐1
This media is not supported in your browser
VIEW IN TELEGRAM
I will have trust issues if you have two fully functioning calculator apps on your phone.
๐คฃ11