Pinnedleangaurav·Feb 28, 2023Common mistakes when using golang’s sync.WaitGroupThis will be your WaitGroup crash course. Lets see step by step the incorrect and correct way to use sync.WaitGroup in golang.A response icon4A response icon4
leangaurav·Nov 8How to Wake Up with a Clear Head (Every Single Day)Sometimes I would wake up early morning, very easily in a peaceful mental state with no effort at all and sometimes it would feel so hard…
leangaurav·Sep 28How to Use Alipay in India to Pay on Chinese Websites (I used for Deepseek)I wanted to use OpenCode with Deepseek models for my software projects. So I signed up on Deepseek which requries you to top-up the wallet…
leangaurav·Dec 26, 2025How I got my Oracle Cloud Free tier account back with MFA resetFor a long time I couldn’t login to my Free OCI account as my phone setup with MFA got reset. Finally found a way to connect to OCI…A response icon1A response icon1
leangaurav·Mar 24, 2024How to add swap space to Ubuntu Linux Server to prevent it from FreezingIf you see your server freezing. It might be because it’s going out of memory. Fix this by simply adding swap space to your server !!
leangaurav·Oct 24, 2023General keyboard(and mouse) productivityQuick list of simple shortcuts for productivity, I personally use as an Engineer and wish the guy pair programming with me used as well…
leangaurav·Sep 11, 2023Type Alias vs Type Definition in GoType alias defines a new name for existing type vs type definition defines a new type from an exiting type. So what’s the difference ?
leangaurav·Apr 21, 2023All about defer statement in golangDefer statement allows you to defer cleanup actions for later. In this post, we see how to use it correctly and some gotchas to avoid bugs.
leangaurav·Mar 1, 2023Caching: What to choose Redis or MemcachedHow choose between Memcached or Redis for your caching needs.
leangaurav·Feb 15, 2023Bored of jupyter notebooks | Try out some new themesJupyter notebook has an awesome plugin called jupyterthemes to help you switch themes quickly.