Clear Brew Cache

Brew Cleanup Brew cleanup frees up space in macOS and Linux devices by removing old versions of formulae and small kegs of data. Let’s look at sample instructions: Remove a Formula $ brew cleanup <formula> # clean everything up at once $ brew cleanup We can access “help” using -h. $ brew cleanup -h brew cleanup [--prune=days] [--dry-run] [-s] [formulae]: For all installed or specific formulae, remove any older versions from the cellar....

Special Chars in a Linux Shell

Linux Special characters in a shell (@, , €, ~) Introduction Let’s explore the usage of special characters in a shell environment, specifically focusing on Linux and macOS systems. These special characters, such as “@”, “”, “€”, “~”, and “|”, can be particularly useful when working with commands and scripts. Here we go right alt + Q = @ right alt + ß = right alt + ^ = | right alt + e = € right alt + n = ~...

Getting your own external IP via curl

How to get own external IP via terminal (curl) This command even provides some additional interesting information: curl ipinfo.io If you prefer the “Way of the Browser”: https://whatismyipaddress.com/

Publish a website on github pages

Publish a website or a blog on github pages Introduction: Are you looking to share your website with the world? GitHub Pages provides an easy and free way to publish your static website directly from your GitHub repository. In this blog post, we’ll walk you through the process of publishing your website on GitHub Pages, allowing you to showcase your work and make it accessible to a global audience. Step 1: Create a Repository: Start by creating a new repository on GitHub....