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
tell application "Firefox" | |
activate | |
set the_title to name of first window | |
tell application "System Events" | |
key code 53 # escape key | |
delay 1 | |
keystroke "l" using {command down} | |
delay 1 | |
keystroke "c" using {command down} | |
delay 1 |
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== | |
// @id dft-postion-unfixed | |
// @name Remove position fixed | |
// @version 2.0 | |
// @namespace dft | |
// @author Matthew Goodall | |
// @description Changes position:fixed to position:static | |
// @include * | |
// @exclude https://docs.google.com/* | |
// @run-at document-end |
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== | |
// @id dft-postion-unfixed | |
// @name Remove position fixed | |
// @version 2.0 | |
// @namespace dft | |
// @author Matthew Goodall | |
// @description Changes position:fixed to position:relative | |
// @include * | |
// @exclude https://docs.google.com/* | |
// @run-at document-end |
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
history_push(){ | |
local COMMAND | |
for arg in "$@" | |
do | |
case "$arg" in | |
*\ *) | |
*\'*) | |
COMMAND="$COMMAND \"$arg\"" | |
;; | |
*\"*) |
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
function revert_last_commit() | |
{ | |
read -p "Are you sure you want to revert the last commit?[y/N] " -n 1 answer | |
echo | |
if test $answer = 'y' | |
then | |
svn up | |
local head="$(svn info | grep Revision | cut -d' ' -f2)" | |
local prev="$(expr $head - 1)" |
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== | |
// @id dft-always-show-dialoglog | |
// @name Show dialoglog | |
// @version 1.0 | |
// @namespace dft | |
// @author Matthew Goodall | |
// @description | |
// @include http://mspaintadventures.com/* | |
// @run-at document-end | |
// ==/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
-- Copyright (c) 2011 Amazon Technologies, Inc. All rights reserved. | |
-- PROPRIETARY/CONFIDENTIAL | |
-- Use is subject to license terms. | |
require("awful") | |
require("awful.rules") | |
-- local copy of the screen | |
g_screenOne = screen[1] |
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
(define-minor-mode infer-indentation-mode | |
"infer-indentation" | |
"" | |
:keymap nil | |
;; store the original settings so we can switch back | |
(when (not (boundp 'infer-indentation-original-style)) | |
(set (make-local-variable 'infer-indentation-original-style) indent-tabs-mode)) | |
(when (not (boundp 'infer-indentation-original-width)) | |
(set (make-local-variable 'infer-indentation-original-width) tab-width)) |
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
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/"> | |
<os:ShortName>google-grumpy</os:ShortName> | |
<os:Description>Google (ssl,always show tools,verbatim,no instant)</os:Description> | |
<os:InputEncoding>UTF-8</os:InputEncoding> | |
<os:Image width="16" height="16"> | |
data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA7PT7/3zF6/9Ptu//RbHx/0227/+Tzvb/9vv5/97h0f9JeBz/NHoA/z98Av9AfAD/PHsA/0F6AP8AAAAA/vz7/1+33/8Mp+z/FrHw/xWy8f8bs/T/Hqrx/3zE7v////7/t8qp/zF2A/87gwH/P4ID/z59AP8+egD/Q3kA/97s8v8botj/ELn3/wy58f8PtfL/D7Lw/xuz9P8vq+f/8/n///779v9KhR3/OYYA/0GFAv88hgD/QIAC/z17AP/0+/j/N6bM/wC07/8Cxf7/CsP7/wm+9v8Aqur/SrDb//7+/v///P7/VZEl/zSJAP87jQD/PYYA/0OBBf8+fQH///3//9Dp8/84sM7/CrDf/wC14/8CruL/KqnW/9ns8f/8/v//4OjX/z+GDf85kAD/PIwD/z2JAv8+hQD/PoEA/9C7pv/97uv////+/9Xw+v+w3ej/ls/e/+rz9///////+/z6/22mSf8qjQH/OJMA/zuQAP85iwL/PIgA/zyFAP+OSSL/nV44/7J+Vv/AkG7/7trP//7//f/9//7/6/Lr/2uoRv8tjQH/PJYA/zuTAP87kwD/PY8A/z2KA |
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
#!/usr/bin/env python | |
import argparse | |
import subprocess,errno | |
import os,sys | |
import fileinput | |
MAILBOX_MAP = '{{ virtual_mailbox_maps }}' | |
ALIAS_MAP = '{{ virtual_alias_maps }}' | |
USER_FILE = '{{ users_file }}' |
OlderNewer