Posts

Snowpack - Running Tests with @web/test-runner

Set up @web/test-runner

Snowpack recommends that @web/test-runner be used as the test runner of choice. Using this setup will allow you to conveniently run tests that would run in the browser after the Snowpack dev server has started.

First, install the dependencies found in the "devDependencies" in package.json with

npm install @esm-bundle/chai @snowpack/web-test-runner-plugin @web/test-runner
Categories: #shell #JavaScript
Tags: #NodeJs
Rust - Quick Picks #1

Ripgrep-all

Using ripgrep-all will enable you to search more than just within source code files, it lets you search inside content such as "PDFs, E-Books, Office documents, zip, tar.gz, etc." due to it leveraging ripgrep. This versatility brings a search tool that is close to what you expect from an operating system index file search, except now you can have a more targeted searching experience.

Categories: #rust
Rust - fzf Alternative with Skim

Using an interactive CLI search tool can be a big productivity booster when you are uncertain of which files contain the term you are trying to seek out. You will end up performing multiple searches at a time and may jump into multiple files in doing so. GUI tools will be able to perform such a task, but using Skim offers you the ability to perform this task much faster since it is a keyboard focus tool with instant feedback in mind.

Categories: #rust #shell