Skip to content

Instantly share code, notes, and snippets.

🏳️‍🌈
Gay

Theresa O'Connor hober

🏳️‍🌈
Gay
Block or report user

Report or block hober

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Ugly node REPL when run as an inferior process in Emacs
Type '.help' for options.
^[[0Gnode> ^[[0K^[[0G^[[6C
^[[0G^[[0Gnode> ^[[0K^[[0G^[[6Ca
a
^[[0GReferenceError: a is not defined
at [object Context]:1:1
at Interface.<anonymous> (repl:77:19)
at Interface.emit (events:26:26)
at Interface._ttyWrite (readline:221:12)
View Is this a JSDOM bug, an HTML5 serializer bug, or what?
/* Using aredridel/html5 and tmpvar/jsdom */
var sys = require('sys');
var HTML5 = require('html5');
var p = new HTML5.Parser("<p>hello, world");
p.parse();
var doc = p.document;
View demo-without-angular.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Radar 22169467</title>
<script>
function log(text) {
var logEl = document.getElementById("log");
logEl.innerHTML = logEl.innerHTML + text + "<br>";
}
You can’t perform that action at this time.