This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fork of CHOCK's original tot.sh to add support for dot "0" to target | |
# the first empty dot. | |
# https://gist.github.com/chockenberry/d33ef5b6e6da4a3e4aa9b07b093d3c23 | |
# | |
# 2 Mar 2020 | |
# + Incorporated suggestions from ShellCheck (https://www.shellcheck.net). | |
# Thanks to Ramsey Dow. | |
# + Changed call to `python` to `/usr/bin/python` to get Python 2, avoiding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The trick is to link the DeviceSupport folder from the beta to the stable version. | |
// Updated on Feb 15th, 2019 for Xcode 10.1 | |
// For beta | |
ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.2\ \(16E5191d\) /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport | |
// For stable and Xcode 10.1 installed at /Applications/Xcode\ 10.1.app | |
ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/12.2\ \(16E226\) /Applications/Xcode\ 10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# The reason of creating this script is that Endpoint Security VPN installs it's own application firewall kext cpfw.kext | |
# which prevents for example PPTP connections from this computer, which is not appropriate if you need subj connection just | |
# from time to time | |
# Usage: checkpoint.sh load|unload | |
# You will need sudo power, of course | |
# | |
COMMAND=$1 |