Skip to content

Instantly share code, notes, and snippets.

@DrTom
DrTom / MacPort PostgreSQL setup.md
Last active May 8, 2025 09:30
MacPort PostgreSQL setup

PostgreSQL Server Setup on Mac OS with MacPorts

This is in particular aimed at using multiple versions of PostgreSQL at different ports.

export VERSION=15

Install

port info postgresql${VERSION}-server
@tachoknight
tachoknight / build-swift-from-master.sh
Created June 12, 2018 19:40
Bash script to build Apple's Swift Programming Language on Linux
#!/bin/bash
BASE_DIR=/home/tachoknight/apple-swift
BUILDS_DIR=$BASE_DIR/builds
rm -rf $BASE_DIR
mkdir -p $BUILDS_DIR
cd $BASE_DIR
git clone https://github.com/apple/swift.git swift
./swift/utils/update-checkout --clone --scheme master