Brian Childress


Tracing Node's Garbage Collection

In this blog post I'll show you a quick way to peak into Node's garbage collection.


Upsert in PostgreSQL Using ON CONFLICT

If you need update a row in PostgreSQL if it already exists OR create a new row if it doesn't already exist, using the ON CONFLICT command will do it


Keeping Long JavaScript Strings Readable in Code

If you have a really long JavaScript string that is hard to deal with in your editor use string concatenation to make it manageable.


Merging an Upstream Repo into Your Fork

In this post we go over the commands and steps needed to update your personal fork with any upstream changes.


Removing Objects from Array with Duplicate Values Using .reduce()

We'll take a look at an easy way to remove objects from an Array in JavaScript using the .reduce() method


Useful Postgres / PSQL Commands

List of often used commands when working with PostgreSQL OR SQL in general


Calculating NodeJS API Response Time

In this blog post I'll show you how to create a simple response time middleware that helps give valuable information about the speed and possibly health of your NodeJS API


Simple Polling Solution Using setTimeout()

In this blog post I'll show you how to implement a simple polling solution using setTimeout() instead of setInterval()


Using Variables with Sed in Bash

If you need to use sed to handle some find and replace functionality of text, here are some ways to make your commands more maintainable over time.


Access the Docker Engine API from inside a Docker Container

If you need to access the Docker Engine's API from inside a container, Docker makes it really easy to do