This file contains 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.autologin</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession</string> | |
<string>-suspend</string> |
This file contains 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
1 1Password | |
2 Accordance | |
3 Alfred | |
4 Appfixer | |
5 Arqbackup | |
6 Audiobook Builder | |
7 Audio Hijack | |
8 Bartender | |
9 Battery Alert | |
10 BBedit |
This file contains 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 | |
# clean out bartender files to try to fix install issues. | |
# | |
# From: Timothy J. Luoma | |
# Mail: luomat at gmail dot com | |
# Date: 2016-04-13 | |
NAME="$0:t:r" | |
PATH=/usr/local/scripts:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin |
This file contains 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 | |
# Check to see if "low power" Bluetooth is supported on a given Mac | |
# | |
# From: Timothy J. Luoma | |
# Mail: luomat at gmail dot com | |
# Date: 2016-04-13 | |
NAME="bt4check.sh" | |
PATH=/usr/local/scripts:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin |
This file contains 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: Download the BBC production of “I Am Legend” | |
# | |
# From: Timothy J. Luoma | |
# Mail: luomat at gmail dot com | |
# Date: 2016-03-24 | |
# Gist: https://gist.github.com/tjluoma/b432bca708e7ab5984a2da7532029de0 | |
## You can change this to whatever you want | |
## The directory will be created if it does not exist |
This file contains 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
slackcat %fillpopup:name=TEE-or-NOT:default=--tee:% --channel %fillpopup:name=CHANNEL:default=general:random% %fillpopup:name=FILENAME:default=:--filename % |
This file contains 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: Download all .mp3 episodes of a podcast | |
# | |
# From: Timothy J. Luoma | |
# Mail: luomat at gmail dot com | |
# Date: 2015-11-17 | |
NAME="$0:t:r" | |
if [ -e "$HOME/.path" ] |
This file contains 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 | |
## Make USB Installer from Installer app | |
## | |
## Based on: | |
## “How to make a bootable OS X 10.10 Yosemite install drive” | |
## http://www.macworld.com/article/2367748/how-to-make-a-bootable-os-x-10-10-yosemite-install-drive.html | |
## | |
## From: Timothy J. Luoma | |
## Mail: luomat at gmail dot com | |
## Date: 2015-08-26 |
This file contains 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 | |
# this is necessary for ZSH to be able to use $EPOCHSECONDS | |
zmodload zsh/datetime | |
# this gives a date/time stamp without requiring an external call to the `date` | |
# program | |
function timestamp { strftime "%Y-%m-%d--%H.%M.%S" "$EPOCHSECONDS" } | |
# This was the tricky part: |
This file contains 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
-- submitted by Luca Zorzi lucazorzi.net | |
if application "Spotify" is running then | |
tell application "Spotify" | |
if player state is playing then | |
return "♫ " & (artist of current track as string) & " - " & (name of current track as string) | |
end if | |
end tell | |
end if |