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.print-three-things</string> | |
| <key>Program</key> | |
| <string>/usr/local/bin/print-three-things.sh</string> | |
| <key>RunAtLoad</key> | |
| <false/> |
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: Convert a Markdown file to a PDF and then print it | |
| # | |
| # From: Tj Luo.ma | |
| # Mail: luomat at gmail dot com | |
| # Web: http://RhymesWithDiploma.com | |
| # Date: 2015-02-05 | |
| # This is the `basename` of the script as a variable | |
| NAME="$0:t:r" |
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>sync.com.tjluoma.cleandesktop</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/bin/osascript</string> | |
| <string>-e</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
| # On the command line (note the single \ before the $NF) | |
| echo show Setup:/Network/BackToMyMac | scutil | awk -F' ' "/$UID/{print \$NF}" | |
| alias btmm='echo show Setup:/Network/BackToMyMac | scutil | awk -F" " "/$UID/{print \$NF}"' | |
| function btmm { echo show Setup:/Network/BackToMyMac | scutil | awk -F" " "/$UID/{print \$NF}" } | |
| BTMM=$(echo show Setup:/Network/BackToMyMac | scutil | awk -F' ' "/$UID/{print \$NF}") |
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
| FILES="$@" | |
| FILES=`echo "${FILES}" | sed "s#${HOME}/Dropbox/##g"` | |
| COUNT="$#" | |
| if [ "${COUNT}" = "1" ] | |
| then |
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.omnifocus.RemindersImport</string> | |
| <key>ProgramArguments</key> | |
| <array> | |
| <string>/usr/local/bin/RemindersImport</string> | |
| <string>My Reminders List</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
| tell application "System Events" | |
| tell network preferences | |
| set VPNservice to service "VPN-Unlimited-US-Сenter" | |
| set isConnected to connected of current configuration of VPNservice | |
| if not isConnected then | |
| connect VPNservice | |
| end if | |
| end tell | |
| end tell |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>%filltext:name=TITLE:width=30%</title> | |
| <meta http-equiv="refresh" content="%filltext:name=DELAY:default=0:width=3%; | |
| url=%filltext:name=REDIRECT_URL:default=http:width=40%"/> | |
| </head> | |
| <body> | |
| <p> |
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.1password-beta</string> | |
| <key>Program</key> | |
| <string>/usr/local/bin/di-1passwordbeta.sh</string> | |
| <key>RunAtLoad</key> | |
| <true/> |