Perspectives
Latest writing
-
Explaining the Angular Error: 'Expression Changed After It Has Been Checked'
One of my colleagues encountered an error message while developing an Angular frontend application. The error message read:
Read more -
Writing Unit Test Cases with Karma for Angular Components
I'd like to make the case for writing unit tests for your Angular web app. Accelerating time to production is not a valid excuse for accumulating technical debt. Here are some…
Read more -
Set Up a Django Server with Apache Virtual Host and Python Virtual Environment
It took me some time to get everything working together, so I'd like to document the steps to save you time in the future.
Read more -
Stop Downloading Apps for Everything
Apps are becoming increasingly irrelevant. There's no need to download ineffective software when browsers can serve as adequate substitutes. The primary benefit of using apps is…
Read more -
Install Ubuntu 20.04 LTS on MacBook Pro 14,1
Ubuntu 20.04 has just been released, and I couldn't wait to try it out and install it on my MacBook Pro 14.1 model. In this post, I will detail what works, what doesn't, and how…
Read more -
Handling Browser Close Events with JavaScript
In certain scenarios, you may not want users to close their browser and exit the session. For instance, if a user is in the middle of filling out a form without saving, or in…
Read more -
Import npm Modules into AWS Lambda Function
When you create a Node.js Lambda function on Amazon Web Services (AWS) and begin editing it using the online editor, you might want to run npm install and import a third-party…
Read more -
Fix WordPress Plugin Installation Permission Issue
When attempting to install a plugin in WordPress, I encountered the following error:
Read more -
Fix WordPress with All Pages Returning 404 Not Found
I encountered a strange issue with WordPress: while the homepage loaded properly, all the other pages failed to do so. Instead, an error page displayed the message:
Read more -
Fixing Endless Redirection with HTTPS Settings in WordPress When Using AWS Load Balancer
I set up a WordPress blog on two Amazon Web Services (AWS) EC2 instances located in different availability zones. In front of these instances, an Elastic Load Balancer (ELB) is…
Read more -
Installing PHP 7.2 Instead of PHP 5.4 on Amazon Linux 2
When you launch a new Amazon Linux 2 AMI server and try to install PHP using the following command:
Read more -
Reading Large Files Using Node.js
I recently faced the task of analyzing a massive dataset consisting of log files. When I attempted to open the file in Excel, my laptop simply froze. Given the limitations of…
Read more