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
# 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 |
#!/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. | |
""" |
----- 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 |
<!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" /> |
#!/usr/bin/env python | |
import os | |
from BaseHTTPServer import HTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
ROUTES = [ | |
('/', '/var/www/doc-html') | |
] | |
class MyHandler(SimpleHTTPRequestHandler): |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# | |
# Video of this screencast: https://vimeo.com/57296525 | |
# | |
# | |
from __future__ import print_function, division, absolute_import | |
from PIL import Image as pImage | |
import numpy |
<html> | |
<head> | |
<title>Girls gone wild!</title> | |
<link rel="stylesheet" type="text/css" href="/static/style.css"> | |
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<script type="text/javascript" src="http://localhost:8080/application.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
var jug = new Juggernaut; | |
jug.subscribe('babes', function (data) { |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys | |
import os | |
import urllib | |
from time import sleep | |
import pytumblr # https://github.com/tumblr/pytumblr | |
# set yours: |
Having trouble installing the latest stable version of tmux?
I know, official package for your OS/distro is outdated and you just want the newest version of tmux.
Well, this script should save you some time with that.