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 <mnot@mnot.net> | |
| 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 | |
| # |
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
brew update
brew install openconnect