• How to Create a Homebrew Formula

    3 min read

    Homebrew formula Python tap distribution

    Homebrew is a popular package manager for macOS (also available for Linux), allowing developers to distribute their software through simple brew install commands. We are going to use a Python project to create a Homebrew formula and distribuite it using a tap.

    06/09/2024

    Read more...
  • Apple Silicon's Rosetta: Selecting different architectures

    2 min read

    apple sillicon m1 rosetta arch command

    On Apple Silicon-based Macs we have the arch command that will allow us to to run a selected architecture of a universal binary. By default, the operating system will select the architecture that most closely matches the processor type.

    The arch command can be used to alter the operating system's normal selection order.

    30/08/2023

    Read more...
  • How to Fix the "invalid active developer path" error

    2 min read

    macOS error Xcode invalid active developer path xcrun

    Have you encountered the invalid active developer path error while trying, for example, to use git on your macOS system? This error occurs because Git requires the Command Line Tools for Xcode to be installed on your system (typically you'll encounter this after updating the system)

    $ git
    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
    

    06/04/2023

    Read more...
  • Show current Kubernetes context in the menu bar

    2 min read

    kubernetes context macos tray icon

    Some commands might be safe to execute while connected to some environments, but can definitely break stuff is applied to the wrong Kubernetes cluster. However, having to execute kubectl config current-context too ofter to make sure we are connected to the right cluster is no fun either.

    With kubectx tray we can have a small icon on the tray bar to help us identify what's the current cluster.

    30/11/2022

    Read more...
  • Install awstools on a Mac

    4 min read

    AWS awstools

    awstools is a CLI tool that provides a small set of commands to manage the most commonly EC2 resources. It's installation it's not hard since it is a python script that has a list of dependencies on the requirements.txt file, but now it's even easier on Mac since there is a tap available

    20/09/2022

    Read more...

From pet to cattle
Treat your kubernetes clusters like cattle, not pets
tags related to this category