I never imagined this day would come. I am finally trying to catch up with the RoR phenomenon. And I am at least 8-10 years late. Teaching enterprise software development made me appreciate a strict adherence to coding best practices even more. That’s where Rail’s philosophy got me interested, especially its Convention over Configuration doctrine. What […]
Category: Coding & Tech
Software development quirks and technologies that interest me.
Prevent Redis client from crashing your Node.js app
Posted on under Coding & Tech — 1 CommentRedis is a high-performance in-memory database that is often used for data caching on server-side. The redis npm package makes is nice & easy to use Redis to cache data in a Node app. If you are new to Redis, you will find this tutorial on Coligo helpful in implementing data caching in your own […]
Authentication for your Node/Express based APIs
Posted on under Coding & Tech — Leave a commentThis post is not a tutorial, just some thoughts on the topic. There are plenty of tutorials out there that talk about protecting your RESTful Node/Express based APIs using some form of token-based authentication. Some of them are pretty straightforward to follow, some not. But most of them have one thing in common — delegating the […]
WordPress: Internal Server Error (500) after moving to new location
Posted on under Coding & Tech, Tutorials — Leave a commentYou follow the official WordPress migration documentation and still end up with the dreaded internal server error. This little incident launches you into panic mode. You spend the next 30-60 mins googling a fix for this godforsaken situation. Most of the solutions you come across mention something about fixing/deleting your .htaccess file. Alas, that doesn’t work […]
Running opentaps in Windows
Posted on under Coding & Tech, Tutorials — Leave a commentSo I’m playing around with opentaps these days. It runs pretty neatly in Linux. Simply executing a shell script it comes with autostarts a built-in Tomcat server and runs the darn thing without a hitch. opentaps under Windows is another animal! Although opentaps comes with a similar batch script for Windows, the thing doesn’t run […]