Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| #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 |
| # 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 |
| #!/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 |
| ! 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 |