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
<link href="https://eventclub.pro/calc/main.css" rel="stylesheet"> |
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
<iframe id="waterevents-calc-frame" src="https://eventclub.pro/calc/" width="100%"></iframe> | |
<script> | |
window.addEventListener('load', function() { | |
var f = document.getElementById('waterevents-calc-frame'); | |
var h = f.contentWindow.document.body.scrollHeight; | |
f.height = h + 'px'; | |
}); | |
</script> |
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
<xsl:stylesheet version="1.0" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:output method="xml" indent="yes"/> | |
<xsl:template match="group"> | |
<!--Start recursion over group children--> | |
<xsl:apply-templates select="*[1]" mode="group"/> | |
</xsl:template> |
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'), | |
util = require('util'), | |
xamel = require('./'), | |
Tag = require('./lib/xml').Tag; | |
/** | |
* @param {NodeSet} nset | |
* @returns {Object} plain object | |
*/ | |
function serializeNodeSet(nset) { |
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 net = require('net'), | |
Memcached = require('memcached'), | |
mock = net.createServer(function(sock) { | |
setTimeout(function() { | |
sock.destroy(); | |
}, 30000); | |
}), | |
memcached = new Memcached(['127.0.0.1:11219'], { |
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
namespace elmo { | |
using namespace node; | |
using namespace v8; | |
static Handle<Value> get_loop_state(const Arguments& args) { | |
HandleScope scope; | |
Local<Array> handles = Array::New(); |
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
/* | |
I've wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace | |
so it's better encapsulated. Now you can have multiple random number generators | |
and they won't stomp all over eachother's state. | |
If you want to use this as a substitute for Math.random(), use the random() | |
method like so: | |
var m = new MersenneTwister(); |
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 parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
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
((_)->((_)->(->_--)(_--))(_))(0) |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:res="http://example.com/app/resources" | |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/XSL/Transform" | |
targetNamespace="http://www.w3.org/1999/XSL/Transform"> | |
<xs:import namespace="http://example.com/app/resources" schemaLocation="resources.xsd"/> | |
<xs:redefine schemaLocation="http://www.w3.org/2007/schema-for-xslt20.xsd"> | |
<!-- |
NewerOlder