Patches for the WordPress MU Domain Mapping plugin. Part of a blog post at sixohthree.com.
http://sixohthree.com/1595/wordpress-mu-domain-mapping-patches
Patches for the WordPress MU Domain Mapping plugin. Part of a blog post at sixohthree.com.
http://sixohthree.com/1595/wordpress-mu-domain-mapping-patches
A wrapper script for svn
to add some missing features.
Unminified fragment (pin.js, Pin.Tags.prototype.filter, line 884):
if (Pin.Lang.indexOf(words, w) >= 0) // case-sensitive
{
lis[i].className = 'selected';
}
Minified:
if(Pin.Lang.indexOf(f,g)>=0||(d&&g===a)||(!d&&g.toLowerCase()===a.toLowerCase())){
#!/bin/sh | |
function do_rsync { | |
rsync -avzP --delete "server:$1" "$1" | |
} | |
echo -n 'Are you really sure? [y/N] ' | |
read response |
# | |
# css/js minification/compression makefile | |
# | |
# | |
# JS_TARGETS -- js files to minify/gzip | |
# CSS_TARGETS -- css files to minify/gzip | |
# CLEANUP -- additional files to delete during "make clean" | |
# |
function mediawiki_page( $atts ) { | |
$title = urlencode($atts['title']); | |
if( false === ( $content = get_transient( 'mediawiki_' . $title ) ) ) { | |
$url = 'http://wiki.sixohthree.com/w/index.php?title=' . $title . '&action=render'; | |
$response = wp_remote_get($url); | |
$content = $response['body']; | |
set_transient( 'mediawiki_' . $title, $content, 600 ); | |
} |
ignores = ( | |
{ level = "JOINS PARTS QUITS"; }, | |
{ level = "JOINS PARTS QUITS"; exception = "yes"; channels = ( "#foo" ); } | |
); |
[gitosis] | |
daemon = yes | |
gitweb = yes | |
loglevel = DEBUG | |
[group superusers] | |
members = adam@aziz adam@roku | |
[group gitosis-admin] | |
writable = gitosis-admin |
server { | |
listen 69.164.216.5:80 default; | |
root /var/www/mu.sixohthree.com/html; | |
server_name_in_redirect off; | |
#fastcgi_cache_valid 200 20m; | |
#fastcgi_cache_key "$host$request_uri"; | |
#fastcgi_cache mu; |
2010/09/14 08:29:46 [debug] 9770#0: *7 write new buf t:1 f:0 080DB2B8, pos 080DB2B8, size: 223 file: 0, size: 0 | |
2010/09/14 08:29:46 [debug] 9770#0: *7 http write filter: l:1 f:0 s:223 | |
2010/09/14 08:29:46 [debug] 9770#0: *7 http write filter limit 0 | |
2010/09/14 08:29:46 [debug] 9770#0: *7 writev: 223 | |
2010/09/14 08:29:46 [debug] 9770#0: *7 http write filter 00000000 | |
2010/09/14 08:29:46 [debug] 9770#0: *7 http finalize request: 0, "/blogs.dir/3/files/2010/08/wordpress-answers-beta-300x213.png?" 1 | |
2010/09/14 08:29:46 [debug] 9770#0: *7 set http keepalive handler | |
2010/09/14 08:29:46 [debug] 9770#0: *7 http close request | |
2010/09/14 08:29:46 [debug] 9770#0: *7 http log handler | |
2010/09/14 08:29:46 [debug] 9770#0: *7 run cleanup: 081468C4 |