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
cover-art

Neovim Explained: How to Build a Plugin-Free Nvim Config That Unlocks Builtin Features

Neovim (aka Nvim) is a radical refactor of Vim. It aims to take Vim, improve the code, and add more features. They are mostly compatible but have slightly different defaults. The settings in this Neovim tutorial should also work with the latest Vim. Neovim is a text editor, but it can be configured with plugins to be closer to an IDE. Plugins are a big subject we are not going to cover in this tutorial, we are aiming to get a minimal working setup with zero bloat. ...

August 24, 2020 Â· 8 min Â· David
centos-logo-correct

CentOS 8 Setup for Developers

CentOS 8 is a free version of RHEL 8 which was branched from Fedora 28. I consider this new version of CentOS to be the first viable long term support version of Fedora. In this article, I will discuss why CentOS 8 is amazing for developers, and walk you through my install script to make downloading all the additional software you need easy and automatic. Many people consider CentOS to be only for server use. In the past, it has been hard to setup for development and as a general use desktop. This is not true anymore, so follow along and join me on this magical journey into the promised land of stability and up-to-date applications! ...

June 1, 2020 Â· 5 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

Configuring Fedora & Localhost Setup

This is the first part of my series of step by step guides to turn Fedora into the ultimate web development platform. I am going to assume that you have Fedora installed already, or are comfortable installing it yourself. Once you are up and running, just run the terminal application and follow along to set up your perfect development environment. In this guide we will discover: How to set the host name, and why it’s important. Which repositories to install and how to do it. How to setup subpixel rendering to improve font appearance. How to setup and configure your LAMP environment for localhost development.

November 5, 2017 Â· 6 min Â· David

Linux for Web Development Guide

Many years ago a good friend of mine named his pet rat Linux. I had heard of this mysterious operating system before, but tales of days spent configuring hardware drivers, and cellar-dwelling neck beards scared me away. Why bother using it, never mind naming your rat after it!? In this guide we will discover: Exactly what Linux is, and how it differs from Windows and Mac. Why we should use it for web development. Exactly which version of Linux is best for the job.

November 1, 2017 Â· 5 min Â· David