Hey, I'm Nick!

Welcome to CoderRocketFuel.

I'm a software developer from Wisconsin, USA. This site contains software development guides, snippets, and musings. All written by me.

All Posts

Get a User's Cookie Data Before the Page Loads in Next.js

2-28-2023

Programmatically Focus a Textarea Element in React.js

2-27-2023

Show a Confirm Window Before Executing a Function in React.js

2-26-2023

Only Return Certain Table Columns in a SELECT PostgreSQL Query

2-25-2023

Remove All Line Breaks From a String in JavaScript

2-24-2023

Choose the Directory Name When Cloning a Git Repository

2-23-2023

Stop Git From Committing the node_modules Directory in a Node.js Application

2-22-2023

Stop Git From Committing a .env File in a Node.js Application

2-21-2023

Get the Current Version of Ubuntu via the Command Line

2-20-2023

Pause an Async Function for 3 Seconds in Node.js

2-19-2023

Get the Location of Globally Installed NPM Packages

2-18-2023

Get a List of Globally Installed NPM packages on Your Machine

2-17-2023

Fix the "error:0308010C:digital envelope routines::unsupported" Error in Create-React-App

2-16-2023

Programmatically Scroll to the Top of a Web Page Using JavaScript

2-15-2023

Reload the Current Page Using JavaScript & Keep the Same Scroll Position

2-14-2023

Open a URL in a New Window Using Purely JavaScript

2-13-2023

Stop a User From Selecting the Text of an HTML Element

2-12-2023

Remove All Duplicates From an Array of Strings in JavaScript

2-11-2023

Add an Object to the End of an Array of Objects in JavaScript

2-10-2023

Make an API Request Before a Page Loads in Next.js

2-9-2023

Empty an Array in JavaScript

2-8-2023

Create a this.state Object for a React.js Component

2-7-2023

Set a Different Timezone on a Ubuntu Machine via the Terminal

2-6-2023

Get the Current Timezone of a Ubuntu Machine via the Terminal

2-5-2023

Convert a UNIX Timestamp to a YYYY-MM-DD Format

2-4-2023

Run a Next.js Application on a Different Port Number

2-3-2023

Programmatically Get the Favicon Image for a Website

2-2-2023

Save File Changes Without Exiting the Nano Editor

2-1-2023

Determine if the Nano Editor is Installed on Ubuntu

1-31-2023

Exit the Nano Editor Without Saving Changes

1-30-2023

Close/Exit the Nano Editor on Ubuntu

1-29-2023

A Complete Guide To Markdown

1-28-2023

Bootstrap A REST API With Node.js, Express.js, & MongoDB

1-27-2023

How To Load Environment Variables From An .env File In Node.js

1-26-2023

Store Passwords In MongoDB With Node.js, Mongoose, & Bcrypt

1-25-2023

Get A Next.js Website Indexed On Search Engines

1-24-2023

Create A Custom 404 Error Page For Your Next.js Website

1-23-2023

Deploy A Node.js Application To DigitalOcean With HTTPS

1-22-2023

Create Custom Error Pages For A Next.js Website

1-21-2023

7 Methods For Working With Directories In Node.js

1-20-2023

Create Custom 500 Error Pages For A Next.js Website

1-19-2023

Create & Connect To A MongoDB Atlas Database With Node.js

1-18-2023

How To Deploy A Next.js Website To A DigitalOcean Server

1-17-2023

How To Create, Read, Update, & Delete Cookies In JavaScript

1-16-2023

Add A Robots.txt File To Your Next.js Website

1-15-2023

How To Create A Website With Next.js & React.js

1-14-2023

Using Bcrypt To Hash & Check Passwords In Node.js

1-13-2023

3 Different Ways To Remove A Property From A Node.js Object

1-12-2023

Publish Text, Image, Gif, & Video Twitter Posts Using Node.js

1-11-2023

Add Twitter Card Data To A Next.js & React Website

1-10-2023

Send Emails With Node.js Using Mailgun & Nodemailer

1-9-2023

Add Environment Variables To A Next.js Application

1-8-2023

Truncate a String At a Given Length Using JavaScript

1-7-2023

Get A Next.js Website Indexed On Google

1-6-2023

How To Add HTML Head Element Tags To A Next.js Website

1-5-2023

Retrieve Query String Parameters From A URL In Next.js

1-4-2023

How To Serve Static Files From A Next.js Application

1-3-2023

How To Add A Meta Description Tag To A Next.js Website

1-2-2023

How To Add A Title Tag To A Next.js Website

1-1-2023

Add Favicon Images To A Next.js Website

12-31-2022

How To Navigate To A New Page Using JavaScript

12-30-2022

Get The URL Origin (Server Name) Of A Web Page In JavaScript

12-29-2022

Get The URL Domain (Hostname) For A Web Page In JavaScript

12-28-2022

Get The URL Hostname & Port Of A Web Page Using JavaScript

12-27-2022

Store MongoDB Credentials As Environment Variables In Node.js

12-26-2022

Remove A User's Sudo Privileges On Ubuntu

12-25-2022

Convert An Array Into A Comma-Separated List In JavaScript

12-24-2022

Generate A Random Letter From The Alphabet Using JavaScript

12-23-2022

How To Check If A Character Is A Letter Using JavaScript

12-22-2022

List All The Members Of A Group On Ubuntu

12-21-2022

How To List All Sudo Users On Ubuntu

12-20-2022

Copy A Folder To A New Location Via The Terminal On Ubuntu

12-19-2022

