Skip to content

Instantly share code, notes, and snippets.

View boberito's full-sized avatar

Bob Gendler boberito

View GitHub Profile
@boberito
boberito / progressbar-osacompile.sh
Created April 12, 2021 19:04
Applescript Progress bar from Curl output redirect
#!/bin/bash
osacompile -x -o test.app<<EOF
set progress description to "Download progress indicator"
set progress additional description to "Preparing…"
set progress total steps to -1
delay 5
set i to 0
set progress total steps to 100
<?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>PayloadContent</key>
<array>
<dict>
<key>PayloadDisplayName</key>
<string>ManagedClient logging</string>
<key>PayloadEnabled</key>
@boberito
boberito / suggestd.mobileconfig
Created February 1, 2020 19:45
Disable Siri Suggestions
<?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>PayloadContent</key>
<array>
<dict>
<key>PayloadContent</key>
<dict>
<key>com.apple.suggestions</key>