Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
# rivian.com credentials: | |
USERNAME= | |
PASSWORD= | |
# optional twilio.com credentials. If set, will send an SMS when a change in status is detected: | |
TWILIO_ACCOUNT_SID= | |
TWILIO_AUTH_TOKEN= | |
TWILIO_FROM_PHONE_NUMBER= | |
TWILIO_TO_PHONE_NUMBER= |
#!/bin/zsh -f | |
# Purpose: Check to see if we are running on Big Sur | |
# | |
# From: Timothy J. Luoma | |
# Mail: luomat at gmail dot com | |
# Date: 2020-07-10 | |
PATH="/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin" | |
# this will check to make sure `sw_vers` exists |
Below are a list of System Preference pane URLs and paths that can be accessed with scripting to assist users with enabling macOS security settings without having to walk them through launching System Preferences, finding panes, and scrolling to settings. Not all panes have an accessible anchor and some are OS specific.
To find the Pane ID of a specific pane, open the System Preferences app and select the desired Preference Pane. With the pane selected, open the ScriptEditor.app and run the following script to copy the current Pane ID to your clipboard and display any available anchors:
tell application "System Preferences"
set CurrentPane to the id of the current pane
set the clipboard to CurrentPane
https://support.apple.com/guide/mac-help/configure-advanced-content-caching-settings-mchl91e7141a/mac | |
# On client, test caching server availability | |
/usr/bin/assetcachelocatorutil | |
# View log | |
log show --predicate 'subsystem == "com.apple.AssetCache"' | |
log stream --predicate 'subsystem == "com.apple.AssetCache"' | |
# Display content cache settings |
### Updated to reflect changes introduced with 10.13.4. Update to 10.13.4 if needed before attempting to make | |
SecureToken-related changes. ### | |
sysadminctl is a tool Apple introduced in 10.10 for working with system user accounts. In 10.13, sysadminctl is Apple's | |
recommended tool for working with user accounts in the CLI, replacing functionality that has long been provided by dscl | |
and adds new features available only in 10.13. sysadminctl can be used to change user passwords, create new users or | |
check the status of a new-to-10.13 security feature named SecureToken. | |
SecureToken is a non-visible APFS file system attribute, unlike the SIP protected flag or file creation date, that triggers | |
the creation of a new AuthenticationAuthority entry in a user's local account record |
Note: < i=OS 5.1 use
prefs:
. > 5.1 useapp-settings:
Get your cookie. Either proxy your iPhone/iPod/iPad and record the cookie using the proxy server of your choice or capture the request using your AP with Wireshark or similar
Make sure you have a cookie like token=expires=1409714101~access=/auth/*~md5=2d4466c1...
Find the day of the artist you want to load (e.g. 01, 02, 10, 25) Find the artist on iTunes https://itunes.apple.com/us/artist/*deadmau5*/id*78011850* and take its ID and its name. Add an underscore between these two. (e.g. 78011850_deadmau5)
Launch the script: sh itunes-festival.sh cookie day id_artist
sh itunes-festival.sh "token=expires=1409714101~access=/auth/*~md5=2d4466c1" 01 78011850_deadmau5
Have fun.