Catalin Vasile

I'm a design-focused engineer.

JavaScript Bits: slice() vs splice()

A common confusion among developers is the difference between how the slice() and splice() Array methods work. A really short summary would…

JavaScript Bits: How to convert snake-case to camelCase?

Converting a String from snake case to camel case in JavaScript requires three simple steps: First, capture a group of or and the next…

JavaScript Bits: How to capitalize the first letter of a String?

Capitalizing the first letter of a String type in JavaScript is quite easy. All you have to do is separate the first letter, make it…

JavaScript Bits: Understanding var vs let vs const

In this guide, we’ll explore in depth how the , and keywords work in ES6+. We’ll take each of them apart, see how they work and how we…

How to Update Certbot

The TLS-SNI-01 validation is reaching end-of-life and this is forcing us to update our ACME clients to use an alternative validation method…

JavaScript Bits: How to copy an Array?

In JavaScript there are multiple ways to copy an Array type. In this short guide, you will learn how to copy them using both ES5 and ES…

JavaScript Bits: How to merge two Arrays?

In this short guide, you will learn how to merge two types in JavaScript. Keep in mind that the methods available are highly dependent on…

Using Gulp 4 with ES6 (Babel)

Creating your with ES6 (using Babel) for Gulp 4 is quite straightforward. Let’s assume you have an empty directory with only Gulp…

How to use FontAwesome 5 in Nuxt

1 . Nuxt FontAwesome Make sure to install the nuxt-fontawesome module for Nuxt. 2 . FontAwesome Icons Install your preferred FontAwesome…

How to fix node-sass: gyp ERR! Can't find Python executable 'python' on Windows

If you’re here, there are a few chances that you’re probably getting an error among these lines while installing an NPM package for Node…

Creating a Role-Based User Authentication System with Angular, Express and MySQL - Part 3: The Frontend

Here we are at the last part in the series. ⚠️ Note: This article is now archived and won’t be updated, however the core logic demonstrated…

Creating a Role-Based User Authentication System with Angular, Express and MySQL – Part 2: Finishing the Backend

In this post, we will finish our application’s RESTful API by introducing user roles, routing and new endpoints so new users can register…

Creating a Role-Based User Authentication System with Angular, Express and MySQL - Part 1: Setting up the Backend

In this series, we will go through the process of creating role-based user authentication system using Express, MySQL, Sequelize…