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
module PDoc | |
module Generators | |
module Html | |
module Helpers | |
module BaseHelper | |
end | |
module LinkHelper | |
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== | |
// @name Score Monitor | |
// @namespace http://andrewdupont.net/greasemonkey | |
// @description Monitors fantasy football scores. | |
// @include http://*.football.cbssports.com/scoring/live/* | |
// @author Andrew Dupont | |
// ==/UserScript== | |
(function () { | |
if (!window.fluid) return; |
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 Mock Geolocation | |
// @description MONKEYS! | |
// @version 2009-01-19 | |
// @namespace http://andrewdupont.net/greasemonkey | |
// @include * | |
// ==/UserScript== | |
// Mock geolocation. Ugh. | |
if (!('geolocation' in navigator)) { |
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
// IE-specific WTFs are a whole can of worms, but this one towers above all... | |
function handler() { | |
alert(window.event === window.event); // alerts 'false' | |
} |
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
// In Safari, try... | |
var enum; | |
//-> SyntaxError: Parse error |
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() { | |
window.setTimeout(wtf, 0); | |
function wtf() { | |
alert("wtf"); | |
} | |
})(); |
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: Quick Search Box [778] | |
Path: /Applications/Quick Search Box.app/Contents/MacOS/Quick Search Box | |
Identifier: com.google.qsb | |
Version: 2.0.0 (2.0.0.3766) | |
Code Type: X86-64 (Native) | |
Parent Process: launchd [239] | |
Date/Time: 2010-07-31 20:27:18.348 -0500 | |
OS Version: Mac OS X 10.6.4 (10F569) | |
Report Version: 6 |
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
Tools by Andrew Dupont begins here. | |
Book 1 - Stuff | |
Chapter 1 - Generic Objects | |
Section 1 - Unscrewing | |
A thing can be unscrewable. A thing is usually not unscrewable. | |
A thing can be screw-removing. A thing is usually not screw-removing. |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Test page</title> | |
<script type="text/javascript"> | |
if (HTMLDivElement) { | |
HTMLDivElement.prototype.foo = function() { alert('aha!'); }; | |
} | |
</script> | |
<style> |