How To Kill A Process On Debian Using The Command Line

12-18-2022

Install Node.js On Ubuntu 19.04

12-17-2022

Get The Name Of The Current Weekday In Vanilla JavaScript

12-16-2022

How To Kill A Process On Ubuntu Using The Command Line

12-15-2022

Get The Current Year Using Node.js

12-14-2022

How To Uninstall Node.js On Ubuntu 19.04

12-13-2022

Using The String Includes() Method With Node.js

12-12-2022

Get The Number Of Files In A Directory Using Node.js

12-11-2022

How To Convert Bytes To KB, MB, GB, Or TB Format In Node.js

12-10-2022

How to Get the Size of a File Using Node.js

12-9-2022

Get the Total Size of All Files in a Directory Using Node.js

12-8-2022

Push an Item to the Beginning of an Array in JavaScript

12-7-2022

How to Convert an Array Into an Object Using JavaScript

12-6-2022

How to Use the String toLowerCase() Method in Node.js

12-5-2022

Convert Milliseconds to a Date in Vanilla JavaScript

12-4-2022

Convert a Unix Timestamp to a Date in Vanilla JavaScript

12-3-2022

How to Get the Stats for a File in Node.js

12-2-2022

Make an HTTP POST Request With Node-Fetch & Node.js

12-1-2022

Using the String toUpperCase() Method in Node.js

11-30-2022

How to Rename a Directory in Node.js

11-29-2022

How to Round a Number to Decimal Points in Node.js

11-28-2022

Recursively List All the Files in a Directory Using Node.js

11-27-2022

Create a New Directory in Node.js

11-26-2022

How to Make an HTTP POST Request with Axios & Node.js

11-25-2022

How to Remove Whitespace From a String in Node.js

11-24-2022

Check if a Directory Exists in Node.js

11-23-2022

Stop Create-React-App from Opening a Browser Window on Start

11-22-2022

Handle GET Request Query String Parameters in Express.js

11-21-2022

How to Convert a String to a Number in Node.js

11-20-2022

How to Combine Two Arrays in Node.js

11-19-2022

Get the Path of the Current Working Directory in Node.js

11-18-2022

Create & Deploy an Express REST API to a DigitalOcean Server

11-17-2022

Run a Node.js Application On Multiple CPU Cores Using Cluster

11-16-2022

How to Copy Text to The Clipboard in React.js

11-15-2022

Get the Number of System CPU Cores Using Node.js

11-14-2022

Run a Node.js HTTP Express.js Server on Multiple CPU Cores

11-13-2022

Open Create-React-App In a Specific Browser

11-12-2022

Recursion in React: Render Comments with Nested Children

11-11-2022

How to Compress JPEG Image Files Using Node.js

11-10-2022

How To Compress WEBP Image Files Using Node.js

11-9-2022

How to Use Axios with React

11-8-2022

How to Add Comments in Node.js

11-7-2022

How to Play a Mp3 Sound File in React.js

11-6-2022

Combine Two Strings with Concat() in Node.js

11-5-2022

Move a System File To a New Directory with Node.js

11-4-2022

3 Ways to Convert an Array to an Object in Node.js

11-3-2022

Convert a SVG File to JPEG Format Using Node.js & Sharp

11-2-2022

Remove a Directory's Files & Sub-Directories in Node.js

11-1-2022

Convert SVG to PNG Using Node.js & Sharp

10-31-2022

Copy a System File & Move it To a New Directory in Node.js

10-30-2022

Compress a PNG Image Size By Up To 75% With Node.js

10-29-2022

Convert Between JPEG & BMP Files Using Node.js & Jimp

10-28-2022

Difference Between a Npm Dependency & devDependencies

10-27-2022

How to Use Map() to Loop Over & Render an Array in React.js

10-26-2022

Convert Between PNG & TIFF Files with Node.js & Jimp

10-25-2022

Get the Ether Balance For An Ethereum Address With Web3.js

10-24-2022

Convert Between PNG & BMP Files Using Node.js & Jimp

10-23-2022

How to Dangerously Set innerHTML in React

10-22-2022

Convert Between JPEG & TIFF Files with Node.js & Jimp

10-21-2022

How to Delete a File From a Directory with Node.js

10-20-2022

Convert PNG to JPG or JPG to PNG With Node.js & Jimp

10-19-2022

List All of the Files in a Directory Using Node.js

10-18-2022

How to Run a Npm Start Script With PM2

10-17-2022

Validate Bitcoin & Altcoin Wallet Address Types with Node.js

10-16-2022

Remove Blue Outlines from Links in Chrome & Firefox

10-15-2022

Embed a Dailymotion Video into a React Website

10-14-2022

Embed a Streamable Video into a React Website

10-13-2022

Add a Facebook Video to a React Application

10-12-2022

Embed a Vimeo Video into a React Website

10-11-2022

Add a Soundcloud Player to a React Application

10-10-2022

6 Different Ways to Create a React Web Application

10-9-2022

Embed a Youtube Video in a React Webpage

10-8-2022

3 Ways to Loop Over an Array Using Node.js

10-7-2022

How to Add Disqus to a React Application

10-6-2022

Parse, Edit, & Write Changes to XML Files With Node.js

10-5-2022

Guide to Installing Node.js on Windows, Linux, or MacOS

10-4-2022

Put Spaces Between Text in HTML

10-3-2022

Default Nginx Sites-Available Configuration File Contents

10-2-2022

Fix 404 Error When Using React-Router-Dom & Nginx

10-1-2022