This file contains hidden or 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 FindProxyForURL(url, host) { | |
if (dnsDomainIs(host, ".i2p")) { | |
return "PROXY 127.0.0.1:4444"; | |
} else { | |
return "DIRECT"; | |
} | |
} |
This file contains hidden or 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 Tetrao = { | |
BLOCKS : [ | |
'p', 'blockquote', 'div', 'address' | |
], | |
LINE_WIDTH : 80, | |
normalize : function (s) { | |
s = s.replace(new RegExp(' ', 'gm'), ' '); |
This file contains hidden or 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
# encoding: utf-8 | |
class Module | |
def decorator name, &wrapper | |
define_singleton_method name do |*names, **opts| | |
if names.length != 0 | |
@ignore_wrap = true | |
names.each do |nm| | |
define_method nm, &wrapper.call(instance_method(nm), **opts) |
This file contains hidden or 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
body { | |
position : absolute; | |
top : 0px; | |
bottom : 0px; | |
left : 0px; | |
right : 0px; | |
padding : 0px; | |
margin : 0px; | |
} |
NewerOlder