Skip to content

Instantly share code, notes, and snippets.

View franznemeth's full-sized avatar

Franz Nemeth franznemeth

View GitHub Profile
@kabakaev
kabakaev / migrate-immich-to-cnpg.md
Created December 23, 2024 20:10
Immich: migrate postgres to CloudNativePG

Migrate Immich helm chart deployment to CloudNativePG

Deploy a cnpg operator and a one-node postgres cluster

See also immich-app/immich-charts#149 (comment)

# Re-use the password from the source postgres instance.
PASSWORD=$(kubectl -n immich get secrets immich-postgres-user -o yaml | grep ' password:' | awk '{print $NF}' | base64 -d)
echo "immich@postgres password is: $PASSWORD"
@codello
codello / Apple-CentOS.md
Last active March 6, 2024 19:28
How to install CentOS 8 on a Mac.

Installing CentOS on Apple Hardware

Installing recent CentOS versions on Macs is not as straight forward as I wish it to be. I repeatedly had issues even getting the installation media to boot. In this snippet I gather my findings and present a way to successfully install CentOS on a Mac.

Tested using CentOS Stream 8 on a Late 2014 Mac Mini.

1. Preparing the Installation Media

When using the usual methods of creating a bootable USB drive (e.g. by using balenaEtcher) I was greeted by a black screen. In order to successfully get to the CentOS installer I did the following things:

tmux cheatsheet

As configured in my dotfiles.

start new:

tmux

start new with session name: