Colors.js Debacle

There’s been a lot of discussion about the colors.js project lately. Most are talking about developer burnout and big companies taking advantage of open source developers. This particilar person decided that he was sick of companies “making millions of dollars” from his work and wanted to draw attention and stop them from using his software. Sorry, but no one is making millions of dollars from colors.js. If the project didn’t exist, corporate developers would either write some code themselves to output text in color or just output text without color. [Read More]

Restore Gnome Titlebar Buttons

I’ve been trying out tiling window managers lately and I recently installed Regolith into my existing Ubuntu installation. After logging out of my Regolith session and back into my Gnome session, I noticed the window titlebar buttons were missing. Gnome Tweaks only allowed me to get back the minimize and maximize buttons. To get the close button as well, I had to run the following command: gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close,' Hope this helps someone else. [Read More]

Enabling Hibernation on Ubuntu

The default install of Ubuntu (in my case 19.10, but it’s been the same for all the releases I’ve ever installed), doesn’t support hibernation. Most laptops I’ve had support hibernation on Ubuntu. I wish Canonical would make it an option during install. So, the first thing I did was install Ubuntu and I selected the option to encrypt the entire drive. This has the side-effect of using LVM (Logical Volume Manager) on the disk. [Read More]

Fix No Wifi After Resume on Ubuntu

Similar to the issue I had on Fedora, when I resume from sleep on Ubuntu, my wifi connection looks like it is up, but I’m unable to access any network resources. Unfortunately, unloading and reloading the wifi adapter kernel module didn’t work this time around. I found that restarting the Network Manager service after resume made the network accessible. So, I created a script to restart it after the system was resumed. [Read More]

No Wifi Access After Resume From Sleep on Linux

i’ve recently been having problems with my WiFi connection after my laptop comes out of sleep mode. After resuming, the NetworkManager looks like the connection is OK, but nothing on the network is accessible. I did a little searching and found out there are some known problems with some WiFi drivers not dealing with the resume properly. If you unload the kernel module before suspending and load it again after resuming, everything works fine. [Read More]

Tips for using Docker from git-bash on Windows

I’ve run across a few problems when running Docker CLI commands from git-bash on Windows. I use Linux on my home machines, but Windows at work. I use git-bash on Windows, instead of Powershell or CMD, so that I’m not constantly switching command line environments. TTY Often, I use Docker containers to run an interactive Linux environment to use tools that are either not available on Windows or that I don’t want to figure out how to install. [Read More]

Git Extras

Git Extras
I use Git every day. I’m pretty comfortable using it from the command line, but there’s a lot of advanced things that I just can’t remember how to do off the top of my head. There’s also a lot of command sequences that I type over and over. I recently came across the Git Extras project that provides a lot of useful plugins for Git that make using it a little less tedious. [Read More]

Fix Docker Will Not Start Error On macOS

Fix Docker Will Not Start Error On macOS

I recently updated Docker on my Mac and began getting errors that it was not able to start the daemon:

com.docker.osx.hyperkit.linux failed to start
Exit code 1

I tried uninstalling and re-installing, to no avail. After doing a little searching, I came across an issue on the Docker Github repo with some tips.

The short fix is:

rm ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2

Hope this helps someone.

Installing FreeNAS on an HP EX485 MediaSmart Server

I bought an HP EX485 MediaSmart Server years ago. I was working at Microsoft at the time and it ran Windows Home Server, so I thought I should support the home team and try it out. It worked well for storing photos, home videos, etc. When the next version of Windows Home Server was released, I upgraded. Eventually I left Microsoft and Microsoft stopped supporting Home Server. I’ve always been somewhat of a Linux enthusiast, so I figured installing Linux on it would be a good way to get back into Linux again. [Read More]

Build Hugo Sites with Docker

Build Hugo Sites with Docker
I use Hugo to create and build this website and run it in a Docker container. I was managing it all manually and wanted to make it more automatic. My last platform was Ghost and I really liked that I could post with minimal effort and fuss. When I dicovered that the free hosted Gitlab supports builds, I decided to move my private git repos over to Gitlab. Gitlab offers the ability to import projects directly from other git hosts, so it was pretty easy to move from Bitbucket. [Read More]