This file contains 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
# Download and extract from https://www.gnu.org/software/solfege/ for example "solfege-3.22.2.tar.gz" | |
brew install librsvg texinfo pygtk timidity | |
export PATH=`brew --prefix`/opt/gettext/bin:$PATH | |
export PKG_CONFIG_PATH=`brew --prefix`/opt/libffi/lib/pkgconfig:$PKG_CONFIG_PATH | |
./configure | |
make |
This file contains 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
<!doctype html> | |
<meta charset="utf-8"> | |
<title>Handling of inline event handlers without a browsing context</title> | |
<script src="/resources/testharness.js"></script> | |
<script src="/resources/testharnessreport.js"></script> | |
<body> | |
<script> | |
var fired; | |
test(function() { |
This file contains 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
specify("explicit config.html, a string that is also a valid file", () => { | |
return readTestFixture("jsdom/files/env.html") | |
.then(body => { | |
return nodeResolverPromise(done => { | |
env({ | |
html: body, | |
url: "http://example.com/", | |
done | |
}); | |
}) |
This file contains 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
#!/usr/bin/env node | |
"use strict"; | |
const fs = require("fs"); | |
const nodePath = require("path"); | |
const childProcess = require("child_process"); | |
const fileName = nodePath.resolve(process.argv[2]); | |
const async = process.argv[3] === "async"; |
This file contains 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
'use strict'; | |
var profiler = require('v8-profiler'); | |
profiler.startProfiling(); | |
// ... | |
var cpuProfile = profiler.stopProfiling(); | |
require('fs').writeFileSync(__dirname + '/foo.cpuprofile', JSON.stringify(cpuProfile)); |
This file contains 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 fs = require('fs'); | |
var http = require('http'); | |
var httpProxy = require('http-proxy'); | |
var pidfile = process.argv[2]; | |
if (!pidfile) | |
{ | |
console.log('Missing pidfile (first argument)'); | |
process.exit(1); | |
} |