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
(* | |
Rename with Date 0.1 | |
Copyright 2004 Mark Nottingham <[email protected]> | |
THIS SOFTWARE IS SUPPLIED WITHOUT WARRANTY OF ANY KIND, AND MAY BE | |
COPIED, MODIFIED OR DISTRIBUTED IN ANY WAY, AS LONG AS THIS NOTICE | |
AND ACKNOWLEDGEMENT OF AUTHORSHIP REMAIN. | |
*) |
(function() { | |
// Change `silent` to true to invoke the promptless, self-closing | |
// version of the bookmarklet. | |
var silent = false; | |
var url = location.href; | |
var title = document.title; | |
// Look for a single hAtom entry on the page, and iff one is found, extract | |
// the entry-title in place of the document title: |
# Modify this file accordingly for your specific requirement. | |
# http://www.thegeekstuff.com | |
# 1. Delete all existing rules | |
iptables -F | |
# 2. Set default chain policies | |
iptables -P INPUT DROP | |
iptables -P FORWARD DROP | |
iptables -P OUTPUT DROP |
tell application "Safari" | |
set selecTxt to (do JavaScript "var x = ''+document.getSelection();x" in current tab of front window) as string | |
end tell |
# Copies the selected tweet's URL from Twitter.app, and | |
# opens corresponding page for Aaron Swartz's Twitter Viewer. | |
# | |
# Original by John Gruber: https://gist.github.com/1440914 | |
# This version by Daniel Jalkut | |
# | |
# I'm hooking this up to a keyboard shortcut specifically in Twitter.app, | |
# using my scripting utility FastScripts. | |
# | |
# Requires "Access for Assistive Devices" to be enabled. |
#!/usr/bin/ruby | |
# ruby script to make an unordered list from indented data. | |
data = %x{__CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100 pbpaste}.strip | |
result = "<ul>\n" | |
last_leading_space = "" | |
g_tab_width = 4 |
(* | |
Jered Benoit | |
jeredb.com | |
Omnifocus -> Day One Daily Completed Task Log | |
Based upon [Version 1.0] [1] of [OmniFocus - Weekly Project Report Generator] [2] | |
Originally Authored by Chris Brogan and Rob Trew | |
February 5, 2012 |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
As it turns out, most normal humans are incapable of learning to use Twitter @ replies. And in case you don't follow me on Twitter: yes, my handle (@ryan) gets a lot of erroneous mentions. (The most amusing, random ones I've even taken to retweeting under the #wrongryan hashtag.)
Then Tweetbot -- and its ability to use regex as Twitter filters -- came along. Here's how the Tapbots guys and some regular expressions single-handedly made my Twitter replies usable again.
Notes and caveats
expression{3,}
) are buggy. So everything below should work without crashing Tweetbot for iPhone, iPad, and Mac.