For faster connection speed and more flexibility.
- Start Xcode in command line by running this in commandline
/Applications/Xcode.app/Contents/MacOS/Xcode - Start downloading of the simulator
- Cancel it. YES CANCEL IT!
- You will get a message like this:
| #!/usr/bin/python | |
| """Mac OS X Disk/Volume script for munkireport. | |
| https://github.com/munkireport/munkireport-php | |
| Some ideas and functions are borrowed from gmacpyutil | |
| https://github.com/google/macops | |
| The script iterates over all partitions and returns a list | |
| of Volumes with basic info (TotalSize, FreeSpace, MountPoint, VolumeName) |
| #!/usr/bin/python | |
| # As written, this requires the following: | |
| # - OS X 10.6+ (may not work in 10.10, haven't tested) | |
| # - python 2.6 or 2.7 (for collections.namedtuple usage, should be fine as default python in 10.6 is 2.6) | |
| # - pyObjC (as such, recommended to be used with native OS X python install) | |
| # Only tested and confirmed to work against 10.9.5 | |
| # Run with root |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant.configure(2) do |config| | |
| config.vm.box = "osx103" | |
| config.vm.provision "shell", inline: <<-SHELL | |
| softwareupdate -l | |
| SHELL | |
| end |
| <?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>_metadata</key> | |
| <dict> | |
| <key>created_by</key> | |
| <string>erik</string> | |
| <key>creation_date</key> | |
| <date>2015-08-05T14:27:18Z</date> |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
| tell application "Google Chrome" | |
| set window_list to every window | |
| repeat with the_window in window_list | |
| # For each Window in Chrome, create a new Window in Safari respectively | |
| tell application "Safari" | |
| make new document | |
| activate |
| class Logging(object): | |
| __name__ = 'logger.info(1)' | |
| plist = '/System/Library/Preferences/Logging/Subsystems/' | |
| def __init__(__name__, plist, *args, **kwargs): | |
| super(getLogger/, self).__init__() | |
| logger.info('Input parameters:\n' | |
| 'accessibility: "{com.apple.Accessibility.plist}"\n' |
| from Foundation import NSBundle | |
| import objc | |
| CoreServices = NSBundle.bundleWithIdentifier_('com.apple.CoreServices') | |
| functions = [ | |
| ('_LSCopyRunningApplicationArray', '@I'), | |
| ('_LSCopyApplicationInformation', '@I@@'), | |
| ] | |
| constants = [ |
For faster connection speed and more flexibility.
/Applications/Xcode.app/Contents/MacOS/Xcode