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
# Change command prefix to ` | |
unbind C-b | |
set -g prefix C-n | |
bind C-n send-prefix | |
#unbind C-b | |
#set -g prefix ` | |
#bind ` send-prefix | |
# Use 1-based indices for windows | |
set -g base-index 1 |
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
(* While trying to figure out what version of AppleScript I had installed, | |
I came across this article: https://www.safaribooksonline.com/library/view/applescript-in-a/1565928415/ch01s05.html | |
The problem? That article is from 2001 and no longer works! | |
The script provided in that article will *always* return 1.0 as your version, | |
because it just checks the version of the currently executing script (implicitly set to 1.0) | |
Instead, just use this script to output the version in a dialog. | |
*) | |
display dialog "You're running AppleScript " & version of AppleScript |
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
#!/usr/bin/env bash | |
while read line | |
do | |
echo "$line" | tr 'fpgjluy;rstdneiokFPGJLUY:RSTDNEIOK' 'ertyuiopsdfgjkl;nERTYUIOPSDFGJKL:N' | |
done < "${1:-/dev/stdin}" |
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
Various stupid things you can do by using the shebang to select unconventional interpreters. |