most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| #!/usr/bin/env python | |
| import os | |
| from BaseHTTPServer import HTTPServer | |
| from SimpleHTTPServer import SimpleHTTPRequestHandler | |
| ROUTES = [ | |
| ('/', '/var/www/doc-html') | |
| ] | |
| class MyHandler(SimpleHTTPRequestHandler): |
| <!DOCTYPE html> | |
| <!-- | |
| High Res Theme 1.1.9 -- 26 September 2012 | |
| (c) 2011-2012 Justin Ouellette, all rights reserved | |
| http://highrestheme.tumblr.com/ | |
| --> | |
| <html> | |
| <head> | |
| <title>{Title}{block:PostSummary} - {PostSummary}{/block:PostSummary}</title> | |
| <meta name="tumblr-theme" content="30257" /> |
| ----- Esc ----- | |
| Quick change directory: Esc + c | |
| Quick change directory history: Esc + c and then Esc + h | |
| Quick change directory previous entry: Esc + c and then Esc + p | |
| Command line history: Esc + h | |
| Command line previous command: Esc + p | |
| View change: Esc + t (each time you do this shortcut a new directory view will appear) | |
| Print current working directory in command line: Esc + a | |
| Switch between background command line and MC: Ctrl + o | |
| Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name |
| #!/usr/bin/env python | |
| """Simple HTTP Server With Upload. | |
| This module builds on BaseHTTPServer by implementing the standard GET | |
| and HEAD requests in a fairly straightforward manner. | |
| """ |
| # remove_CLI_tools.sh | |
| # written by cocoanetics:http://www.cocoanetics.com/2012/07/you-dont-need-the-xcode-command-line-tools/ | |
| # modified by yoneken | |
| #!/bin/sh | |
| RECEIPT_FILE1=/var/db/receipts/com.apple.pkg.DevSDK.bom | |
| RECEIPT_PLIST1=/var/db/receipts/com.apple.pkg.DevSDK.plist | |
| RECEIPT_FILE2=/var/db/receipts/com.apple.pkg.clang.bom | |
| RECEIPT_PLIST2=/var/db/receipts/com.apple.pkg.clang.plist |