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
diff --git a/client.js b/client.js | |
index 9deb594..44488de 100644 | |
--- a/client.js | |
+++ b/client.js | |
@@ -282,7 +282,7 @@ function inlineContent(html, css, options) { | |
function getStylesData($, options) { | |
var results = []; | |
var stylesList = $("style"); | |
- var styleDataList, styleData, styleElement; | |
+ var styleDataList, styleData, styleElement, filterResult; |
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
Anonymous UUID: E3BDDC68-FEB5-8FE4-33CF-270703B78232 | |
Thu Oct 1 10:57:33 2015 | |
panic(cpu 0 caller 0xffffff802a475d4d): "missing pager for copy object"@/SourceCache/xnu/xnu-2422.115.14/osfmk/vm/vm_pageout.c:794 | |
Backtrace (CPU 0), Frame : Return Address | |
0xffffff8031dc3b30 : 0xffffff802a423139 | |
0xffffff8031dc3bb0 : 0xffffff802a475d4d | |
0xffffff8031dc3d50 : 0xffffff802a478f14 | |
0xffffff8031dc3f20 : 0xffffff802a4dd05c | |
0xffffff8031dc3fb0 : 0xffffff802a4f438b |
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
{ | |
"countries": { | |
"AD": { | |
"name": "Andorra", | |
"abbr": "AD", | |
"zones": [ | |
"Europe/Andorra" | |
] | |
}, | |
"AE": { |
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 contrivedFoo = require('./contrivedFoo'); | |
contrivedFoo.foo(); |
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 createObject = require('./createObject'); | |
var contrivedExample = createObject( 42 ); |
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"; | |
process.bin = process.title = 'mediawiki-extensionservice-cron'; | |
require('../lib/check-env'); | |
var Promise = require('bluebird'); | |
Promise.longStackTraces(); | |
var _ = require('lodash'), | |
fmt = require('util').format, | |
chalk = require('chalk'), |
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
Daniels-MacBook-Air:5735077 daniel$ php test.php | |
escape1: 52.938008308411µs. | |
escape2: 11.997318267822µs. | |
escape3: 11.176705360413µs. | |
escape4: 11.816596984863µs. | |
escape5: 10.962629318237µs. | |
escape6: 12.953281402588µs. | |
Daniels-MacBook-Air:5735077 daniel$ php test.php | |
escape1: 54.372382164001µs. | |
escape2: 11.764526367188µs. |
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> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8"> | |
<title>rel=":stylesheet" safety test</title> | |
<link rel="stylesheet" href="safe.css"> | |
<link rel=":stylesheet" href="unsafe.css"> | |
</head> | |
<body> | |
<p>Background color indicates safety within this browser; Blue = Safe, only rel="stylesheet" is loaded. Red = Unsafe, rel=":stylesheet" was loaded as a stylesheet.</p> |
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
{ | |
"require": { | |
"easyrdf/easyrdf": "@beta" | |
} | |
} |
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
<?php | |
$ns = json_decode( file_get_contents( "http://prefix.cc/popular/all.file.json" ) ); | |
foreach ( $ns as $k => $v ) { | |
if ( is_null( $v ) ) { | |
unset( $ns->{$k} ); | |
} | |
} | |
$types = array( '/ns/', '/ns#', '/rdf/', '/rdf#', '/ns/', '/ns#', '/schema/', '/schema#', '/ontologies/', '/ontologies#', '/vocab/', '/vocab#', '/namespaces/', '/namespaces#', '/ontology/', '/ontology#', '/xml/', '/xml#', '/owl/', '/owl#', '/schema/', '/schema#', '/spec/', '/spec#', '/terms/', '/terms#', '/schemas/', '/schemas#' ); | |
$types = array_combine( $types, array_fill( 0, count( $types ), 0 ) ); |