Skip to content

Instantly share code, notes, and snippets.

View jbrazio's full-sized avatar

João Brázio jbrazio

View GitHub Profile

To test your apps, you might want to install Xcode and the iPhone simulator. This is entirely possible using a macOS virtual machine. Today, I will explain how to do this using dockur/macos. First, download and install it by following the instructions in their README file. After the installation is complete, macOS will show a warning in the top right corner to upgrade to the 'Tahoe' version. Click it and upgrade to the latest macOS. Then, open your terminal at the bottom right (I'm mentioning this for first-time Mac users xd). Once opened, enter these commands in order:

# Install Brew (see: https://brew.sh):
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew install xcodes
@nathan818fr
nathan818fr / x570_aorus_master.conf
Last active February 2, 2025 12:11
lm-sensors config for X570 AORUS MASTER
# /etc/sensors.d/x570_aorus_master.conf
# Gigabyte X570 AORUS MASTER
#
# dmi: Board Manufacturer: Gigabyte Technology Co., Ltd.
# dmi: Board Product Name: X570 AORUS MASTER
#
# Require https://github.com/frankcrawford/it87
chip "acpitz-acpi-0"
# temp1 and temp2 are hardcoded and always returns 16.8°C
@braian87b
braian87b / wireless-link-wds.sh
Last active January 7, 2024 19:31
How to setup Wireless Links to avoid Wired backbone using WDS on Atheros for OpenWRT / LEDE
@bastman
bastman / docker-cleanup-resources.md
Created March 31, 2016 05:55
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm