Object Spread vs Object Assign

Object Spread vs Object.assign() when extending an object

Setting up Deno

Notes on setting up Deno

Javascript Object Prototype and Inheritance

Learning notes on object prototype and inheritance

Disable Hotkey Shortcuts in Windows

How to disable specific hotkey shortcuts

Web API Streams

Guide to Web API Streams

Mouse Sensitivity on Arch

Configure mouse sensitivity setting on arch

Computer Networking A Top Down Approach

Notes dump from the book

Implement Search on 11ty Static Site

How to implement search and indexing on an 11ty static site

Screen Brightness in Arch

Adjusting screen laptop brightness in Arch with keybindings

Profiling Nodejs App

Profiling to find out resource intensive operations

Format USB Stick in Arch

Steps to format USB Stick in Arch

Securely Wipe Storage Device

Steps to securely wipe storage device on Arch

Timing Attacks

Timing attacks with implementation examples in Nodejs

Configure Touchpad in Arch

Customize touchpad behavior in Arch + xorg

Upgrade Node with NVM

How to upgrade node with nvm

Algorithm Collection

A collection of neat and useful algorithms

On git-flow and GitHub Flow

Comparison of both approaches

Grids in Graphic Design

Article on the history of grid usage and general tips

Package Management on Arch

Guide for common package management operations

SQS Lambda Integration

Case study SQS and Lambda systems

Momentjs utcOffset

Note on momentjs timezone offset

Notes from Typescript type-challenges

Notes from going through type-challenges

Parsing and Formatting

On how to create custom parsing and formatting tools

Heredoc

Here document in Shell

Append to File with Shell

Various ways to append text to file in Shell

Blocking Code and Async Study

A study on blocking code with async/await and process.nextTick

Testing with Jest

Advanced approaches in Jest testing

Setup Multiple Git Accounts

Setup multiple git accounts and SSH keys with gitconfig

Understanding IP Addresses

IP Addresses, subnets and CIDR notation

NPM Notes

Collection of NPM Guides

Shell Globbing

Globbing syntax

Loops in Bash

Walkthrough different loop syntax in Bash

Bash Double Bracket Test

Behavior of Bash Double Bracket Tests vs. Single Bracket Tests

Errors in Shell Scripts

Throwing errors and error handling

Shell Parameter Expansion

A list of shell parameter expansion features

Bash Learning Notes

A dump of notes when learning Bash

Bash Special Variables

Walkthrough Bash Special Variables

EventEmitter Pattern with React

Emtting and Listening to Events between Components

Setup eslint on React App

Guide to setup eslint on react app

Parsing Command Line Arguments

Parse command line arguments in shell script

Data Access Object and Lazy Loading Pattern

Construct a Data Access Object with Lazy Loading of relational data

Javascript Design Patterns

A guide through 10 design patterns

Stream Piping Patterns

Nodejs stream piping patterns - combine, fork, merge, multiplexing and demultiplexing streams

Asynchronous Control Flow with Streams

Managing asynchronous tasks with Nodejs streams

Nodejs Streams

A thorough explanation of Nodejs streams, stream types, custom implementation of streams, and piping streams

Upsert with Knexjs and MySQL

How to create an UPSERT database operation with Knexjs

Promises as a Convenience Structure for Async Code

Demonstration that Promises only provides a syntactic structure and does not make code run asynchronously

MySQL Boolean Data Type

How to handle boolean data type in MySQL

JSDoc Cheatsheet

A JSDoc Cheatsheet

API Endpoints with User Dependent Resources

API design for private, user dependent resources

Knexjs Initialization

Setting up Knexjs. Making db connection, setting default timezone and verifying connection

Octet Stream MIME Type

application/octet-stream MIME type in HTTP requests

Buffer and Streams

A comparison between buffer and streams

D3 Selection and Binding Data

Binding data to DOM elements with select(), data(), enter()

Higher Order Components

Introduction to Higher Order Components

Unit Integration and End-to-end Testing

An introduction to unit, integration and end-to-end testing concepts

CORS Explained

Write-up on the workings of CORS

Expose API with Promises and Optional Callback Feature

API pattern that exposes both Promises and Callback interfaces

ES6 Generators

Introduction to ES6 generators and possible design patterns

Sequential Execution of Promise based Tasks

Execute Promise based tasks sequentially, one after another.

Promisifying Callback based API

Adding Promise interface to callback based API

Promises Then Method under the Hood

Internal workings of then() method

Testing Asyc Functions with chai-as-promised

Testing async functions with chai-as-promised npm

Mocha Root Level Hooks

Using root level hooks with Mochajs

Extract CSS from Webpack Bundle

Set up webpack to extract CSS from bundle.js to separate .css file during production build

Webpack Export Function

Export function for production from webpack.config.js

Nodejs Express errorHandler Method Signature

Express errorHandler number of required arguments

createReadStream Path argument

Path argument in fs module usage

Access Cameara with MediaDevices API

Access camera feature with Browswer MediaDevices API

Iterate Asynchronously in Sequence

Pattern that iterates through an array of tasks and runs them asynchronously and in sequence

Iterate Asynchronously in Parallel with Concurrency Limit

Pattern that iterates through array of tasks and runs them asynchronously and in parallel with a concurrency limit

Iterate Asynchornously in Parallel

Pattern that iterates through array of tasks and runs them asynchronously and in parallel

Throwing Errors in Async Context

Using callback patterns to pass errors in Async Context in Nodejs

Extending the Substack Pattern

An extensible pattern to export modules in nodejs

Nodejs Catch Uncaught Exceptions

Catching uncaught exceptions in nodejs

EventEmitter Pattern

EventEmitter pattern and typical gotchas

Object Oriented vs Functional Programming

A comparison between Object Oriented Programming and Functional Programming

ES6 Class with Validation and More

ES6 class encapsulating an object model, validation methods and serializing/deserializing methods

Installing Docker and Docker Compose

Guide to installing Docker and docker-compose

SVM Parameters

Parameter description for Simple Vector Machine ML algorithm

Promise All

promise.all() basics

Setup Python3 in Ubuntu

Setup Python3, package manager and virtual environment

Dockerfile Basics

Create a Docker image with Dockerfile

Docker Compose Notes

Various notes on docker-compose

Get Flex Elements to 'float-right'

Make Flex Elements 'float-right' within a row in layout

Exporting Express App to a Module

Exporting Express app from application entry point

Element Width Based on Content

Make element width dynamic based on content with CSS.

Setup pm2 and Configure Ecosystem Config File

Setup nodejs app with pm2 and configure with ecosystem.config.js file

Unix Brace Expansion

Brace Expansion and shorthand for making backup files

Shell Script to Auto-deploy with Git Hook

Shell script to run npm commands and auto-deploy with Git Hook

Multi-Threading with ExecutorService

Execute multi-threading with Executor Service in Java

Getting Started with DigitalOcean

Guides for SSH, nginx, Git Hooks, pm2, HTTPS

Guidelines on REST APIs

Notable points on REST API design

Git Cheatsheet

Common git commands

Javascript Closures

Learning notes and examples