Skip to content

Instantly share code, notes, and snippets.

View codello's full-sized avatar

Kim Wittenburg codello

  • Hamburg, Germany
  • 09:52 (UTC +01:00)
View GitHub Profile
@codello
codello / ttf2latex.sh
Last active May 25, 2023 03:27
Install a TrueType font family for use with LaTeX
#!/bin/bash
# Source of this script:
# https://devnotcorp.wordpress.com/2011/06/10/use-truetype-font-with-pdflatex/
# Copyright (C) InnoviData GmbH <http://www.innovidata.com>, 2011.
# Author: Holger Widmann <[email protected]>
# Version: 1.2.20110610
#
# License:
@codello
codello / Install Linux on a Mac.md
Last active June 30, 2020 15:25
Booting an installation medium on a Mac requires some additional steps, especially if you don't have an Apple keyboard.

Boot from USB on a Mac

This short snippet explains how to boot from an installation medium on a Mac. The installation process itself is extensively documented for most operating systems. However most modern Macs require some additional steps to even get to the point of running a live DVD, especially if you do not have access to an original Apple keyboard. This snippet documents this process.

Create an installation medium

This process is well documented. One way of creating a bootable medium is to use balenaEtcher. Install via Homebrew:

brew cask install balenaetcher
@codello
codello / fcos-k8s.sh
Created July 10, 2020 00:26
Install Kubernetes via kubeadm on a Fedora CoreOS Node
# MIT License
#
# Copyright (c) 2020 Kim Wittenburg
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@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: