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/sh | |
| # Variables | |
| update="false" | |
| reboot="false" | |
| hostname=$(hostname) | |
| docker="/.dockerenv" | |
| dir=$(dirname "$0") | |
| IFTTTKEY="$(cat $dir/rebootdata.txt | grep IFTTTKEY | cut -f2 -d "=" )" | |
| IFTTTrigger="$(cat $dir/rebootdata.txt | grep fpass | cut -f2 -d "=" )" |
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/perl | |
| # This filter changes all words to Title Caps, and attempts to be clever | |
| # about *un*capitalizing small words like a/an/the in the input. | |
| # | |
| # The list of "small words" which are not capped comes from | |
| # the New York Times Manual of Style, plus 'vs' and 'v'. | |
| # | |
| # 10 May 2008 | |
| # Original version by John Gruber: |
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
| -- Set this property to true to always open in a new window | |
| property open_in_new_window : false | |
| -- Handlers | |
| on new_window() | |
| tell application "iTerm" to create window with default profile | |
| end new_window | |
| on new_tab() | |
| tell application "iTerm" to tell the first window to create tab with default profile |
NewerOlder