Skip to content

Instantly share code, notes, and snippets.

View Get-InstallAssistant-pkg-links-from-Apple.sh
@b0gdanw
b0gdanw / DisableBigSur.sh
Last active Jul 6, 2022
Disable Big Sur services
View DisableBigSur.sh
#!/bin/zsh
#Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
#Disabling unwanted services on macOS 11 Big Sur (11) and macOS Monterey (12)
#Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
#Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist, disabled.501.plist & disabled.205.plist
# user
TODISABLE=()
@b0gdanw
b0gdanw / MacOS-IPSW.txt
Created Feb 1, 2021
Get MacOS IPSW links
View MacOS-IPSW.txt
curl https://mesu.apple.com/assets/macos/com_apple_macOSIPSW/com_apple_macOSIPSW.xml |grep ipsw | sed -e s/"<string>"//g -e s/"<\/string>"//g -e s/\ //g
@b0gdanw
b0gdanw / Final Cut Pro Trial DMG
Last active May 23, 2022
Direct links for Final Cut Pro Trial DMGs
View Final Cut Pro Trial DMG
Links from https://www.apple.com/final-cut-pro/trial/
Release history https://en.wikipedia.org/wiki/Final_Cut_Pro_X#Release_history
Final Cut Pro 10.1.3
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-05296.20140814.VRR4r/FinalCutProTrial10.1.3.dmg
Final Cut Pro 10.1.4
https://secure-appldnld.apple.com/Final_Cut_Pro_X/031-02980.20141202.Jgt44/FinalCutProTrial10.1.4.dmg
Final Cut Pro 10.2
View Windows32iTunes12.6.5.3inMojave.txt
Installing the Windows 32-bit version of iTunes 12.6.5.3 in Mojave using Wine
1. Install XQuartz - XQuartz-2.7.11.dmg from https://www.xquartz.org
2. Install only 32bit components of Wine Stable 5 winehq-stable-5.0.pkg from https://dl.winehq.org/wine-builds/macosx/download.html
3. Download Mono wine-mono-5.1.0-x86.msi from https://dl.winehq.org/wine/wine-mono/5.1.0/
and Gecko wine-gecko-2.47.1-x86.msi from https://wiki.winehq.org/Gecko
4. Launch /Applications/Wine Stable.app
5. In the Terminal window opened, install Mono & Gecko with
wine msiexec /i ~/Downloads/wine-gecko-2.47.1-x86.msi
wine msiexec /i ~/Downloads/wine-mono-5.1.0-x86.msi
6. Install iTunes 12.6.5.3 32-bit version for Windows from https://support.apple.com/en-us/HT208079 with
@b0gdanw
b0gdanw / disable.sh
Last active Jun 16, 2022 — forked from pwnsdx/disable.sh
Disable bunch of #$!@ in Catalina
View disable.sh
# Credit: pwnsdx https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21; nebular https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3#gistcomment-3019082
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it!
# IMPORTANT: You will need to disable SIP: Reboot to Recovery, in Terminal csrutil disable
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars.
# Get active services: launchctl list | grep -v "\-\t0"
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents
# List disabled services: launchctl print-disabled user/501 |grep true & launchctl print-disabled system |grep true
View keybase.md

Keybase proof

I hereby claim:

  • I am b0gdanw on github.
  • I am bogdanw (https://keybase.io/bogdanw) on keybase.
  • I have a public key ASBV3CBAxrkGpuOk4i2vEKKsHdc5ySKl5czwuggGpVCEcAo

To claim this, I am signing this object:

@b0gdanw
b0gdanw / GetSysInfo.scpt
Last active May 18, 2021
macOS Catalina - get current system information
View GetSysInfo.scpt
# https://macadmins.slack.com/archives/general/p1449604450017318
# https://gist.github.com/clburlison/db6aaf4a717eb8ef3545
# https://www.jamf.com/jamf-nation/feature-requests/5158/built-in-inventory-fields-for-os-x-macos-security-and-malware-protection-systems
# https://www.jamf.com/jamf-nation/discussions/19111/xprotect-status-extension-attribute
set MacOSName to do shell script "defaults read /System/Library/CoreServices/SystemVersion.plist ProductName"
set MacOSVers to do shell script "defaults read /System/Library/CoreServices/SystemVersion.plist ProductVersion"
set MacOSBuild to do shell script "defaults read /System/Library/CoreServices/SystemVersion.plist ProductBuildVersion"
set XProtectVers to do shell script "defaults read /Library/Apple/System/Library/CoreServices/XProtect.bundle/Contents/version.plist CFBundleShortVersionString"
@b0gdanw
b0gdanw / GetSysInfo.scpt
Last active Dec 9, 2021 — forked from clburlison/get_sys_info.scpt
macOS Mojave - get current system information
View GetSysInfo.scpt
# https://macadmins.slack.com/archives/general/p1449604450017318
# https://gist.github.com/clburlison/db6aaf4a717eb8ef3545
# https://www.jamf.com/jamf-nation/feature-requests/5158/built-in-inventory-fields-for-os-x-macos-security-and-malware-protection-systems
# https://www.jamf.com/jamf-nation/discussions/19111/xprotect-status-extension-attribute
set MacOSVers to do shell script "defaults read /System/Library/CoreServices/SystemVersion.plist ProductVersion"
set MacOSBuild to do shell script "defaults read /System/Library/CoreServices/SystemVersion.plist ProductBuildVersion"
set XProtectVers to do shell script "defaults read /System/Library/CoreServices/XProtect.bundle/Contents/Resources/XProtect.meta.plist Version"
set XProtectDate to do shell script "GetFileInfo -d /System/Library/CoreServices/XProtect.bundle/Contents/Resources/XProtect.meta.plist"
@b0gdanw
b0gdanw / IgnoreCatalina.txt
Created Oct 24, 2019
Ignore macOS Catalina upgrade
View IgnoreCatalina.txt
sudo softwareupdate --ignore 'macOS Catalina'
defaults delete com.apple.systempreferences AttentionPrefBundleIDs
rm ~/Library/Preferences/com.apple.preferences.softwareupdate.plist
killall Dock