linux-coder

Linux one-liners: Using the standard Find command to replace 3rd party fuzzy finders

When trying to solve a problem using Linux you can rest assured that someone has come across it before, and probably solved it back in the seventies. Everyone needs to search their hard drive for files and open them in a program of their choice. Using a mouse-driven desktop file explorer is terdious, so what is the best way to do it without leaving the beloved terminal? There are a lot of command-line ‘fuzzy finders’ that all vie for your attention. Don’t waste your time, Linux has the find command built-in and it can do basic fuzzy file searching in one line! You just need to unravel the cryptic syntax and wrap it up in a function. ...

January 12, 2021 Â· 3 min Â· David
70s-Mens-Fashions

Typescript Airbnb Style Guide Optimized for Prettier in One JSON File

The Airbnb Style Guide is one of the most popular and comprehensive set of ESlint rules. Sadly there is no official version for TypeScript, but there is eslint-config-airbnb-typescript. It does all the painstaking work of making the Airbnb linting rules compatible and optimized for TypeScript and TypeScript ESLint. While you can install and set things up the usual way using NPM, if you are using Prettier things get very complex and the dependencies pile up fast. ...

November 16, 2019 Â· 10 min Â· David