MacOS - mwicat/personal GitHub Wiki
brew install --cask rectangle
https://www.keyboardmaestro.com/main/
https://ubuntu.com/tutorials/tutorial-create-a-usb-stick-on-macos#3-prepare-the-usb-stick
- Launch Disk Utility from Applications>Utilities or Spotlight search
- Insert your USB stick and observe the new device added to Disk Utility
- Select the USB stick device (you may need to enable the option View>Show All Devices) and select Erase from the tool bar (or right-click menu)
- Set the format to MS-DOS (FAT) and the scheme to GUID Partition Map
- Check you’ve chosen the correct device and click Erase
- Install etcher: https://www.balena.io/etcher/
- You will need to restart or power-on the Mac with the USB stick inserted while the Option/alt (⌥) key is pressed.
brew cask install osxfuse
brew install ext4fuse
diskutil list
sudo ext4fuse /dev/disk3s1 ~/tmp/MY_EXT_PARTITION -o allow_other
https://github.com/osxfuse/osxfuse/wiki/Mount-options#allow_other
brew install libicns
icns2png ../applet.icns -x
png2icns
apt-get install icnsutils
sw_vers -productVersion
"$HOME/Library/Application Support"
Open System Preferences.
Go to Users & Groups.
Choose your nickname on the left.
Choose Login items tab.
Check startup programs you want to remove.
Press the “–” sign below.
You're done.
sudo launchctl list | grep -v apple | cut -d$'\t' -f3 | sort
ls -l /Library/LaunchAgents/ /Library/LaunchDaemons/
cd /Library/LaunchDaemons
sudo launchctl unload com.focusrite.ControlServer.plist
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew analytics off
.bashrc:
export HOMEBREW_NO_AUTO_UPDATE=1
brew install python@2
.bash_profile:
export PATH="/usr/local/opt/python@2/bin:$PATH"
xcode-select --install
brew install ffmpeg gnu-sed parallel wine p7zip wget htop
sudo ln -s /usr/libexec/locate.updatedb /usr/local/bin/updatedb
brew install switchaudio-osx
SwitchAudioSource -t output -s 'Soundflower (2ch)'
SwitchAudioSource -t output -s 'Scarlett 2i4 USB'
- System Preferences > Keyboard > Shortcuts > Services
- Enable New Terminal at Folder.
brew install csshx
daisydisk.app
brew tap homebrew/cask
brew cask install meld
pkgutil --packages
pkgutil --expand file.pkg out_dir
sudo installer -pkg PSP_Nexcellence.pkg -target /
sudo vi /etc/bootpd.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bootp_enabled</key>
<false/>
<key>detect_other_dhcp_server</key>
<integer>1</integer>
<key>dhcp_enabled</key>
<array>
<string>en4</string>
</array>
<key>reply_threshold_seconds</key>
<integer>0</integer>
<key>Subnets</key>
<array>
<dict>
<key>allocate</key>
<true/>
<key>lease_max</key>
<integer>86400</integer>
<key>lease_min</key>
<integer>86400</integer>
<key>name</key>
<string>192.168.33</string>
<key>net_address</key>
<string>192.168.33.0</string>
<key>net_mask</key>
<string>255.255.255.0</string>
<key>net_range</key>
<array>
<string>192.168.33.2</string>
<string>192.168.33.254</string>
</array>
</dict>
</array>
</dict>
</plist>
sudo /bin/launchctl load -w /System/Library/LaunchDaemons/bootps.plist
networksetup -listallnetworkservices
networksetup -setmanual 'iPad USB' 192.168.33.1 255.255.255.0 192.168.33.1
brew tap homebrew/cask-versions
brew install --cask xquartz
brew install --cask --no-quarantine wine-devel
- https://dl.bintray.com/xquartz/downloads/XQuartz-2.7.11.dmg
- https://dl.winehq.org/wine-builds/macosx/download.html
Installer location:
/Applications/Install\ macOS\ Mojave.app/
Download link:
Installation instructions:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Simply plug your created USB drive into an open USB port on your Mac. Power on the system, or restart it if it's already on. Immediately press and hold the Option (Alt) key on your keyboard when it starts booting. You should now see an option to select your USB drive as a startup disk.
https://gist.github.com/mwicat/870741e41a77eff83bf5e9bfa724f442
npm install -g appdmg
appdmg spec.json dmgifle.dmg
Example: https://github.com/mwicat/BigRedRecorder/tree/master/installer/mac