-
http://github.com/legastero/sdp-jingle-json -- General library to transform SDP to JSON suitable for Jingle, and back
-
http://github.com/legastero/jingle.js -- Generic Jingle library for integrating with WebRTC and managing sessions
-
http://github.com/legastero/jingle-interop-demos -- A collection of demos for testing interop between our various implementations
-
http://github.com/legastero/stanza.io -- An XMPP over Websocket library that does XMPP in the browser, but exposes a JSON api. Includes a Jingle plugin.
-
http://github.com/lloydwatkin/xmpp-ftw -- XMPP as JSON library that proxies the connection over Primus so the browser only ever receives JSON
-
http://github.com/lloydwatkin/xmpp-ftw-jingle -- A Jingle plugin for XMPP-FTW
-
http://github.com/estos/strophe.jingle -- A Jingle plugin for Strophe.js
-
https://github.com/valeriansaliou/jsjac-jingle -- Jingle plugin for JSJac, another XMPP sans XML library
This file contains hidden or 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
!function(Object, getPropertyDescriptor, getPropertyNames){ | |
// (C) WebReflection - Mit Style License | |
if (!(getPropertyDescriptor in Object)) { | |
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; | |
Object[getPropertyDescriptor] = function getPropertyDescriptor(o, name) { | |
var proto = o, descriptor; | |
while (proto && !( | |
descriptor = getOwnPropertyDescriptor(proto, name)) | |
) proto = proto.__proto__; | |
return descriptor; |
This file contains hidden or 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
-- 1. apt-get install prosody-trunk | |
-- 2. Checkout prosody-modules on Google Code | |
-- 3. Move all modules to /usr/lib/prosody/modules | |
-- 4. Move the mod_smacks module to mod_smacks2 and copy it to mod_smacks3 | |
-- 5. Move the files in mod_smacks* to match the new names | |
-- 6. In mod_smacks3/mod_smacks3.lua s/urn:xmpp:sm:2/urn:xmpp:sm:3/g | |
-- 7. Set the Prosody configuration to: | |
admins = { "ADMIN@HOST" } | |
daemonize = true |
This file contains hidden or 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 Spikes | |
import Boo.Lang.PatternMatching | |
import Boo.Lang.Compiler | |
import Boo.Lang.Compiler.Ast | |
import Boo.Lang.Compiler.MetaProgramming | |
class EnableResponsePatternAttribute(AbstractAstAttribute): | |
override def Apply(node as Node): | |
node.Accept(ResponseTransformer()) |
This file contains hidden or 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
package lambdas; | |
import sun.reflect.ConstantPool; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
public class TypeTest { | |
@FunctionalInterface |
ES6 introduced a new protocol for constructing instances, but its features (incl. new.target
) work in both classes and traditional functions. These are the differences between traditional functions and classes:
-
Traditional functions can’t make superconstructor calls via
super()
. That means that they are always base classes. In ES5, superconstructors are called as functions. -
The prototype of traditional functions and base classes is
Function.prototype
. The prototype of a derived class is its superclass. -
Classes can’t be function-called. An exception is thrown if you do.
This file contains hidden or 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> | |
<head> | |
<meta charset="utf-8"/> | |
<title>Unique-ify: In Place or At Finish</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/benchmark/1.0.0/benchmark.min.js"></script> | |
<script src="./suite.js"></script> | |
</head> | |
<body> | |
<h1>Open the console to view the results</h1> |