Skip to content

Instantly share code, notes, and snippets.

View cosmic-latte's full-sized avatar

Wang Yang Jun cosmic-latte

  • 14:59 (UTC +01:00)
View GitHub Profile
@darwin
darwin / readme.md
Last active April 9, 2024 22:30
APFS Container cloning/replicating under Catalina (with a bootable system)

Today I wanted to move existing APFS-resident macOS Catalina installation to a new disk. I upgraded my late 2014 Mac Mini with a shiny new 1TB SSD. This took way too many hours of my life I will never get back. Hope this saves some time to you.

Good news:

  1. it is possible to create a DMG image from existing APFS container with macOS Catalina installation including metadata needed for complete restore (the DMG contains OS, OS Data, Preboot, Recovery and VM volumes)
  2. it is possible to restore this DMG image into empty APFS container and get a bootable copy of the original system

This information is relevant for Catalina (I'm currently running macOS 10.15.1).

@martijngastkemper
martijngastkemper / build-delft3d.sh
Last active February 4, 2017 13:14
Script to build Delft3D with parallel computation Ubuntu Lucid (10.04). I tested it on AWS AMI "Ubuntu Server 14.04 LTS (HVM), SSD Volume Type - ami-f0b11187".
#!/bin/bash
# Sources:
# - http://content.oss.deltares.nl/delft3d/Webinar/Baart_LinuxCodeCompiling/WebinarBaart_11012012_v3.html
# - http://oss.deltares.nl/web/delft3d/general/-/message_boards/view_message/567530
sudo apt-get update
sudo apt-get install \
build-essential\
subversion\
@seumasmorrison
seumasmorrison / delft3d.md
Last active May 4, 2016 16:26
Setup commands for Delft3d using gfortran

Delft3d setup instructions

Delft3d revision 5.01.00.2163 setup up on Ubuntu 12.04 (Prescise Pangolin).

Inspired by: