Standard escape codes are prefixed with Escape:
- Ctrl-Key: ^[
- Octal: \033
- Unicode: \u001b
- Hexadecimal: \x1B
- Decimal: 27
| ! model | |
| pc101 Generic 101-key PC | |
| pc102 Generic 102-key (Intl) PC | |
| pc104 Generic 104-key PC | |
| pc105 Generic 105-key (Intl) PC | |
| dell101 Dell 101-key PC | |
| latitude Dell Latitude series laptop | |
| dellm65 Dell Precision M65 | |
| everex Everex STEPnote | |
| flexpro Keytronic FlexPro | 
| #!/bin/bash | |
| #script extraido de: http://paulocassiano.wordpress.com/2008/08/29/deixando-o-gedit-com-a-cara-do-textmate/ | |
| #tip for better "resolution" here: http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/ | |
| cd /usr/share/fonts/truetype/ | |
| #TODO: put validation if folder already exists | |
| sudo mkdir ttf-monaco | 
| # Rime alternative settings | |
| # encoding: utf-8 | |
| # | |
| # difference from default settings: | |
| # 1. ascii-style punctuation in half-shape mode | |
| # 2. [ ] as paging keys | |
| # | |
| # save this file as: | |
| # (Linux) ~/.config/ibus/rime/alternative.yaml | |
| # (Mac OS) ~/Library/Rime/alternative.yaml | 
| #coding:utf-8 | |
| require 'sinatra' | |
| # Set port for compatability with Nitrous.IO | |
| configure :development do | |
| set :bind, '0.0.0.0' | |
| set :port, 4567 # Not really needed, but works well with the "Preview" menu option | |
| end | 
| package | |
| { | |
| import flash.display.Sprite; | |
| import flash.utils.getTimer; | |
| /** | |
| * @author pihao | |
| * Environment: | |
| * Macbook Pro with OS X 10.9.4 | |
| * Flash Player 15.0.0.152 | 
| (* Get screen size *) | |
| tell application "Finder" | |
| set screenSize to bounds of window of desktop | |
| set screenW to item 3 of screenSize | |
| set screenH to item 4 of screenSize | |
| end tell | |
| (* Get front most window *) | |
| tell application "System Events" | |
| set myFrontmost to name of first item of (processes whose frontmost is true) |