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
| # 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 |
| 10: https://jike.info/topic/2631/win-10-rtm-professional-retail-oem-mak/1889?lang=en-US&page=95 | |
| 9GHCK-43HBY-V9KPP-F3MHQ-33JR9 | |
| https://jike.info/post/29684 | |
| https://cony.fun/blog/38.html | |
| https://jike.info/topic/5078/windows-7-sp1-ultimate-retail/44?lang=en-US&page=3 | |
| Windows 7 All Online/Offline [Retail-MAK] Activation Keys | |
| ================================================================================= | |
| . Run "Command Prompt" as Administrator | |
| . slmgr.vbs -ipk Product Key |
| 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. |
Notes to install Ubuntu 22.04.4LTS (Upgraded to 24.04LTS) up and running on my 2017 MacBook Pro 15 inch (MacBookPro14,3).
Now everything except the TouchID (Fingerprint), Suspend and Hibernation seems to work for me.
About Ubuntu 24.04LTS: I tried to install Ubuntu 24.04 and didn't have success. There was a crash issue during installation. https://bugs.launchpad.net/subiquity/+bug/2065310 But I installed 22.04 and upgraded it to the 24.04LTS later and it working same as 22.04.4.