This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
| RED="\[\033[0;31m\]" | |
| YELLOW="\[\033[0;33m\]" | |
| GREEN="\[\033[0;32m\]" | |
| BLUE="\[\033[0;34m\]" | |
| LIGHT_RED="\[\033[1;31m\]" | |
| LIGHT_GREEN="\[\033[1;32m\]" | |
| WHITE="\[\033[1;37m\]" | |
| LIGHT_GRAY="\[\033[0;37m\]" | |
| COLOR_NONE="\[\e[0m\]" | |
| #!/usr/bin/env python | |
| """ | |
| This small script takes the URL to one of your Pownce Export XML-files | |
| and downloads it including (as far as I can tell) all your files into a | |
| folder, which you can specify with the -o option:: | |
| $ python pownce-files.py <url_to_export> | |
| Requirements: Python >= 2.5, < 3.0 | |
| """ | 
| (require 'cl) | |
| (defun twm-make-full-screen () | |
| (when (and (featurep 'aquamacs) (not (frame-parameter nil 'fullscreen))) | |
| (aquamacs-toggle-full-frame))) | |
| (defun twm-focus-window () | |
| "assumes the largest window is the focus window" | |
| (get-largest-window)) | 
| using terms from application "Quicksilver" | |
| on process text log_text | |
| set theDate to (do shell script "date '+%m-%d-%Y %H:%M'") | |
| set theText to log_text | |
| set theText to theDate & " " & theText & " | |
| " | |
| set thePosixFilePath to "/Users/msippey/Dropbox/taskpaper/log.txt" as string | |
| set theFilePath to POSIX file thePosixFilePath | |
| set theFileReference to open for access theFilePath with write permission | |
| write theText to theFileReference starting at eof | 
| #!/bin/bash | |
| # --- Version history --- | |
| # 0.4: added variable to store file path, and $2 for base file name | |
| # added variable to store desired reporting interval | |
| # 0.3: added $1 to send in process ID at run time. | |
| # 0.2: switched to $SECONDS for the loop. works. | |
| # 0.1: didn't work well at all. | |
| # --- Version history --- | |
| # Usage: cputrack [PID] [filename] | 
| GCC_VERSION = com.apple.compilers.llvm.clang.1_0 | |
| RUN_CLANG_STATIC_ANALYZER = YES | |
| CC = /Volumes/Space/Users/bungi/Source/LLVM/llvm/Release/bin/clang | 
| (* | |
| Things-Bugzilla AppleScript: | |
| Takes a bugzilla.mozilla.org bug number from the user, and adds a new | |
| Things.app ToDo item for it in the Inbox. | |
| *) | |
| -- get the bug number from the user | |
| set bugnumber to "" | |
| set clip to (the clipboard as string) | |
| repeat with i in characters of clip | 
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is a fork of this other gist which is itself a fork of a gist from this blog post.
| // ==UserScript== | |
| // @name Straight Google | |
| // @id straight_google_pokerface | |
| // @namespace in.co.tossing.toolkit.google | |
| // @description Remove URL redirection from google products | |
| // @license GPL v3 or later version | |
| // @updateURL http://userscripts.org/scripts/source/121261.meta.js | |
| // @include *://www.google.*/*q=* | |
| // @include *://www.google.*/*tbs=* | |
| // @include *://www.google.*/search?* |