Skip to content

Instantly share code, notes, and snippets.

@talkingmoose
talkingmoose / pvt.talkingmoose.LaunchTextEdit.plist
Last active May 17, 2023 22:41
Example: How to launch a GUI application using launchd
<?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>KeepAlive</key>
<true/>
<key>Label</key>
<string>pvt.talkingmoose.LaunchTextEdit</string>
<key>ProgramArguments</key>
<array>
@ftiff
ftiff / com.apple.loginwindow.plist
Last active February 15, 2017 10:30
Default Login Window payload profile for Casper Suite
<?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">
<dict>
<key>SHOWFULLNAME</key>
<false/>
<key>HideLocalUsers</key>
<false/>
<key>HideMobileAccounts</key>
<false/>
@superdaigo
superdaigo / ForcePasswordRequiredImmediatelyAfterScreenSaver.mobileconfig
Created July 15, 2016 05:18
This profile force OS X (at least 10.11.5) to require password immediately after screen saver begins. (ref. http://www.johnkitzmiller.com/blog/security-privacy-configuration-profile-bug-in-casper-9-82/)
<?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>PayloadDescription</key>
<string>Screen saver password settings</string>
<key>PayloadIdentifier</key>
@fbartho
fbartho / 0. Synology RAID Expansion-Resync Performance.md
Last active November 18, 2024 07:47
Walkthrough of what I did to increase performance on my Synology NAS box during an expansion, and afterwards.

Performance on Synology RAIDs

(especially while expanding)

Warning: The exact commands may not match for your particular linux OS / Synology(NAS) device. I had to customize the commands after exploring my particular system's setup.

If you're new to linux, or this is a new piece of hardware / a new synology device, jump down to the section called "Inspecting a setup"

Contents