[ x for x in articles if "tips" in x.categories ]

  1. installing google-cloud-sdk on apple silicon m1 (early 2021)

    If you were to attempt to install google-cloud-sdk natively (via Homebrew) on Apple Silicon, you'd get the following error:

    $ brew install --cask google-cloud-sdk
    # etc...
    ==> Installing Cask google-cloud-sdk
    Beginning update. This process may take several minutes.
    ERROR: (gcloud.components.update) The following components are unknown [kuberun, anthoscli].
    ==> Purging files for version …
  2. how to fix the zsh setup on macos

    Apple has defaulted macOS to using the zsh shell since macOS Catalina. For many, the switch (if they weren't already using zsh) was as simple as running chsh -s /bin/zsh and everything would appear to be working just fine.

    On brand new Macs however, both the .zprofile and .zshrc …

  3. how to migrate your GitHub repository to Codeberg

    The easiest way to migrate repositories is to simply change where your local repository remote points to. In a locally cloned repository, assert that you should have a git remote (usually named origin) by running git remote -v:

    origin  git@github.com:username/repository.git (fetch)
    origin  git@github.com …
  4. batch renaming numbered files

    The year is 2009 and your minimalist CD ripper, let's say goobox hasn't multi-CD support. The ripped content of both CD 1 & 2 are numbered incrementally from 01 onwards, which isn't a problem if you organised your library by CD 1/2/etc, but you're rather flatten the directory because …