Rust Development Environment with AstroNvim and rust-analyzer
21 December, 2022
As a budding Rust programmer, I recently found myself wanting to set up a local development environment that would allow me to easily write…
21 December, 2022
As a budding Rust programmer, I recently found myself wanting to set up a local development environment that would allow me to easily write…
13 February, 2020
A Closure in JavaScript gives you access to an outer funtion's scope from an inner function. This is useful for a number of things, but…
12 February, 2020
We can use a "data-*" attribute in our html to make accessing DOM elements for our unit tests more easily. Grabbing elements based on id…
06 February, 2020
Here is a useful code snippet that allows you to pass in an array of objects, and then filter out the objects that have duplicate key values…
02 February, 2020
In JavaScript, const and let are both ways to declare variables, but they have some important differences. const stands for "constant." When…
19 January, 2020
A higher-order function is a function that takes one or more functions as arguments, or returns a function as its result. Higher-order…
18 January, 2020
Here is a simple little script that checks a directory for node module and prints the total damage done: To remove them use: