How to write beautiful, interactive Slack posts (Slack Block Kit)Have you ever wanted to convey information via Slack in a more visually appealing way? Slack makes it super simple to add emphasis to your…Nov 21, 2022Nov 21, 2022
Quantifying Happiness — by listing 3 positive things per daySeveral months back I read what quickly became one of my favourite books of all time, The Happiness Advantage, by Shawn Achor. The reason…Mar 17, 2022Mar 17, 2022
Migrating from GitLab to GitHubHaving recently undergone an acquisition, I was tasked with the fairly standard post-merger task of migrating our existing codebase over to…Feb 23, 20221Feb 23, 20221
Migrating from MediaWiki to ConfluenceOne of the most valuable assets a software company holds, is its documentation. Although not as important as the code itself, documentation…Feb 23, 2022Feb 23, 2022
The ONLY correct way to handle users changing their email addressLike many people who have been on the internet for more than 5 years, I have been burdened with an outdated email address for some time…Jul 27, 20212Jul 27, 20212
What is LeetCode, and why do I post solutions to it on Medium?A few months back, I entered the crazy world of LeetCode.Jan 25, 20212Jan 25, 20212
Sorting algorithms 101In the world of programming, there are many ways to sort data. For the average engineer, you might just use .sort(), perhaps with a…Jan 16, 2021Jan 16, 2021
LeetCode problem #39: Combination Sum (JavaScript)In this LeetCode problem, we’re given an array of numbers, and a target. Our job is to come up with every possible unique way to make that…Jan 11, 20211Jan 11, 20211
LeetCode problem #237: Delete node in a Linked List (JavaScript)In this LeetCode problem, we’re asked to delete a node from a Linked List. However, we aren’t given the Linked List’s head, and are instead…Jan 7, 2021Jan 7, 2021
LeetCode problem #234: Palindrome Linked List (JavaScript)In this LeetCode problem, we’re given a Linked List, and asked to determine whether or not it (or rather, its values) represents a…Jan 7, 20211Jan 7, 20211
LeetCode problem #395: Longest substring with at least K repeating characters(JavaScript)In this LeetCode problem, we’re given a string str) and an integer (k), and asked to return the longest substring of str, which is made up…Jan 6, 2021Jan 6, 2021
LeetCode problem #412: FizzBuzz (JavaScript)In this LeetCode problem, we’re given what is arguably the best known programming challenge out there: FizzBuzz. For those few of you who…Jan 5, 2021Jan 5, 2021
LeetCode problem #454 — 4Sum II (JavaScript)In this LeetCode problem, we’re given an array of numbers and asked to find the number of combinations — made by taking 1 number from each…Jan 5, 2021Jan 5, 2021
Quick Sort (JavaScript)Quick sorting is a sorting algorithm that focuses on placing a single value of an array in its correct position for each iteration. It does…Dec 29, 2020Dec 29, 2020
Merge Sort (JavaScript)Sorting data is a notoriously slow process. In real life, if you’re given a list of 10 numbers and asked to sort it, you’ll probably first…Dec 28, 2020Dec 28, 2020
LeetCode problem #35 — Search Insert Position (JavaScript)In this LeetCode problem, we’re given an array of ordered integers, and a target integer, and asked to return the index of where the target…Dec 27, 20202Dec 27, 20202
Binary search (JavaScript)Searching through data is painful, whether it’s in a database, a spreadsheet, or even on a piece of paper. Even in code, searching data…Dec 27, 2020Dec 27, 2020
LeetCode problem #34 — Find First and Last Position of Element in Sorted Array (JavaScript)In this LeetCode problem, we’re given an array of ascending numbers, and a target number, and asked to find both the first and last index…Dec 23, 20202Dec 23, 20202
LeetCode problem #33 — Search in Rotated Sorted Array (JavaScript)In this LeetCode problem, we’re given an array of numbers, and a target number, and asked to find the target number in the array (or…Dec 22, 2020Dec 22, 2020
LeetCode problem #32 — Longest Valid Parentheses (JavaScript)In this LeetCode problem, we’re supplied with a string of parentheses (( and )), and asked to find the length of the longest valid…Dec 21, 2020Dec 21, 2020