Skip to content

Instantly share code, notes, and snippets.

Wireguard on Fedora 34 Server

High performance, in-kernel VPN.

Install:

sudo dnf install wireguard-tools

Generate server config:

macOS 10.14 Mojave Guest on VMware Fusion 11

Metal card required

The macOS Mojave installer contains a new plugin, MetalCardRequired.bundle, which prevents installation on any system with a GPU incompatible with Apple Metal, even where another GPU that is compatible is present. In the case of VMware Fusion, no Metal compatible card is detected and installation is not possible.

Workaround 1

Edit the .vmx file and change board-id.reflectHost = "TRUE" to board-id.reflectHost = "FALSE". The installer check for compatible Metal card(s) should pass, and installation can proceed.

OpenSSL 1.1.1g

It should be possible to substitute newer versions in the OpenSSL 1.1.x series, e.g. OpenSSL 1.1.1g, so use the latest available when building.

# openssl
curl -O https://www.openssl.org/source/openssl-1.1.1g.tar.gz
tar -xf openssl-1.1.1g.tar.gz
cd openssl-1.1.1g
./Configure darwin64-x86_64-cc no-shared --prefix=${HOME}/openssl/openssl-1.1.1g --openssldir=${HOME}/openssl/openssl-1.1.1g

make -j$(sysctl -n hw.ncpu)

@bradleysepos
bradleysepos / llvm-osx108
Last active August 29, 2015 14:05
Compile llvm/clang HEAD on Mac OS X 10.8.x
# wget
# required by gcc contrib script
curl -O ftp://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz
tar -xvjf wget-1.15.tar.gz
cd wget-1.15
./configure --with-ssl=openssl && make -j$(sysctl -n hw.ncpu)
sudo make install
cd ..
# cmake