How to Review GitHub Pull Requests When Building a Node.js App
Posted on October 21, 2019 in Git, GitHub, Node.js by Matt Jennings

In a GitHub repo checkout the Pull Request (PR) branch name, like cool-feature-branch.
In your Terminal, to fetch all remote branches
Read more…

Express Code Used for Form Submissions
Posted on August 21, 2019 in Expresss, Node.js by Matt Jennings

When NOT using body-parser the two lines of code must be used for form submissions:

// Sets up the
Read more…

Fixing MySQL Workbench Issues on macOS Mojave
Posted on August 5, 2019 in MySQL by Matt Jennings

If you are having problems opening a new connection in MySQL Workbench in macOS Mojave, follow the commands below (per these
Read more…

Remove Duplicates from Array in JavaScript
Posted on July 24, 2019 in Algorithms, JavaScript by Matt Jennings

function removeDuplicates(arr) {
var arrNoDupes = [];

// Iterate through array passed in by parameter

Read more…

Node.js module.exports and require Examples
Posted on July 22, 2019 in Node.js by Matt Jennings

band.js Output

module.exports = {
punk: ‘Sex Pistols’,
rap: ‘Public Enemy’,
Read more…

To Top ↑