Articles
1,163 articles

The Broken Code Myth: How to deal with Programming Books
In this post I will share a series of personal thoughts concerning a tendency that can be easily observed when reading most programming books review sites such as Amazon, Kobo, Goodreads and the likes. I called this syndrome The Broken Code Myth, which pretty much
9 min read
Key features of a competitive Single-Page Application (SPA)
To put it briefly, a Single-Page Application (also called SPA) is a web-based application that struggles to provide the same user experience as a desktop application. If we consider the fact that all SPAs are still served through a web server and thus accessed by
3 min read
Spectre and Meltdown CPU vulnerabilities: what you need to know
In the past 24 hours, two critical flaws in Intel, AMD and ARM CPUs were publicly released to the public. Both of them were originally discovered last year by Google’s Project Zero team: their name are Spectre and Meltdown and are caused by a technique
10 min read
How to perform a Deep Copy / Deep Clone of an object in ASP.NET C#
The ability to perform a true deep copy of an object is a classic requirement for most software developers. For those who need to understand the key difference between a deep copy and a shallow copy of an object, let’s quickly summarize it: A Deep
6 min read
How to set Time, Timezone and System Clock in Linux CentOS, Fedora & RHEL using timedatectl
If you need to replace the default timezone of your Linux installation with your own timezone you can do that using the timedatectl command, a new utility for the distributions based on RHEL/CentOS 7 and Fedora. This handy tool comes shipped together with the systemd
3 min read
Windows Users in Administrators Group without Administrator rights - How to Fix
Here’s a common issue that every Windows System Administrators will experience sooner or later when dealing with Windows Server (or Windows 10) and its odd way to handle the Administrators group and the users within it. Let’s start with the basics: as everyone knows, all
4 min read
AngularJS Vs. ReactJS - A Comparative Study
The new Angular framework, recently updated to its 5th release, is a kind of development environment whereas ReactJS is more of a Java Script library; and they both are efficient tools for interactive front end development. In the ear of tight deadlines, making a right
4 min read
How to create a self-signed TLS SSL certificate for Apache or NGINX to accept HTTPS requests on port 443
In this article we’ll show you how to create a self-signed TLS/SSL certificate and configure it in Apache or Nginx web server to allow secure, encrypted connections. This tutorial will take for granted that you don’t already have purchased a TLS/SSL certificate for your domain
9 min read
NGINX Rate Limiting: how to protect your web site from HTTP request flood, DoS and brute-force attacks
We already talked a number of times of Nginx, allegedly one of the best web server, load balancers and HTTP accelerators out there these days. Among its most useful, but often misunderstood and misconfigured features there is rate limiting, which can be effectively used to
11 min read
MySQL function (and query) to convert a string into a slug for readable URL permalinks
Today I had to fix a nasty issue in one of my PHP-based websites: to put it into few words, I needed to find a way to trasform a number of post titles into slugs, meaning that I had to remove accents, diacritics, special characters
2 min read
How to automatically set File System Permissions for a WordPress Web Server with a BASH Script
Everyone who wants to make his WordPress web site more secure should definitely spend at least one hour of his life reading the Hardening WordPress chapter of the WP official guide: this is an extremely long list of security countermeasures that any good Webmaster should
3 min read
How to secure VSFTPD FTP Server using a self-signed SSL/TLS certificate in CentOS 7 - FTPS
In this previous post we explained how to install and configure a FTP server in Linux CentOS 7 using the popular VSFTPD open-source package. As we have clarified there, the File Transfer Protocol is not secure by design because it doesn’t encrypt data being transmitted
6 min read