This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh -f | |
| # Purpose: get the RSS feed for a YouTube page | |
| # Inspired By: https://eggfreckles.net/notes/youtube-rss/ | |
| # Gist: https://gist.github.com/tjluoma/fdbc63ceb78a2aecd3d638fd18b6ec6e | |
| # | |
| # From: Timothy J. Luoma | |
| # Mail: luomat at gmail dot com | |
| # Date: 2020-01-17; updated 2021-01-10 | |
| # 2021-01-10 YouTube currently has both 'rssUrl' and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>Label</key> | |
| <string>com.tjluoma.autolock-on-login</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/System/Library/CoreServices/Menu Extras/user.menu/Contents/Resources/CGSession</string> | |
| <string>-suspend</string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh -f | |
| # Purpose: Once you set the DEVICE, | |
| # this script will mount your Time Machine drive, | |
| # run Time Machine, | |
| # and then unmount the drive | |
| # | |
| # From: Timothy J. Luoma | |
| # Mail: luomat at gmail dot com | |
| # Date: 2020-04-20 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh -f | |
| # Purpose: rename PDFs by their creation date | |
| # | |
| # From: Timothy J. Luoma | |
| # Mail: luomat at gmail dot com | |
| # Date: 2019-12-26 | |
| NAME="$0:t:r" | |
| if [[ -e "$HOME/.path" ]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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>AbandonProcessGroup</key> | |
| <true/> | |
| <key>Label</key> | |
| <string>com.tjluoma.on_networkchange</string> | |
| <key>ProgramArguments</key> | |
| <array> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh -f | |
| # This tells the script to get the $PATH from the ~/.path file if it exists | |
| # otherwise it will use the second $PATH in the "else" clause | |
| if [[ -e "$HOME/.path" ]] | |
| then | |
| source "$HOME/.path" | |
| else | |
| PATH='/usr/local/scripts:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin' | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # Purpose: disable deduplication in CrashPlan | |
| # | |
| # From: Tj Luo.ma | |
| # Mail: luomat at gmail dot com | |
| # Web: http://RhymesWithDiploma.com | |
| # Date: 2014-03-23 | |
| # | |
| # | |
| # Forked from: <https://gist.github.com/thewellington/8984012> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env zsh -f | |
| # Purpose: Create a backup of all Mac App Store apps | |
| # NTS: like 'backup-mas-apps.sh' but without growlnotify | |
| # From: Timothy J. Luoma | |
| # Mail: luomat at gmail dot com | |
| # Date: 2019-06-01 | |
| # point this to wherever you want backups to be made. | |
| # it will be created if it does not exist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
NewerOlder