Skip to content

Instantly share code, notes, and snippets.

View sideshowbarker's full-sized avatar
👺
Pay no attention to the man behind the curtain

sideshowbarker

👺
Pay no attention to the man behind the curtain
View GitHub Profile
@sideshowbarker
sideshowbarker / gist:976161
Created May 17, 2011 08:36
validator build.py urllib timeout fix
diff -r b893eb8c0260 build.py
--- a/build.py Sat Feb 12 20:51:26 2011 +0000
+++ b/build.py Tue May 17 17:35:45 2011 +0900
@@ -25,6 +25,7 @@
import shutil
import httplib
import urllib2
+import socket
import re
try:
diff -r a8d67c49a927 relaxng/datatype/java/src/org/whattf/datatype/Refresh.java
--- a/relaxng/datatype/java/src/org/whattf/datatype/Refresh.java Fri Jan 21 16:04:32 2011 +0900
+++ b/relaxng/datatype/java/src/org/whattf/datatype/Refresh.java Thu Feb 10 04:31:51 2011 +0900
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008 Mozilla Foundation
+ * Copyright (c) 2008-2011 Mozilla Foundation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
LOG: index.html $(SPLITTER)
$(PYTHON) $(SPLITTER) $(SPLITTERFLAGS) $< . > LOG
HG=hg
SVN=svn
CURL=curl
PYTHON=python
PATCH=patch
SPLITTER=html5-tools/spec-splitter/spec-splitter.py
SPLITTERFLAGS=--html5lib-serialiser
LOG: index.html $(SPLITTER)
$(PYTHON) $(SPLITTER) $(SPLITTERFLAGS) $< .
diff -r dfd45ca89a7d HtmlParser-compile-detailed
--- a/HtmlParser-compile-detailed Sun Dec 12 17:38:35 2010 -0800
+++ b/HtmlParser-compile-detailed Wed Dec 15 16:26:51 2010 +0900
@@ -1,3 +1,3 @@
#!/bin/sh
APPDIR=`dirname $0`;
-java -XstartOnFirstThread -Xmx256M -cp "$APPDIR/src:$APPDIR/gwt-src:$APPDIR/super:/Developer/gwt-mac-1.5.1/gwt-user.jar:/Developer/gwt-mac-1.5.1/gwt-dev-mac.jar" com.google.gwt.dev.GWTCompiler -style DETAILED -out "$APPDIR/www" "$@" nu.validator.htmlparser.HtmlParser;
+java -Xmx256M -cp "$APPDIR/src:$APPDIR/gwt-src:$APPDIR/super:/opt/workspace/gwt-2.1.0/gwt-user.jar:/opt/workspace/gwt-2.1.0/gwt-dev.jar" com.google.gwt.dev.GWTCompiler -style DETAILED -out "$APPDIR/www" "$@" nu.validator.htmlparser.HtmlParser;
diff -r dfd45ca89a7d HtmlParser-compile-detailed.launch
--- a/HtmlParser-compile-detailed.launch Sun Dec 12 17:38:35 2010 -0800
@sideshowbarker
sideshowbarker / gist:706192
Created November 19, 2010 06:33
comparing jing error message for required-but-missing attributes
error message from validator-nu branch:
/Users/mike/FOO.html:4:8: error: Element “object” from namespace
“http://www.w3.org/1999/xhtml” is missing one or more of the following
attributes: [data, type].
error message from jing trunk:
/Users/mike/FOO.html:4:8: error: element "object" missing one or more
required attributes; expected attribute "accesskey", "align", "archive",
"border", "class", "classid", "code", "codebase", "codetype",
"contenteditable", "contextmenu", "data", "datafld", "dataformatas",
/usr/local/lib/node/.npm/ext/0.6.1/package/lib/ext/core_ext/function.js:4
require('ext').extend(Function.prototype, {
^
TypeError: Object #<an Object> has no method 'extend'
at Object.<anonymous> (/usr/local/lib/node/.npm/ext/0.6.1/package/lib/ext/core_ext/function.js:4:16)
at Module._compile (node.js:461:23)
at Module._loadScriptSync (node.js:468:10)
at Module.loadSync (node.js:338:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)