Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dave1010
Created March 7, 2011 13:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dave1010/858497 to your computer and use it in GitHub Desktop.
Save dave1010/858497 to your computer and use it in GitHub Desktop.
9.sh - for Peter's broken keyboard.
#!/bin/bash
echo '('
#!/bin/bash
echo 9
#!/bin/bash
# Echo a character, in case your keyboard is broken
# Installation:
# 1. Put this script in your path
# 2. Symlink the script to a filename with the broken key(s)
# e.g. if your "9" key is broken
# ln -s key.sh 9
# Usage:
# Run the script from the symlink
echo `basename $0`
<?php
// requires copy & pasting 1 char at a time
for ($i = 33; $i < 128; $i++) { echo chr($i); }
@dave1010
Copy link
Author

dave1010 commented Mar 7, 2011

alias open-parentheses='\(.sh'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment