When using Terminal under a recent macOS version, you’ll most likely will be using Z-Shell (zsh) – a quite common Shell found under Linux as well.
This used to be Bash, but Apple moved to Z-Shell early 2019 (some users may see a message when opening Terminal, requesting them to migrate to zsh).
I do tinker in Terminal quite often and always found the prompt kind-a boring.
In this article: how to customize the Z-Shell prompt.
Note: most of these tricks/settings may work the same way for different shells as well, like Bash and even Linux shell variants.
For those who need a cheat sheet on XTerm colors, here a quick and short reference overview.
These colors should work for anything that supports the XTerm color-scheme, so this includes several Terminal emulators and several Shell variants like Z-Shell.
I needed this while customizing my Z-Shell prompt, and I hope this is useful to others as well as a reference sheet.
I’ve split it up in the 16 basic colors, 24 greyscale “colors”, and 256 colors.
Having been tinkering with LED strips for quite some years now, I do occasionally get the question: “What do the IP ratings mean?”.
There is a short answer for that question: It indicates its protection level against water and dust.
Obviously this doesn’t say much, and things are a little more advanced that that.
So in this article I’ll go briefly into the details on what kind of IP ratings you can run into and what they mean.
This way you can consider in what kind of environment you’d like to use your LED strip and find a matching IP code.
In certain scenarios, it can be a timesaver, and avoid mistakes, to have one or more templates for common emails.
Unfortunately, Apple Mail, that comes with macOS, doesn’t have a template mechanism … or does it?
With a simple trick we can use “templates” in Apple Mail under macOS and in this article I’ll show you how …
MovieScanner2, the successor of MovieScanner, is a small utility which analyzes your video file and stored the detected streams in a database.
The detected streams include all embedded video streams, audio streams, subtitle streams, and most common external subtitle files.
For each file details are being collected with ffProbe (from the ffMPEG project), like for example resolution, 3D, HDR, codec types, audio channels and layout, audio and subtitle languages, etc.
MovieScanner2 is completely free, and available for Windows, Linux (GTK and QT5) and MacOS X.
Unfortunately, the registration at our forum didn’t quite work as hoped.
A small bug made it that new users would not get an activation email – which makes it hard to complete registration of course.
I did manage to find what caused this issue; a minor bug in the forum software.
The issue should now be resolved, and the fix has been shared with the developers of the forum plugin.
For those that have tried to register before: Feel free to contact me, mentioning the email address you used to register.
I can then either activate your account, or remove the account so you can register with the same email address again.
Apologies for the inconvenience, and thanks to all that reported this issue.
My little script to resize images straight from Finder, and optionally attach them right away to a new email, has been updated to fix some issues that surfaced with the release of Big Sur.
This version provides a fix for the “Image Events got an error: image “<imagename>” doesn’t understand the “save” message” error message, and resolves the issue with Apple Mail freezing up when trying to attach images to a new email.
You can find the download, and ask questions, with the original article: MacOS X Image Resizer – Right click images to resize and/or email.
Sometimes we need a Certificate so we can encrypt and decrypt network communication, for example for all kinds of network devices (eg. NAS, IoT devices, local web server, etc).
Unfortunately, for some of these applications, we cannot obtain a legit certificate from a CA (Certificate Authority), due to certain limitations.
In this article I’ll show you how to create such a free Self-Signed (self-created) certificate yourself, for Windows, macOS and Linux.
I’ll also briefly point out limitations and potential problems that come with a Self-Signed certificate or CERT.
For those familiar with Beat Saber mods: Beat Saber is the most fun when you add your own songs.
Unfortunately, when you download some of these custom songs, for example from beatsaver.com or beatsaber.com, you’ll find that the filenames can be a bit messy. For example filenames like: “8e7e553099436af31564adf1977a5ec42a61cfff.zip” or “141 (Gangnam Style – greatyazer).zip”.
This is where this simple little tool can be helpful allowing you with a few clicks to rename these files to a filename in this format “Artist – Title (supported levels).zip”.
The application is free and available for macOS, Linux (64bit) and Windows (32bit).
In this article, I’ll show how you can easily download a video from YouTube on Windows, macOS or Linux.
All you need is the Free VideoLAN VLC and your Web Browser.
So no need for any sketchy third party websites or commercial tools.
Caution: Keep an eye on the YouTube Terms of Service rules, as well as your local laws!
According to the YouTube Terms of Service policy, you will need to ask for permission from either YouTube and/or the respective Copyright holder(s).
Flush DNS – Sometimes we do run into network issues, and sometimes this is caused by a corrupted DNS cache on your computer.
In this article a quick and easy overview on how to flush the DNS cache on your computer for several operating systems:
- Windows (Windows 95 up to Windows 10)
- macOS (10.6 Snow Leopard up to 11.0 Big Sur)
- Linux (several methods)
Sometimes you just want to try a new application without messing up your Windows setup, or maybe you found an application online, and you’re not quite sure how sketchy the application is (with all the malware, viruses etc. these days).
In this article, I’ll show you how to use the sandbox functionality found in Windows 10, to safely test applications in a shielded (sandbox) environment.
Note: This only seems to be available for Windows 10 Pro or Enterprise, as of version 1903, (it first became available in the Insider build 18305).
A new version (3.0.7) of ConnectMeNow, a tool designed to make mounting network shares easier under MacOS, has been released today.
In this new version, you will find features like:
- Improved Wake On LAN (improvements specifically for certain NAS devices)
- Mount on appear – which mounts a share once a server becomes available in the network (optional)
- Mount on Network change – when changing network, ConnectMeNow will try to find your server automatically
- Improved support for NFS and SSH
This version includes all change and updates found in the beta versions (3.0.6 build 146).
You can find the new version in the original “ConnectMeNow v3 – Mount Network Shares Quick and Easy on a Mac” article.
These days where everybody is recording video with their smartphone, we occasionally run into the issue that the video needs to be rotated, and sometimes trimmed or cropped as well.
This all sounds pretty complicated, but with Handbrake (free – available for Windows, Linux and macOS), this is not all that hard to accomplish.
In this article: how to Trim, Crop and/or Rotate your videos.
In this article, I’ll show you how I did get started with an ESP8266, as a replacement for an Arduino, and they are dirt cheap!
The ESP8266, appears to have been sold as a shield for an Arduino, to provide WiFi functionality to an Arduino. Pretty cool!
But what is even cooler: For most applications you do not even need an Arduino, as the ESP8266 can run as a standalone microcontroller with WiFi on board, and is even more capable than most Arduinos.
This may sound odd, but after my first experiences with the ESP8266;
I’m beginning to wonder how often I’ll be using my Arduino Uno in the future. The little ESP8266 is so cool, faster, more powerful, and has more memory, at a ridiculous price of about $5. And all this in a smaller package with WiFi included!