svn.filsa.org sketches

Compare Revisions

Ignore whitespace Rev 6 → Rev 5

/trunk/patchwork/COPYING File deleted
\ No newline at end of file
/trunk/patchwork/doc/quiz/patch.tgz Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
trunk/patchwork/doc/quiz/patch.tgz Property changes : Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/patchwork/doc/quiz/patchwork_files/go-x.css
===================================================================
--- trunk/patchwork/doc/quiz/patchwork_files/go-x.css (revision 6)
+++ trunk/patchwork/doc/quiz/patchwork_files/go-x.css (nonexistent)
@@ -1,2 +0,0 @@
-/* Copyright 2010 Google, Inc. All Rights Reserved */
-@media screen,projection,print{body.rtl{direction:rtl}body.rtl th,body.rtl #aux #about{text-align:right}h4,h5,h6,pre,table,input,textarea,code{font-size:1em}address,abbr,cite{font-style:normal}table{border-collapse:collapse;border-spacing:0}th,td{padding-right:1em;vertical-align:top}th,#aux #about{text-align:left}fieldset,img{border:0}label{display:block;margin:1em 0 .3em}q{quotes:none}}@media screen,projection{*+html{direction:ltr}* html{direction:ltr}*+html body.rtl{max-width:none}html,h1 img{background:#fff}html{font:.81em/1.5 arial,sans-serif}body,table,fieldset,#nav{margin:0}body{max-width:1000px;padding:15px}body.rtl h1 img,body.rtl #nav{float:right}body.rtl h1 img{margin:-13px -2px 0 0;padding:0 0 0 12px}body.rtl #nav ul,body.rtl #nav ol{margin:.7em 1em 0 0}body.rtl #aux{margin:0 160px 0 0}body.compact{margin:auto;width:740px}body.product h1{color:#000;font-size:1em;height:1.93em;line-height:1.5;margin:0 0 .54em;padding:15px 0 0}body.product #about,fieldset,div div,#nav,#nav ul,#nav ol{padding:0}body.product #about{border:0;margin:50px 0 0}body.product #nav{width:140px}h1,h2{line-height:1.25}h1,h5,h6,label input,#nav li a{font-weight:normal}h1{color:#333;font-size:1.85em;margin:0 0 1em;padding:13px 0 0}h1 img,#nav{float:left}h1 img{margin:-13px 0 0 -2px;padding:0 12px 0 0;position:relative}h2{font-size:1.23em;margin:0 0 .81em}h3{font-size:1.08em;line-height:1.2;margin:1.4em 0 .93em}h4,h6{margin:1em 0 -1em}h5,p,pre,table,form,div div{margin:1em 0}p+table,table+p{margin-top:0}blockquote,ul,ol{margin-bottom:1em;margin-top:1em}pre,code{font:13px/1.38 monospace}pre{background:#eee;border:1px solid #ccc;padding:.8em 1em}legend{display:none}label,#nav li{font-weight:bold}input,textarea{font-family:arial,sans-serif}a:link{color:#00c}a:focus,a:active{color:red}#about{border-top:1px solid #ccc;clear:both;color:#666;margin:2em 0 0;padding:.3em 0 0;text-align:center}#nav,#nav *{list-style:none}#nav{width:142px}#nav ul,#nav ol{margin:.7em 0 0 1em}#nav li{margin:0 0 .7em}#aux{margin:0 0 0 160px}#ja,#ko,#zh-CN,#zh-TW{line-height:1.6}#zh-CN,#zh-TW{font-size:.75em}#zh-CN body.product h1,#zh-TW body.product h1{font-size:1.08em}#zh-CN h1,#zh-TW h1{font-size:2em}#zh-CN h2,#zh-TW h2{font-size:1.33em}#zh-CN h3,#zh-TW h3{font-size:1.17em}}@media print{h1 img{display:block}#nav{display:none}}@media all{.x-form ul,.x-form li{margin:1em 0}.x-form ul{list-style:none;padding:0}.x-form ins{font-weight:bold;text-decoration:none}}@media screen,projection{body.rtl .x-box{float:left;margin:0 1em 1em 0}.x-box{background:#eee;border:1px solid #ccc;float:right;margin:0 0 1em 1em;padding:1em;width:250px}.x-box img{display:block;margin:auto}body{position:relative}body.rtl #x-breadcrumb{left:auto;right:175px}body.product #x-breadcrumb{margin:1em 0;position:static}#x-breadcrumb{color:#333;left:175px;line-height:1.2;margin:0;position:absolute;top:4.15em;word-spacing:.2em}#zh-CN #x-breadcrumb,#zh-TW #x-breadcrumb{top:4.46em}.x-button *,.x-button-basic *{margin:0;padding:0}.x-button,.x-button-basic{background:#cadef4;border:1px solid #ccc;direction:ltr;line-height:1.2;max-width:795px;overflow:visible;padding:15px;text-align:center;width:20em}.x-button p,.x-button-basic p{margin:10px 0 0;text-align:center}.x-button div,.x-button-basic div{background:url(//www.google.com/images/modules/buttons/g-button-1.gif) no-repeat;background-color:#5679a5;font-size:1.3em}.x-button div span,.x-button-basic div span{background:url(//www.google.com/images/modules/buttons/g-button-1.gif) right -400px no-repeat;display:block;height:1%;width:100%}.x-button div span span{background:url(//www.google.com/images/modules/buttons/g-button-1.gif) left bottom no-repeat}.x-button div span span a,.x-button-basic div span span a{background:url(//www.google.com/images/modules/buttons/g-button-2.gif) right bottom no-repeat;color:#fff !important;display:block;font-weight:bold;height:1%;padding:8px 18px 10px 13px;text-decoration:none}.x-button-basic{background:none;border:0;padding:0}.x-button-basic div{background:url(//www.google.com/images/modules/buttons/g-button-basic-1.gif) no-repeat}.x-button-basic div span{background:url(//www.google.com/images/modules/buttons/g-button-basic-1.gif) right -400px no-repeat}.x-button-basic div span span{background:url(//www.google.com/images/modules/buttons/g-button-basic-1.gif) left bottom no-repeat}.x-button-basic div span span a{background:url(//www.google.com/images/modules/buttons/g-button-basic-2.gif) right bottom no-repeat}body.rtl .x-form .f-c1 li,body.rtl .x-form .f-c2 li,body.rtl .x-form .f-c3 li,body.rtl .x-form .f-c4 li{float:right}.x-form li p{color:#666;margin:.3em 0 0}.x-form li ul{height:1%;margin:.5em 0 1em}.x-form li li label,.x-form .f-c1 li,.x-form .f-c2 li,.x-form .f-c3 li,.x-form .f-c4 li{margin:0}.x-form li li,.x-form li li label{display:inline}.x-form li li{margin:0 1em 0 0}.x-form li li label{font-weight:normal}.x-form li li input,.x-form .button,.x-form .f-min{width:auto}.x-form li li input{bottom:-.1em;position:relative}.x-form label{margin:0 0 .3em}.x-form input{width:250px}.x-form ins{color:#c00}.x-form .f-c1,.x-form .f-c2,.x-form .f-c3,.x-form .f-c4{overflow:hidden}.x-form .f-c1 li,.x-form .f-c2 li,.x-form .f-c3 li,.x-form .f-c4 li{display:block;float:left}.x-form .f-c1 li{width:100%}.x-form .f-c2 li{width:50%}.x-form .f-c3 li{width:33%}.x-form .f-c4 li{width:25%}.x-form .f-compact{width:50px}.x-note{color:#666}body.rtl #x-promo{left:15px;padding:0 5px 0 0;right:auto}#x-promo{margin:0;padding:0 0 0 5px;position:absolute;right:15px;top:15px}body.rtl #x-search,body.rtl #x-lang{margin:-4.72em 175px 2.92em 0;text-align:left}body.product #x-search,body.product #x-lang{margin-bottom:1.7em;margin-top:-3.5em}#x-search,#x-lang{margin:-4.72em 0 2.92em 175px;position:relative;text-align:right}#x-search #q{width:150px}#zh-CN #x-search,#zh-CN #x-lang,#zh-TW #x-search,#zh-TW #x-lang{margin-bottom:3.17em;margin-top:-5.08em}#zh-CN body.product #x-search,#zh-CN body.product #x-lang,#zh-TW body.product #x-search,#zh-TW body.product #x-lang{margin-bottom:1.84em;margin-top:-3.79em}}@media print{#x-breadcrumb,#x-promo,#x-search,#x-lang{display:none}}
\ No newline at end of file
Index: trunk/patchwork/doc/quiz/patchwork_files/ga.js
===================================================================
--- trunk/patchwork/doc/quiz/patchwork_files/ga.js (revision 6)
+++ trunk/patchwork/doc/quiz/patchwork_files/ga.js (nonexistent)
@@ -1,39 +0,0 @@
-(function(){var aa="_gat",ba="_gaq",r=true,v=false,w=undefined,ca="4.6.5",x="length",y="cookie",A="location",B="&",C="=",D="__utma=",E="__utmb=",G="__utmc=",da="__utmk=",H="__utmv=",J="__utmz=",K="__utmx=",L="GASO=";var N=function(i){return w==i||"-"==i||""==i},ea=function(i){return i[x]>0&&" \n\r\t".indexOf(i)>-1},P=function(i,l,g){var t="-",k;if(!N(i)&&!N(l)&&!N(g)){k=i.indexOf(l);if(k>-1){g=i.indexOf(g,k);if(g<0)g=i[x];t=O(i,k+l.indexOf(C)+1,g)}}return t},Q=function(i){var l=v,g=0,t,k;if(!N(i)){l=r;for(t=0;t-1)}}return l},S=function(i,l){var g=encodeURIComponent;return g instanceof Function?l?encodeURI(i):g(i):escape(i)},
-T=function(i,l){var g=decodeURIComponent,t;i=i.split("+").join(" ");if(g instanceof Function)try{t=l?decodeURI(i):g(i)}catch(k){t=unescape(i)}else t=unescape(i);return t},U=function(i,l){return i.indexOf(l)>-1},V=function(i,l){i[i[x]]=l},W=function(i){return i.toLowerCase()},X=function(i,l){return i.split(l)},fa=function(i,l){return i.indexOf(l)},O=function(i,l,g){g=w==g?i[x]:g;return i.substring(l,g)},ga=function(i,l){return i.join(l)},ia=function(i){var l=1,g=0,t;if(!N(i)){l=0;for(t=i[x]-1;t>=0;t--){g=
-i.charCodeAt(t);l=(l<<6&268435455)+g+(g<<14);g=l&266338304;l=g!=0?l^g>>21:l}}return l},ja=function(){var i=window,l=w;if(i&&i.gaGlobal&&i.gaGlobal.hid)l=i.gaGlobal.hid;else{l=Y();i.gaGlobal=i.gaGlobal?i.gaGlobal:{};i.gaGlobal.hid=l}return l},Y=function(){return Math.round(Math.random()*2147483647)},Z={Ha:function(i,l){this.bb=i;this.nb=l},ib:v,_gasoDomain:w,_gasoCPath:w};Z.Gb=function(){function i(k){return new t(k[0],k[1])}function l(k){var p=[];k=k.split(",");var f;for(f=0;f -g.t=w;g.lb=v;g.h="/";g.U=100;g.oa="/__utm.gif";g.ga=1;g.ha=1;g.u="|";g.fa=1;g.da=1;g.Ra=1;g.b="auto";g.I=1;g.ra=1E3;g.Jc=10;g.Pb=10;g.Kc=0.2;g.o=w;g.a=document;g.e=window};Z.Hb=function(i){function l(d,a,j,c){var n="",s=0;n=P(d,"2"+a,";");if(!N(n)){d=n.indexOf("^"+j+".");if(d<0)return["",0];n=O(n,d+j[x]+2);if(n.indexOf("^")>0)n=n.split("^")[0];j=n.split(":");n=j[1];s=parseInt(j[0],10);if(!c&&s -var h=[D,E,G,J,H,K,L];p.k=function(){var d=f.a[y];return f.o?p.Wb(d,f.o):d};p.Wb=function(d,a){var j=[],c,n;for(c=0;c0?k(j):"";if(f.o){a=p.kc(f.a[y],d,f.o,a,j);d="2"+d;c=j>0?k(f.v):""}t(d+a,c)};p.kc=function(d,a,j,c,n){var s="";n=n||f.v;c=g([c,p.r+n*1],j);s=P(d,"2"+a,";");if(!N(s)){d=g(l(d,a,j,r),j);s=ga(s.split(d),"");return s=c+s}return c};p.fb=function(){return N(f.b)?"":"domain="+f.b+";"}};Z.$=function(i){function l(b){b=b instanceof Array?b.join("."):"";return N(b)?"-":b}function g(b,e){var o=[];if(!N(b)){o=b.split(".");if(e)for(b=0;b -c.Aa=function(b){a=g(b)};c.Vb=function(){c.j.l(H,"",-1)};c.lc=function(){return n?n:"-"};c.fb=function(){return N(s.b)?"":"domain="+s.b+";"};c.ja=function(){return l(k)};c.tb=function(b){k=g(b,1)};c.C=function(){return l(p)};c.ya=function(b){p=g(b,1)};c.ka=function(){return l(f)};c.ub=function(b){f=g(b,1)};c.na=function(){return l(h)};c.wb=function(b){h=g(b);for(b=0;b -w};c.P=function(){var b="",e;for(e=0;e -c.ka(),0)};c.Ga=function(){c.j.l(J,c.na(),s.Ta)};c.Eb=function(){c.j.l(K,c.ma(),s.v)};c.Fa=function(){c.j.l(H,c.la(),s.v)};c.Oc=function(){c.j.l(L,c.fc(),0)};c.M=[[D,c.ja,c.tb,c.Cb,"."],[E,c.C,c.ya,c.Ea,""],[G,c.ka,c.ub,c.Db,""],[K,c.ma,c.vb,c.Eb,""],[J,c.na,c.wb,c.Ga,"."],[H,c.la,c.Aa,c.Fa,"."]]};Z.Kb=function(i){var l=this,g=i,t=new Z.$(g),k=function(){},p=function(f){var h=(new Date).getTime(),d;d=(h-f[3])*(g.Kc/1E3);if(d>=1){f[2]=Math.min(Math.floor(f[2]*1+d),g.Pb);f[3]=h}return f};l.H=function(f,h,d,a,j,c){var n,s=g.I,b=g.a[A];t.ua(d);n=X(t.C(),".");if(n[1]<500||a){if(j)n=p(n);if(a||!j||n[2]>=1){if(!a&&j)n[2]=n[2]*1-1;n[1]=n[1]*1+1;f="?utmwv="+ca+"&utmn="+Y()+(N(b.hostname)?"":"&utmhn="+S(b.hostname))+(g.U==100?"":"&utmsp="+S(g.U))+f;if(0==s||2==s){a=2==s?k:c||k;l.$a(g.oa+f,a)}if(1==s||
-2==s){f=("https:"==b.protocol?"https://ssl.google-analytics.com/__utm.gif":"http://www.google-analytics.com/__utm.gif")+f+"&utmac="+h+"&utmcc="+l.ac(d);if(ka)f+="&gaq=1";l.$a(f,c)}}}t.ya(n.join("."));t.Ea()};l.$a=function(f,h){var d=new Image(1,1);d.src=f;d.onload=function(){d.onload=null;(h||k)()}};l.ac=function(f){var h=[],d=[D,J,H,K],a,j=t.k(),c;for(a=0;a -Z.n.Mb=function(i,l,g,t,k,p,f,h){var d=this;d.q=i;d.Qa=l;d.Ab=g;d.zb=t;d.xb=k;d.Xa=p;d.yb=f;d.Za=h;d.R=[];d.Nb=function(a,j,c,n,s){var b=d.gc(a),e=d.q;if(w==b)V(d.R,new Z.n.Lb(e,a,j,c,n,s));else{b.Bb=e;b.Ba=a;b.D=j;b.Va=c;b.pb=n;b.qb=s}};d.gc=function(a){var j,c=d.R,n;for(n=0;n0)for(f=0;f -"."+d[1]+" r"+d[2]}}return d?d:p}var g=i,t=g.e,k=this,p="-";k.V=t.screen;k.Sa=!k.V&&t.java?java.awt.Toolkit.getDefaultToolkit():w;k.d=t.navigator;k.W=p;k.xa=p;k.Wa=p;k.qa=p;k.pa=1;k.eb=p;k.bc=function(){var f;if(t.screen){k.W=k.V.width+"x"+k.V.height;k.xa=k.V.colorDepth+"-bit"}else if(k.Sa)try{f=k.Sa.getScreenSize();k.W=f.width+"x"+f.height}catch(h){}k.qa=W(k.d&&k.d.language?k.d.language:k.d&&k.d.browserLanguage?k.d.browserLanguage:p);k.pa=k.d&&k.d.javaEnabled()?1:0;k.eb=g.ha?l():p;k.Wa=S(g.a.characterSet?
-g.a.characterSet:g.a.charset?g.a.charset:p)};k.Ic=function(){return B+"utm"+["cs="+S(k.Wa),"sr="+k.W,"sc="+k.xa,"ul="+k.qa,"je="+k.pa,"fl="+S(k.eb)].join("&utm")};k.$b=function(){var f=g.a,h=t.history[x];f=k.d.appName+k.d.version+k.qa+k.d.platform+k.d.userAgent+k.pa+k.W+k.xa+(f[y]?f[y]:"")+(f.referrer?f.referrer:"");for(var d=f[x];h>0;)f+=h--^d++;return ia(f)}};Z.m=function(i,l,g,t){function k(d){var a="";d=W(d.split("://")[1]);if(U(d,"/")){d=d.split("/")[1];if(U(d,"?"))a=d.split("?")[0]}return a}function p(d){var a="";a=W(d.split("://")[1]);if(U(a,"/"))a=a.split("/")[0];return a}var f=t,h=this;h.c=i;h.rb=l;h.r=g;h.ic=function(d){var a=h.gb();return new Z.m.w(P(d,f.Ka+C,B),P(d,f.Na+C,B),P(d,f.Pa+C,B),h.Q(d,f.Ia,"(not set)"),h.Q(d,f.La,"(not set)"),h.Q(d,f.Oa,a&&!N(a.K)?T(a.K):w),h.Q(d,f.Ja,w))};h.jb=function(d){var a=p(d),j=k(d);if(U(a,"google")){d=d.split("?").join(B);
-if(U(d,B+f.oc+C))if(j==f.nc)return r}return v};h.gb=function(){var d,a=h.rb,j,c,n=f.T;if(!(N(a)||"0"==a||!U(a,"://")||h.jb(a))){d=p(a);for(j=0;j -h.hc=function(){var d="",a="";d=h.rb;if(!(N(d)||"0"==d||!U(d,"://")||h.jb(d))){d=d.split("://")[1];if(U(d,"/")){a=O(d,d.indexOf("/"));a=a.split("?")[0];d=W(d.split("/")[0])}if(0==d.indexOf("www."))d=O(d,4);return new Z.m.w(w,d,w,"(referral)","referral",w,a)}};h.Xb=function(d){var a="";if(f.ba){a=d&&d.hash?d.href.substring(d.href.indexOf("#")):"";a=""!=a?a+B:a}a+=d.search;return a};h.dc=function(){return new Z.m.w(w,"(direct)",w,"(direct)","(none)",w,w)};h.vc=function(d){var a=v,j,c=f.va;if(d&&"referral"==
-d.S){d=W(S(d.X));for(j=0;j -b=new Z.m.w;b.Zb(s.slice(4).join("."));b=W(b.Da())==W(n.Da());s=s[3]*1}if(!b||a){a=P(e,D+o+".",";");e=a.lastIndexOf(".");a=e>9?O(a,e+1)*1:0;s++;a=0==a?1:a;d.wb([o,h.r,a,s,n.Da()].join("."));d.Ga();return B+"utmcn=1"}else return B+"utmcr=1"}};
-Z.m.w=function(i,l,g,t,k,p,f){var h=this;h.q=i;h.X=l;h.ea=g;h.D=t;h.S=k;h.K=p;h.Ya=f;h.Da=function(){var d=[],a=[["cid",h.q],["csr",h.X],["gclid",h.ea],["ccn",h.D],["cmd",h.S],["ctr",h.K],["cct",h.Ya]],j,c;if(h.mb())for(j=0;j -h.D=a("ccn");h.S=a("cmd");h.K=a("ctr");h.Ya=a("cct")}};Z.Ib=function(i,l,g,t){function k(j,c,n){var s;if(!N(n)){n=n.split(",");for(var b=0;b -function(j){p.sa=j;p.Z()};p.Cc=function(j,c,n,s){if(1!=s&&2!=s&&3!=s)s=3;var b=v;if(c&&n&&j>0&&j<=d.ob){c=S(c);n=S(n);if(c[x]+n[x]<=64){p.p[j]=[c,n,s];p.Z();b=r}}return b};p.mc=function(j){if((j=p.p[j])&&1===j[2])return j[1]};p.Ub=function(j){var c=p.p;if(c[j]){delete c[j];p.Z()}};p.Qb=function(){a._clearKey(8);a._clearKey(9);a._clearKey(11);var j=p.p,c,n;for(n in j)if(c=j[n]){a._setKey(8,n,c[0]);a._setKey(9,n,c[1]);(c=c[2])&&3!=c&&a._setKey(11,n,""+c)}}};Z.N=function(){function i(m,q,u,z){if(w==f[m])f[m]={};if(w==f[m][q])f[m][q]=[];f[m][q][u]=z}function l(m,q){if(w!=f[m]&&w!=f[m][q]){f[m][q]=w;q=r;var u;for(u=0;u -m[x];u++){z=m.charAt(u);M=e[z];q+=w!=M?M:z}return q}var p=this,f={},h="k",d="v",a=[h,d],j="(",c=")",n="*",s="!",b="'",e={};e[b]="'0";e[c]="'1";e[n]="'2";e[s]="'3";var o=1;p.qc=function(m){return w!=f[m]};p.G=function(){var m="",q;for(q in f)if(w!=f[q])m+=q.toString()+g(f[q]);return m};p.Ac=function(m){if(m==w)return p.G();var q=m.G(),u;for(u in f)if(w!=f[u]&&!m.qc(u))q+=u.toString()+g(f[u]);return q};p._setKey=function(m,q,u){if(typeof u!="string")return v;i(m,h,q,u);return r};p._setValue=function(m,
-q,u){if(typeof u!="number"&&(w==Number||!(u instanceof Number))||Math.round(u)!=u||u==NaN||u==Infinity)return v;i(m,d,q,u.toString());return r};p._getKey=function(m,q){return w!=f[m]&&w!=f[m][h]?f[m][h][q]:w};p._getValue=function(m,q){return w!=f[m]&&w!=f[m][d]?f[m][d][q]:w};p._clearKey=function(m){l(m,h)};p._clearValue=function(m){l(m,d)}};Z.Jb=function(i,l){var g=this;g.Qc=l;g.xc=i;g._trackEvent=function(t,k,p){return l._trackEvent(g.xc,t,k,p)}};Z.aa=function(i,l){function g(){if("auto"==c.b){var b=c.a.domain;if("www."==O(b,0,4))b=O(b,4);c.b=b}c.b=W(c.b)}function t(){var b=c.b,e=b.indexOf("www.google.")*b.indexOf(".google.")*b.indexOf("google.");return e||"/"!=c.h||b.indexOf("google.org")>-1}function k(b,e,o){if(N(b)||N(e)||N(o))return"-";b=P(b,D+a.c+".",e);if(!N(b)){b=b.split(".");b[5]=b[5]?b[5]*1+1:1;b[3]=b[4];b[4]=o;b=b.join(".")}return b}function p(){return"file:"!=c.a[A].protocol&&t()}function f(b){if(!b||""==b)return"";for(;ea(b.charAt(0));)b=
-O(b,1);for(;ea(b.charAt(b[x]-1));)b=O(b,0,b[x]-1);return b}function h(b,e,o,m){if(!N(b())){e(m?T(b()):b());U(b(),";")||o()}}function d(b){var e,o=""!=b&&c.a[A].host!=b;if(o)for(e=0;e -return b};a.jc=function(){return Y()^a.A.$b()&2147483647};a.ec=function(){if(!c.b||""==c.b||"none"==c.b){c.b="";return 1}g();return c.Ra?ia(c.b):1};a.Yb=function(b,e){if(N(b))b="-";else{e+=c.h&&"/"!=c.h?c.h:"";e=b.indexOf(e);b=e>=0&&e<=8?"0":"["==b.charAt(0)&&"]"==b.charAt(b[x]-1)?"-":b}return b};a.wa=function(b){var e="",o=c.a;e+=c.fa?a.A.Ic():"";e+=c.da?a.Ua:"";e+=c.ga&&!N(o.title)?"&utmdt="+S(o.title):"";e+="&utmhid="+ja()+"&utmr="+S(a.ia)+"&utmp="+S(a.Bc(b));return e};a.Bc=function(b){var e=c.a[A];
-return b=w!=b&&""!=b?S(b,r):S(e.pathname+e.search,r)};a.Lc=function(b){if(a.J()){var e="";if(a.g!=w&&a.g.G()[x]>0)e+="&utme="+S(a.g.G());e+=a.wa(b);j.H(e,a.s,a.c)}};a.Tb=function(){var b=new Z.$(c);return b.ua(a.c)?b.Hc():w};a._getLinkerUrl=function(b,e){var o=b.split("#"),m=b,q=a.Tb();if(q)if(e&&1>=o[x])m+="#"+q;else if(!e||1>=o[x])if(1>=o[x])m+=(U(b,"?")?B:"?")+q;else m=o[0]+(U(b,"?")?B:"?")+q+"#"+o[1];return m};a.Fc=function(){var b;if(a.wc()){a.i.Dc(a.B);a.i.Oc();Z._gasoDomain=c.b;Z._gasoCPath=
-c.h;b=c.a.createElement("script");b.type="text/javascript";b.id="_gasojs";b.src="https://www.google.com/analytics/reporting/overlay_js?gaso="+a.B+B+Y();c.a.getElementsByTagName("head")[0].appendChild(b)}};a.pc=function(){var b=a.r,e=a.i,o=e.k(),m=a.c+"",q=c.e,u=q?q.gaGlobal:w,z,M=U(o,D+m+"."),la=U(o,E+m),ma=U(o,G+m),F,I=[],R="",ha=v;o=N(o)?"":o;if(c.z){z=c.a[A]&&c.a[A].hash?c.a[A].href.substring(c.a[A].href.indexOf("#")):"";if(c.ba&&!N(z))R=z+B;R+=c.a[A].search;if(!N(R)&&U(R,D)){e.zc(R);e.kb()||e.Sb();
-F=e.ja()}h(e.ma,e.vb,e.Eb,true);h(e.la,e.Aa,e.Fa)}if(N(F))if(M)if(!la||!ma){F=k(o,";",b);a.F=r}else{F=P(o,D+m+".",";");I=X(P(o,E+m,";"),".")}else{F=ga([m,a.jc(),b,b,b,1],".");ha=a.F=r}else if(N(e.C())||N(e.ka())){F=k(R,B,b);a.F=r}else{I=X(e.C(),".");m=I[0]}F=F.split(".");if(q&&u&&u.dh==m&&!c.o){F[4]=u.sid?u.sid:F[4];if(ha){F[3]=u.sid?u.sid:F[4];if(u.vid){b=u.vid.split(".");F[1]=b[0];F[2]=b[1]}}}e.tb(F.join("."));I[0]=m;I[1]=I[1]?I[1]:0;I[2]=w!=I[2]?I[2]:c.Jc;I[3]=I[3]?I[3]:F[4];e.ya(I.join("."));
-e.ub(m);N(e.lc())||e.za(e.P());e.Cb();e.Ea();e.Db()};a.rc=function(){j=new Z.Kb(c)};a._initData=function(){var b;if(!n){if(!a.A){a.A=new Z.Fb(c);a.A.bc()}a.c=a.ec();a.i=new Z.$(c);a.g=new Z.N;s=new Z.Ib(c,a.c,a.i,a.g);a.rc()}if(p()){a.pc();s.tc()}if(!n){if(p()){a.ia=a.Yb(a.ab,c.a.domain);if(c.da){b=new Z.m(a.c,a.ia,a.r,c);a.Ua=b.cc(a.i,a.F)}}a.cb=new Z.N;n=r}Z.ib||a.sc()};a._visitCode=function(){a._initData();var b=P(a.i.k(),D+a.c+".",";");b=b.split(".");return b[x]<4?"":b[1]};a._cookiePathCopy=function(b){a._initData();
-a.i&&a.i.Nc(a.c,b)};a.sc=function(){var b=c.a[A].hash;if(b&&1==b.indexOf("gaso="))b=P(b,"gaso=",B);else b=(b=c.e.name)&&0<=b.indexOf("gaso=")?P(b,"gaso=",B):P(a.i.k(),L,";");if(b[x]>=10){a.B=b;a.Fc()}Z.ib=r};a.J=function(){return a._visitCode()%1E4 -!this.target||this.target=="_self"||this.target=="_top"||this.target=="_parent";q=q&&!a.Rb(m);a.Mc(m,this,q);return q?v:this.gatcOnclick?this.gatcOnclick(m):r}}}};a.yc=function(){};a._trackPageview=function(b){if(p()){a._initData();c.t&&a.Gc();a.Lc(b);a.F=v}};a._trackTrans=function(){var b=a.c,e=[],o,m,q;a._initData();if(a.f&&a.J()){for(o=0;o -b.getElementById("utmtrans"):b.utmform&&b.utmform.utmtrans?b.utmform.utmtrans:w;a._initData();if(b&&b.value){a.f=new Z.n;m=b.value.split("UTM:");c.u=!c.u||""==c.u?"|":c.u;for(b=0;b -a.f=a.f?a.f:new Z.n;(z=a.f.hb(b))||(z=a._addTrans(b,"","","","","","",""));z.Nb(e,o,m,q,u)};a._setVar=function(b){if(b&&""!=b&&t()){a._initData();s.Ec(S(b));a.J()&&j.H("&utmt=var",a.s,a.c)}};a._setCustomVar=function(b,e,o,m){a._initData();return s.Cc(b,e,o,m)};a._deleteCustomVar=function(b){a._initData();s.Ub(b)};a._getVisitorCustomVar=function(b){a._initData();return s.mc(b)};a._setMaxCustomVariables=function(b){c.ob=b};a._link=function(b,e){if(c.z&&b){a._initData();c.a[A].href=a._getLinkerUrl(b,
-e)}};a._linkByPost=function(b,e){if(c.z&&b&&b.action){a._initData();b.action=a._getLinkerUrl(b.action,e)}};a._setXKey=function(b,e,o){a.g._setKey(b,e,o)};a._setXValue=function(b,e,o){a.g._setValue(b,e,o)};a._getXKey=function(b,e){return a.g._getKey(b,e)};a._getXValue=function(b,e){return a.g.getValue(b,e)};a._clearXKey=function(b){a.g._clearKey(b)};a._clearXValue=function(b){a.g._clearValue(b)};a._createXObj=function(){a._initData();return new Z.N};a._sendXEvent=function(b){var e="";a._initData();
-if(a.J()){e+="&utmt=event&utme="+S(a.g.Ac(b))+a.wa();j.H(e,a.s,a.c,v,r)}};a._createEventTracker=function(b){a._initData();return new Z.Jb(b,a)};a._trackEvent=function(b,e,o,m){var q=a.cb;if(w!=b&&w!=e&&""!=b&&""!=e){q._clearKey(5);q._clearValue(5);(b=q._setKey(5,1,b)&&q._setKey(5,2,e)&&(w==o||q._setKey(5,3,o))&&(w==m||q._setValue(5,1,m)))&&a._sendXEvent(q)}else b=v;return b};a.Mc=function(b,e,o){a._initData();if(a.J()){var m=new Z.N;m._setKey(6,1,e.href);var q=o?function(){a.db(b,e)}:w;j.H("&utmt=event&utme="+
-S(m.G())+a.wa(),a.s,a.c,v,r,q);if(o){var u=this;c.e.setTimeout(function(){u.db(b,e)},500)}}};a.db=function(b,e){if(!b)b=c.e.event;var o=r;if(e.gatcOnclick)o=e.gatcOnclick(b);if(o||typeof o=="undefined")if(!e.target||e.target=="_self")c.e[A]=e.href;else if(e.target=="_top")c.e.top.document[A]=e.href;else if(e.target=="_parent")c.e.parent.document[A]=e.href};a.Rb=function(b){if(!b)b=c.e.event;var e=b.shiftKey||b.ctrlKey||b.altKey;if(!e)if(b.modifiers&&c.e.Event)e=b.modifiers&c.e.Event.CONTROL_MASK||
-b.modifiers&c.e.Event.SHIFT_MASK||b.modifiers&c.e.Event.ALT_MASK;return e};a.Pc=function(){return c};a._setDomainName=function(b){c.b=b};a._addOrganic=function(b,e,o){c.T.splice(o?0:c.T.length,0,new Z.Ha(b,e))};a._clearOrganic=function(){c.T=[]};a._addIgnoredOrganic=function(b){V(c.ta,b)};a._clearIgnoredOrganic=function(){c.ta=[]};a._addIgnoredRef=function(b){V(c.va,b)};a._clearIgnoredRef=function(){c.va=[]};a._setAllowHash=function(b){c.Ra=b?1:0};a._setCampaignTrack=function(b){c.da=b?1:0};a._setClientInfo=
-function(b){c.fa=b?1:0};a._getClientInfo=function(){return c.fa};a._setCookiePath=function(b){c.h=b};a._setTransactionDelim=function(b){c.u=b};a._setCookieTimeout=function(b){a._setCampaignCookieTimeout(b*1E3)};a._setCampaignCookieTimeout=function(b){c.Ta=b};a._setDetectFlash=function(b){c.ha=b?1:0};a._getDetectFlash=function(){return c.ha};a._setDetectTitle=function(b){c.ga=b?1:0};a._getDetectTitle=function(){return c.ga};a._setLocalGifPath=function(b){c.oa=b};a._getLocalGifPath=function(){return c.oa};
-a._setLocalServerMode=function(){c.I=0};a._setRemoteServerMode=function(){c.I=1};a._setLocalRemoteServerMode=function(){c.I=2};a._getServiceMode=function(){return c.I};a._setSampleRate=function(b){c.U=b};a._setSessionTimeout=function(b){a._setSessionCookieTimeout(b*1E3)};a._setSessionCookieTimeout=function(b){c.sb=b};a._setAllowLinker=function(b){c.z=b?1:0};a._setAllowAnchor=function(b){c.ba=b?1:0};a._setCampNameKey=function(b){c.Ia=b};a._setCampContentKey=function(b){c.Ja=b};a._setCampIdKey=function(b){c.Ka=
-b};a._setCampMediumKey=function(b){c.La=b};a._setCampNOKey=function(b){c.Ma=b};a._setCampSourceKey=function(b){c.Na=b};a._setCampTermKey=function(b){c.Oa=b};a._setCampCIdKey=function(b){c.Pa=b};a._getAccount=function(){return a.s};a._setAccount=function(b){a.s=b};a._setNamespace=function(b){c.o=b?S(b):w};a._getVersion=function(){return ca};a._setAutoTrackOutbound=function(b){c.t=[];if(b)c.t=b};a._setTrackOutboundSubdomains=function(b){c.lb=b};a._setHrefExamineLimit=function(b){c.ra=b};a._setReferrerOverride=
-function(b){a.ab=b};a._setCookiePersistence=function(b){a._setVisitorCookieTimeout(b)};a._setVisitorCookieTimeout=function(b){c.v=b}};Z._getTracker=function(i,l){return new Z.aa(i,l)};var ka=v,$={ca:{},_createAsyncTracker:function(i,l){l=l||"";i=new Z.aa(i);$.ca[l]=i;ka=r;return i},_getAsyncTracker:function(i){i=i||"";var l=$.ca[i];if(!l){l=new Z.aa;$.ca[i]=l;ka=r}return l},push:function(){for(var i=arguments,l=0,g=0;g0){t=O(k,0,p);k=O(k,p+1)}var f=$._getAsyncTracker(t);f[k].apply(f,i[g].slice(1))}}catch(h){l++}return l}};window[aa]=Z;function na(){var i=window[ba],l=v;if(i&&typeof i.push=="function"){l=i.constructor==Array;if(!l)return}window[ba]=$;l&&$.push.apply($,i)}na();})()
Index: trunk/patchwork/doc/quiz/patchwork_files/devfest_logo_2010.png
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Index: trunk/patchwork/doc/quiz/patchwork_files/devfest_logo_2010.png
===================================================================
--- trunk/patchwork/doc/quiz/patchwork_files/devfest_logo_2010.png (revision 6)
+++ trunk/patchwork/doc/quiz/patchwork_files/devfest_logo_2010.png (nonexistent)
trunk/patchwork/doc/quiz/patchwork_files/devfest_logo_2010.png Property changes : Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: trunk/patchwork/doc/quiz/patchwork.htm
===================================================================
--- trunk/patchwork/doc/quiz/patchwork.htm (revision 6)
+++ trunk/patchwork/doc/quiz/patchwork.htm (nonexistent)
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-パッチワーク - Quiz Fest for Google DevFest 2010
-
-
-
-

-
-

-

-

パッチワーク Patchwork


-

-

-Here is a text file 600 lines by 600 columns, filled with the characters "A" and "B".
-ここに "A" または "B" という文字のみを含む 600 桁、600 行のテキストがあります。
-It forms a 600x600 grid. An "area" is the group of connected cells top and bottom, left and right that contain the same letter. これを 600 x 600 の升目状に並べ、上下左右に同じ文字がある部分をつながっているとみなします。
-

-

-First, find the area that has is the largest--the most connected cells containing the same letter--and "erase" the area with underscores.
-まず、最も多くの文字がつながっている領域をすべて "_" で塗りつぶしてください。
-If there is more than one area that has the same number of cells, "erase" all the areas that have the most cells. (see sample 1)
- 最も多くの文字がつながっている領域が複数存在するならば、それらすべての領域を "_"で塗りつぶすこととします。
-

-

-Then, for each row, count the number of underscores. The result should be a text file, 600 lines lone, with each line showing the count of underscores for that row.
-そして、各行ごとに "_" が何個含まれているかを数え、それらの数値を改行区切りのテキスト(600 行)として答えてください。
-

-

-SAmple 1, below, has 3 areas with 4 connected letters. In this case all 3 areas are "erased" with underscores.
-
-以下の例1を見てください。この入力には単一の文字4つでつながった領域が3箇所あります。これらすべてが「最も多くの文字がつながっている領域」なので、全て"_"で塗りつぶし、その数を数えています。
-

-

-
-

例1:

-Input
-

ABAAB
-BABAA
-BAABB
-ABABB
-BABAA
-

-Largest contiguous area erased (replaced w underscores).
-
AB__B
-B_B__
-B____
-AB___
-BABAA
-

-Solution
-
2
-3
-4
-3
-0
-

-


-
-

例2:

-Input
-

BBBABBBBBA
-BAABBAAAAB
-BBBBBBABBB
-BBBBABBAAA
-ABBBABABBB
-BBAABAABBB
-ABBABBBABA
-ABBAAABBBA
-ABAABBBABA
-BAABBAABAA
-

-Largest contiguous area erased (replaced w underscores).
-
___A_____A
-_AA__AAAAB
-______ABBB
-____A__AAA
-A___A_ABBB
-__AABAABBB
-A__ABBBABA
-A__AAABBBA
-A_AABBBABA
-BAABBAABAA
-

-Solution:
-
8
-3
-6
-6
-4
-2
-2
-2
-1
-0
-

-


-
-

- Post the answer.

-
-
-

-

-
-
-
-
-
-
-
\ No newline at end of file
Index: trunk/patchwork/doc/quiz/index.html
===================================================================
--- trunk/patchwork/doc/quiz/index.html (revision 6)
+++ trunk/patchwork/doc/quiz/index.html (nonexistent)
@@ -1,130 +0,0 @@
-
-
-
-
-
-
-
-パッチワーク - Quiz Fest for Google DevFest 2010
-
-
-
-

-
-

-

-

パッチワーク Patchwork


-

-

-Here is a text file 600 lines by 600 columns, filled with the characters "A" and "B".
-ここに "A" または "B" という文字のみを含む 600 桁、600 行のテキストがあります。
-It forms a 600x600 grid. An "area" is the group of connected cells top and bottom, left and right that contain the same letter. これを 600 x 600 の升目状に並べ、上下左右に同じ文字がある部分をつながっているとみなします。
-

-

-First, find the area that has is the largest--the most connected cells containing the same letter--and "erase" the area with underscores.
-まず、最も多くの文字がつながっている領域をすべて "_" で塗りつぶしてください。
-If there is more than one area that has the same number of cells, "erase" all the areas that have the most cells. (see sample 1)
- 最も多くの文字がつながっている領域が複数存在するならば、それらすべての領域を "_"で塗りつぶすこととします。
-

-

-Then, for each row, count the number of underscores. The result should be a text file, 600 lines lone, with each line showing the count of underscores for that row.
-そして、各行ごとに "_" が何個含まれているかを数え、それらの数値を改行区切りのテキスト(600 行)として答えてください。
-

-

-SAmple 1, below, has 3 areas with 4 connected letters. In this case all 3 areas are "erased" with underscores.
-
-以下の例1を見てください。この入力には単一の文字4つでつながった領域が3箇所あります。これらすべてが「最も多くの文字がつながっている領域」なので、全て"_"で塗りつぶし、その数を数えています。
-

-

-
-

例1:

-Input
-

ABAAB
-BABAA
-BAABB
-ABABB
-BABAA
-

-Largest contiguous area erased (replaced w underscores).
-
AB__B
-B_B__
-B____
-AB___
-BABAA
-

-Solution
-
2
-3
-4
-3
-0
-

-


-
-

例2:

-Input
-

BBBABBBBBA
-BAABBAAAAB
-BBBBBBABBB
-BBBBABBAAA
-ABBBABABBB
-BBAABAABBB
-ABBABBBABA
-ABBAAABBBA
-ABAABBBABA
-BAABBAABAA
-

-Largest contiguous area erased (replaced w underscores).
-
___A_____A
-_AA__AAAAB
-______ABBB
-____A__AAA
-A___A_ABBB
-__AABAABBB
-A__ABBBABA
-A__AAABBBA
-A_AABBBABA
-BAABBAABAA
-

-Solution:
-
8
-3
-6
-6
-4
-2
-2
-2
-1
-0
-

-


-
-

- Post the answer.

-
-
-

-

-
-
-
-
-
-
-
\ No newline at end of file