Enhancing Your React Application with Environment Variables
source code screenshot When building a React app, there may come a time when you need to tweak the behavior of your application based on different environments. This might be in relation to API endpoints, feature toggles, or other configuration data. Here’s how to use Environment Variables to manage such configuration in a flexible and reliable manner.
Posted in TechnologyChatGPT for Pair Programming
greek statue on emacs For nearly a year now, I’ve had a side project in mind: creating a minimal version of Emacs with org-mode. This idea stemmed from my experience with Spacemacs, which, while intuitive, was plagued by sluggish performance. Finally, thanks to the assistance of ChatGPT, I was able to iterate and complete approximately 150 lines of Emacs configuration code, resulting in a lean and user-friendly org-mode client that suits my needs.
Posted in TechnologyTaming My Temperamental Logitech G213
Frustrated Laptop user Recently, my trusty Logitech G213 keyboard had started causing me problems, with a handful of keys misbehaving and making me retype search queries over and over again. This wasn’t the usual sticky key situation. A simple press of ‘N’ would sometimes throw in an extra ‘NN’ or type nothing at all. The same thing was happening with ‘G’ as well.
Posted in TechnologyConnect a domain to S3 using Cloudfront vs Cloudflare
AWS Woes Why is it not possible to have a single CNAME record on Cloudfront, but it is on Cloudflare?
Posted in TechnologyGit commit lint
Thanks DALL-E! Recently, I was re-introduced to git commit linting. I used it a long time ago, and I do believe there was some sort of a templating tool to make things easier. Here’s a quick run of what I had to do yesterday.
Posted in Technology