Achieving a linear commit history with git rebase, solving merge conflicts, and reviewing changes with git range-diff.
Computer Science learning blog
Achieving a linear commit history with git rebase, solving merge conflicts, and reviewing changes with git range-diff.
Adding custom error messages to Joi.js validation: using custom labels, referencing other fields, using the values passed to validation in the error message.
Configuring webpack to add references to files dynamically. Additional configuration to load files to pug.
Interactive demonstration of Floyd’s Hare and Tortoise algorithm.
Implementing a heap in JavaScript using an array. A heap returns its minimum (or maximum) element in O(1) and adding elements to a heap is performed in O(log n). Heap sort is also implemented.