Search
Locate Empty Directories from Command Line
1.11.2022
As a software engineer that lives too much of his life on a computer, I like keeping my machine as clean as possible. I don’t keep rogue downloaded files and removes apps when I don’t need them. Part of keeping a clean, performant system is removing empty directories. To identify empty...
Command Line trash
24.10.2021
One of the first commands you learn when experimenting with command line is rm, the utility for deleting files and directories. Deletion is a core computer UI operation but operating systems use a “Trash” paradigm, where files are stored before truly deleted. With the rm utility...
Employment Search Websites Show a Vast Amount of Jobs in the Bitcoin and Blockchain Industry
3.4.2021
As the crypto economy has swelled to close to $2 trillion in value globally, the businesses and operations behind it continue to expand. This means that a great number of companies are hiring and a quick look at popular online directories shows there’s a slew of jobs available. Bitcoin...
How to delete all node_modules directories from your computer
8.7.2020
Nice tip from Chris Ferdinandi:
My node_modules directories contained 50mb of stuff on the small side, and over 200mb of files in some cases. Over a few dozen projects, that really adds up!
Two dozen projects with 200 MB worth of node_modules? That’s nearly 5 GB of space for...
BCH Merchant Directories Now List 4,300 Bitcoin Cash-Accepting Businesses
10.2.2020
Businesses around the world continue to adopt bitcoin cash (BCH) and in 2020 merchant acceptance continues to grow. Tallying up all the companies that accept BCH listed on sites like Green Pages, Map.Bitcoin.com, Acceptbitcoin.cash, and Anypay shows there’s more than 4,300 BCH supporting...
Git Pathspecs and How to Use Them
19.9.2019
When I was looking through the documentation of git commands, I noticed that many of them had an option for <pathspec>. I initially thought that this was just a technical way to say “path,” and assumed that it could only accept directories and filenames. After diving into the rabbit hole...
Get File MIME Type from Command Line
28.2.2019
I’ve gotten skilled at shell scripting over the years. I love a good GUI but knowing how to automate makes you a much more powerful engineer. Much of my scripting requires recursing over directories and processing a file if it meets a given criteria, which is often file extension or MIME...