Skip to main content

Posts

Showing posts from April, 2026

Exploring CLI: Better Bash Scripts with Bashly Part 2

  I enjoyed the srcset project so much that I want to create a set of scripts for creating and managing my projects. In recent Linux news it's been said that the home directory will have a Projects folder by default. I have always created this folder anyway and the scripts I will be creating assume this path exists or will create it if it doesn't. This post will spotlight the new-website command. To recap what I said in the first part of this series, I aim for my scripts to follow some basic guidelines when possible and ideal: a command does one thing and does it well a command should be able to accept data from pipe The new-website script, like the previous srcset project, is simple. I bounce back and forth between different project directory structures for websites and I am aiming to try and stick to one convention and have some uniformity (writing this I am thinking of changing it already in the script). Everyone seems to have their own preferred way of laying things out. I ...

Making Windows 11 Usable

Introduction: After several years of avoiding the Windows ecosystem, I recently decided to reinstall it on one of my secondary machines. My primary goal was to refresh my technical knowledge, especially given the increasing number of requests I’ve received for Windows-related troubleshooting. I’ve never been a fan of the restricted "Home" experience, so I went straight for a Windows 11 Pro lifetime license. One lesson learned: because modern licenses are often tied to an Outlook account, this makes the machine slightly less resale ready than I originally anticipated. The Hardware:  The machine in question is a ThinkPad Yoga 11e (6th Gen) . While it isn't a powerhouse, its form factor makes it a personal favorite for "on-the-go" tasks. It has a dual core Intel m3-8100y CPU with a base frequency of 1.10GHz that supposedly can reach 3.4GHz. The 8GB of RAM is soldered on. The Installation Hurdle: The setup was largely predictable, with one exception: Windows 11’s ...

Exploring CLI: Better Bash Scripts With Bashly Part 1

The main reason I prefer Unix/Linux over Windows operating systems is the terminal. Nix terminal shells just feel cleaner and organized to me than that of CMD or PowerShell. I won't claim to be an all knowing expert on the subject, I can only speak on what I've experienced, but the preference is 95% based on the feel of it overall. The Unix CLI philosophy and POSIX standards provide us with a powerful and versatile tool with simple commands that each do one thing and do it well. Spend some time typing out some PowerShell 'one-liners' then jump in a Nix terminal and I am willing to bet you will at least understand. Bash has been around a long time with version 0.99 being released in 1989. It's mature, programmable and versatile. Bash is the default shell of many popular linux distributions and used to be the default for Mac  OS before the switch to zsh. Some common commands we use are actually shell scripts (e.g gunzip, ldd and which). I am not a Bash programming exp...