Categories
Tutorials

Setting environment variables in Node and React

An environment variable is a variable that is set from outside an application, usually from the operating system. If you’re using Linux, MacOS or Windows, your operating system already has some default environment variables which you can access from your terminal or from inside an application that you are writing. Some most popular examples of […]

Categories
Terminal Troubleshooting

Fixing sed error “undefined label” and “invalid command code” on MacOS

The life of a programmer is hard. There are moments that we encounter bugs and have absolutely no idea why it’s happening. These occasions challenge our troubleshooting skills. Let’s look at a scenario with sed where the same line of code which works on MacOS won’t work on Linux and vice-versa (I’m testing on Ubuntu) […]

Categories
WordPress

Fixing the ‘Another update is currently in progress.’ Error in WordPress

If you ever see the error Another update is currently in progress, it means that WordPress has been updating one of its components (maybe a theme, a plugin or even the WordPress core) and something got messed up and the update process didn’t finish successfully. You’ll even get that error if you’re updating via WP-CLI: […]

Categories
Terminal Troubleshooting

Fixing “Warning: Failed to set locale category…”

You often get this rather annoying warning in your terminal on a freshly installed operating system (or each time until you decide it’s annoying enough to be fixed). For example when you are using wget, your terminal will serve you these warnings. You have a configuration issue with your computer’s or server’s locale. We’ll tackle […]

Categories
Web Performance

The target=”_blank” vulnerability

When someone is writing articles for a website or a blog, they often want to link the article to an external website. It’s common practice to make the link open in a new tab so that the website visitor can easily get back to your tab and continue browsing around – consequently increase your Google […]

Categories
COVID-19

Corona? COVID-19? What the duck?

Since the last four months, everyone has been hearing a word they are not used to: Coronavirus – and it seems that many of them are using the words Corona or Coronavirus when talking about the current pandemic. To keep it simple, a Coronavirus is a term used to call a specific group of viruses […]

Categories
Random

Hello again, world!

Multiple years of taking down my old blog, and after receiving thousands of requests to start the blog again (that’s the way influencers say two persons asked for something, right?), I’m thinking I’m back to having a blog. via GIPHY I’m not sure how long I’ll hold the blog, I have set up a simple […]