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/python | |
# -*- coding: utf-8 -*- | |
import sys | |
import os.path | |
import pprint | |
sys._old_excepthook = sys.excepthook | |
def assert_hook(exc_type, exception, traceback): |
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 SelfUpdatingScript | |
// @version 1.0.0 | |
// @namespace Benjol (http://stackoverflow.com/users/11410/benjol) | |
// @description Template script for a self-updating script | |
// @credits Kudos to http://stackoverflow.com/users/115866/balpha | |
// @include https://gist.github.com/* | |
// ==/UserScript== | |
function with_jquery(f) { |