Create file /etc/systemd/system/docker-compose@.service
[Unit]
Description=%i service with docker compose
# Requires=docker.service
# After=docker.service| echo "Razer Synapse Off" | |
| sleep 3 | |
| sudo sed -i -e 's/<false/<true/' /Library/LaunchAgents/com.razer.rzupdater.plist | |
| echo "Now rebooting!" | |
| sleep 3 | |
| sudo reboot |
| #!/usr/bin/env bash | |
| # Bail at first Catalina ISO creation error | |
| set -e | |
| hdiutil create -o ~/Downloads/Catalina.cdr -size 7316m -layout SPUD -fs HFS+J | |
| hdiutil attach ~/Downloads/Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| sudo ~/Downloads/"Install macOS Catalina".app/Contents/Resources/createinstallmedia --volume /Volumes/install_build --nointeraction | |
| hdiutil detach "/Volumes/Install macOS Catalina" | |
| hdiutil convert ~/Downloads/Catalina.cdr.dmg -format UDTO -o ~/Downloads/Catalina.iso | |
| mv ~/Downloads/Catalina.iso.cdr /Volumes/"USB_STICK_NAME"/Catalina.iso | |
| rm ~/Downloads/Catalina.cdr.dmg |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') { | |
| Import-Module PSReadLine | |
| } | |
| Import-Module -Name Terminal-Icons | |
This document describes how to set up an OS X to be a syslog server that logs messages from the local network. It was largely meant for my own purposes so that I don't forget what I did, but feel free to use it for your own purposes.
A problem with just "turning this on" is that you will not see the correct hostname in the syslog entries. What we will do is use
| REM This script automates the Windows 11 installation from a USB stick. | |
| REM You'll probably need to adjust the delays to match your hardware, | |
| REM because each machine takes a different amount of time to load various screens | |
| DEFAULTDELAY 300 | |
| REM Move to the locale selector and select English (Australia), then press Next and then Install Now | |
| TAB | |
| STRING English (Australia) | |
| ALT N |
| To make Pageant automatically run and load keys at startup: | |
| - Find the location of pageant.exe | |
| - Windows key + R to open the 'run' dialog box | |
| - Type: 'shell:startup' in the dialog box | |
| - Create a shortcut to the pageant.exe and put into this startup folder. |
As often happens, I found the official documentation and forum answers to be "close, but no cigar", and so had to experiment a little to get things working.
The main problem for me was a lack of concrete configuration examples. That's not entirely GitHub's fault: having migrated from Google Domains to Namecheap in the middle of this project, I was once again reminded of how many different ways there are to do things in the name service universe [1].
Although you'd think the simplest setup would be to merely configure for the subdomain case (https://www.example.com), in my experience using the apex domain (https://example.com) instead resulted in fewer complications.
So here's my recipe for using a custom domain with GitHub pages where Namecheap is the DNS provider:
| # bfrestrict.py - bruteforce iOS restrictions passcode | |
| # | |
| # if you don't have an unencrypted backup folder ready, just plug in the device and run this program | |
| # | |
| # Note: make sure you have libimobiledevice installed (we need idevicebackup2) if you plan to plug-and-play | |
| # | |
| # made by Dayton Hasty (c)2018 | |
| import os | |
| import sys | |
| import hashlib |