February 21, 2021 | 18:30

Love Boredom

I was talking to Jason today, discussing aspects of life and building habits. Last week was pretty rough, devoid of motivation to maintain my habits. To which he said to me, “to fall in love with boredom” and passed me a couple of blog post from James Clear. How to Fall in Love With Boredom and Unlock Your Mental Toughness How to Stay Focused When You Get Bored Working Toward Your Goals Lessons on Success and Deliberate Practice from Mozart, Picasso, and Kobe Bryant The first blog was one I could relate to in an instant. Read more

May 2, 2020 | 18:30

git config

Git comes with this handy tool that let’s you manage your Git configuration with ease. Configuration Levels --local (Default) Local configuration values are stored and managed at the repository level. The values are stored in a file found in the repo’s .git directory: .git/config If you are planning to set some configuration only to be used by the specific repo you are in, then go ahead with using --local. Read more

July 28, 2019 | 18:30

Force git to use git:// instead of https://

I’m an advocate of using SSH authentication and connecting to services like Github, Gitlab, and many others. I do make sure that the use the git:// URL while cloning the repo but sometimes I do make mistake of using the https:// instead. Only to later realise when git prompts me to enter my username to authenticate the SSH connection. This is when I have to manually reset my git remote URL. Read more

February 3, 2019 | 18:30

Editing Git commits from history

Let’s say you’ve raised a Pull Request on GitHub with 3 commits as shown below. d46d2f8a (HEAD -> feature, devel/feature) Add Fedora system to handle the Fedora Cloud images f726b033 vendor: Add new dep dbdbda67 Split release and pre-release to handle multiple systems Here, d46d2f8a is the HEAD, followed by f726b033 and dbdbda67. Your reviewers go through the commits, and suggest changes to some files. The suggestions now need to be applied to the commit dbdbda67. Read more

January 22, 2019 | 18:30

Vim, Wish I knew this about you before!

Almost all my life since I have started working around open source projects I have been a Vim user. That does not mean that I did not look into other options. I’ve tried my hands on Emacs, Sublime Text, Visual Studio Code, Atom, et cetera. But, none of them pleased me like vim. 2018, I started working on Golang, and vim had to adapt to my needs, but it did not quite succeed and I made my switch to neovim around the end of the year. Read more

© Sayan Chowdhury 2021

Powered by Hugo & Kiss'Em.