How to Change MacOS hostname using the Terminal

Hola! the other day I had a need to change a MacOS hostname using the Terminal. I did not have access to a GUI and had to do this remotely. Chagning the hostname using MacOS Terminal is quite simple and is my favorite method. This is why I decided to document this little how to. …

The requested image’s platform (linux/arm64) does not match the detected host platform

When I was testing Docker’s initial tutorial when you download for the first time I got the error: The requested image’s platform (linux/arm64) does not match the detected host platform (linux/amd64) and nospecific platform was requested. It sucks because I got a new MacBook Pro M1 and I did not know about these issues with …

MacOS Restarts and a Message Shows

The other day after having my favorite Latin America coffee I went to take a walk around Seaport in New York City. When I came back my Macos restarted with error message saying that my MacOS restarted and if I wanted to send a report to Apple. I pressed ignore and put on my new …

Find Public IP Address using Linux Command Line

The other day I had to ssh into a RedHat Linux server to help a friend. My friend wanted to find the public IP address using Linux command line. This is simpler than what I imaged. After having one of my favorite Latin America coffee from Peru I was able to find the answer. Use …

Create Desktop Shortcut Windows 10 For All Users

The other day a friend asked me to create a desktop shortcut in Windows 10 for all users. I have been using other operating systems for a while and have been trying to stay away from Windows. After taking a walk in New York City I refreshed my mind and found a way to create …

Find Shutdown Log Windows 10

The other day while working at a client’s office I had to deploy an application update using a Thin Client management console. I pushed the update to all Thin Clients. Shutdown Log Windows 10 This was supposed to be a non-intrusive deployment of the application – meaning the Thin Clients were not supposed to reboot. …

How to Generate SSH Key Pair in Linux

The other day I got a new laptop and needed to generate ssh key pair. Sometimes you forget basic commands when you don’t run them on a daily basis. So, I took a short walk in Brooklyn, New York City before I started working on my new laptop setup. To generate ssh key pair in …

Change Default Shell to bash macOS Big Sur

The other day I got a new Apple M1 processor chip (I really don’t like there’s only two ‘USB-4’ ports and the ‘Magic bar’ bothers me!). But, anyways when I opened my terminal i noticed the below message and wanted to change default shell to bash for this macOS Bir Sur. I got used to …

Python’s built-in HTTP server handy one

While building my own Flask application for learning purposes. I was not sure how it was being served on the web. I did not install Apache of any other web server, but it is running on my Digital Ocean test server. The I found out about Python’s built-in HTTP server. This final purpose of this …

How to Check Linux OS version Command Line

While having a great Latin America coffee from Ecuador I came to realize that I did not remember how to check Linux OS version using the command line. Below are some examples for finding your Linux OS version. Open your command line: /etc/os-release file Type the following command using cat in Debian based distros: I …