Suman ChapaiRedoing git mergetool using vimdiffWhen you save and exit out of files in vimdiff, git thinks that you’ve resolved the conflicts. If you haven’t, you can tell git so usingJun 14Jun 14
Suman ChapaiJSON prettify command line pipeIf you fetch JSON through curl or other cmd utlity and want to see it prettified, simply pipe your original command to python -m json.tool…Mar 11Mar 11
Suman ChapaiUpdating major version in your go packageIf you are updating major version of your go package, you must also modify the go.mod file with the version tag. This is to address the go…Feb 27Feb 27
Suman ChapaiAdding git files with asterisks. pattern matchhttps://www.tempertemper.net/blog/adding-files-for-a-commit-with-asterisksFeb 9Feb 9
Suman ChapaiVim quickfixPretty useful when using with telescope… select items with tab, open selected with quickfix using meta-qJan 21Jan 21
Suman ChapaiProxy vs Reverse ProxyProxy, literally, is a “representative”, something/someone that can act on the behalf of others. In networking sense, a proxy is a server…Sep 5, 2023Sep 5, 2023
Suman ChapaiSleek. GoGo’s source code is always so sleek. This mostly comes from the Unix-y authors who like the Go authors and their relatives were mostly…Sep 3, 2023Sep 3, 2023
Suman ChapaiIO in Go / Unix.Python being my first language, I wasn’t used to the idea that stdin, stdout are merely files (or at least treated as such). Everything is…Sep 3, 20231Sep 3, 20231