code Type guard a filtered array with TS user-defined type guards. When you filter a mixed type array, the new typing is not passed to the new array. In the example below the returned type of the array is `(string | number
Small Data Project For the last couple of months I've been creating a Wikipedia for data like website with an open API (Small Data Project). I've been hesitant to post about it but
Sometimes I get bored and make stuff like this. Sometimes I get bored and make stuff like this. Run this in your browser console for a bit of fun.
code A Short Introduction to TensorFlow.JS So this is a quick introduction for machine learning with JavaScript. Above is a series of numbers. You can work out pretty easily that Y = 2X – 1. How you worked
SynthWave '84 Theme I added @robb0wen's SynthWave '84 theme to https://carbon.now.sh. Get it while it's hot.
Cryptolist I hear Bitcoin is on the rise. I created this tool a while back. `npx cryptolist` Offers currency conversion `npx cryptolist -c aud`. Get a list of the current prices
code Get the currently playing song on Triple J via the Command Line I made a tiny npm library that gets the currently playing song on the radio station Triple J. This tool works on the command line. If you have npx installed,
code Slack Beer Bot I created a simple slack beer bot. It allows you to search for beer. In slack type /beer then any beer you want to look up. Here are a few
code What would a Immediately Invoked Class Expression look like in JavaScript? What would a Immediately Invoked Class Expression in JavaScript look like. This is the question I asked myself. I couldn’t find anything online, so I created one. Below we
code NPM Module classList-helper version 1.1.2 classList updateI’ve just updated the npm module https://www.npmjs.com/package/classlist-helper to 1.1.2 It now has full unit testing. IntroductionA Element.classList method helper function
code npm browser-classes I’ve just released version 1.0.1 of a new npm module browser-classes. https://npmjs.com/package/browser-classes browser-classes Adds browser classes to document body. For better cross-browser SCSS
code GIT Cheat Sheet As a front end developer tools like source tree and Webstorm’s GIT GUI are life savers. But sometimes you need to open up the terminal to work with your GIT repo. Over the years I’ve saved a few commands that I use