Code has moved to a real repository. You can get the code at opendns/dnspython-clientsubnetoption
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: ./fetchstats-condensor [USERNAME] [NEEDLE] [LIST_OF_NETWORKS] [LIST OF MONTHS] | |
# Example: ./fetchstats-condensor example google\.com "all 1" "2010-01 2010-02 2010-03" | |
USERNAME=$1 | |
NEEDLE=$2 | |
NETWORKS=$3 | |
MONTHS=$4 | |
echo -n "Password for $1: " >&2 | |
stty -echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I replaced the import statement with this: | |
try: | |
import everydnslib | |
except: | |
import HurricaneDNS as everydnslib | |
everydnslib.EveryDNS = everydnslib.HurricaneDNS | |
everydnslib.LoginFailed = everydnslib.HurricaneError |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on GrowlNotify(message) | |
(* And if Growl is installed, send a notification *) | |
try | |
tell application "Growl" | |
register as application "Movie Barcode Random Desktop" all notifications {"Desktop Change"} default notifications {"Desktop Change"} icon of application "Script Editor" | |
notify with name "Desktop Change" title "Desktop Change" description message application name "Movie Barcode Random Desktop" | |
end tell | |
on error | |
-- do nothings | |
end try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Process: Hermes [66779] | |
Path: /Applications/Hermes.app/Contents/MacOS/Hermes | |
Identifier: com.alexcrichton.Hermes | |
Version: 1.1.1b (1001) | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [118] | |
Date/Time: 2012-05-19 16:45:51.312 -0700 | |
OS Version: Mac OS X 10.7.3 (11D50b) | |
Report Version: 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on run | |
tell application "Growl" | |
-- Make a list of all the notification types that this script will ever send: | |
set the allNotificationsList to {"IM Received", "Account Connected", "Account Disconnected", "Buddy Available", "Buddy Unavailable"} | |
-- Make a list of the notifications that will be enabled by default. | |
set the enabledNotificationsList to {"IM Received"} | |
-- Register our script with growl. | |
register as application "iChat Growl AppleScript" all notifications allNotificationsList default notifications enabledNotificationsList icon of application "iChat" | |
end tell | |
end run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server=/17cdn.com/205.171.3.65 | |
server=/51cdn.com/205.171.3.65 | |
server=/akadns.net/205.171.3.65 | |
server=/akadns.org/205.171.3.65 | |
server=/akafms.net/205.171.3.65 | |
server=/akamai.net/205.171.3.65 | |
server=/akamaiedge.net/205.171.3.65 | |
server=/akamaistream.net/205.171.3.65 | |
server=/akamaitech.net/205.171.3.65 | |
server=/akamaitechnologies.com/205.171.3.65 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ "$ZSH_THEME_SVN_PROMPT_PREFIX" = "" ]; then | |
ZSH_THEME_SVN_PROMPT_PREFIX=$ZSH_THEME_GIT_PROMPT_PREFIX | |
ZSH_THEME_SVN_PROMPT_SUFFIX=$ZSH_THEME_GIT_PROMPT_SUFFIX | |
ZSH_THEME_SVN_PROMPT_DIRTY=$ZSH_THEME_GIT_PROMPT_DIRTY | |
ZSH_THEME_SVN_PROMPT_CLEAN=$ZSH_THEME_GIT_PROMPT_CLEAN | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Zendesk - Set App Order | |
// @namespace com.opendns.zendesksetapporder | |
// @author Brian Hartvigsen <[email protected]> | |
// @version 1.1.0 | |
// @description Allow you to reorder your Apps to get the most important ones on top | |
// @match https://*.zendesk.com/agent/* | |
// @include https://*.zendesk.com/agent/* | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var zendesk = require('node-zendesk'), | |
redis = require('redis').createClient(), | |
util = require('util'), | |
qs = require('querystring'), | |
_ = require('underscore'); | |
config = require('./config'); | |
redis.select(config.redis.zendesk.index); | |
function createKey(args, everything, uri) { |
OlderNewer