Skip to content

Instantly share code, notes, and snippets.

View jedda's full-sized avatar

Jedda Wignall jedda

View GitHub Profile
@jedda
jedda / ACME-MDA-Example.mobileconfig
Last active January 9, 2024 06:20
An example of an ACME Certificate Profile & payload (com.apple.security.acme) that can be used on iOS (16 and above) and macOS (14 and above) to request an ACME certificate with Managed Device Attestation from Apple.
<?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>Attest</key>
<true/>
<!--
@jedda
jedda / gist:4103604
Created November 18, 2012 04:44
Configuring basic RADIUS on OS X 10.8 Server
# Configuring basic RADIUS on OS X 10.8 Server
# Jedda Wignall
# http://jedda.me
# Full writeup at: http://jedda.me/2012/11/configuring-basic-radius-os-108-server/
# create the SACL for access to RADIUS
dseditgroup -q -o create -u <admin user> -n . com.apple.access_radius
# configure radiusd to log both successful and failed authentications
@jedda
jedda / ResumePauseiTunesDownloads.applescript
Created March 24, 2012 01:33
Resume/Pause iTunes Downloads with AppleScript
# Resume/Pause iTunes Downloads with AppleScript
# Jedda Wignall
# http://jedda.me
# jedda@jedda.me
#
# For use with Ration: http://www.rationapp.com
# You will need to edit the row number on line 19 to match your settings in iTunes.
# Row 16 worked for me, but you may not have Podcasts or other lines displayed, so this could break it.
# Play around, and you should get it working. Maybe i'll edit this at some stage to do some more checking