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
c.prototype.findClosest = function(b, c) { | |
var e = this; | |
c = d.clone(c || {}); | |
var f = a.rooms[this.roomName]; | |
if (!f) throw new Error("Could not access a room " + this.roomName); | |
if (d.isUndefined(b)) return null; | |
var g, j = null, k = f.getEndNodes(b, c); | |
if (!c.algorithm) { | |
var l, m = 0; | |
k.objects.forEach(function(a) { |
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
//! moment-timezone.js | |
//! version : 0.3.0 | |
//! author : Tim Wood | |
//! license : MIT | |
//! github.com/moment/moment-timezone | |
var moment = (function (root, factory) { | |
"use strict"; | |
/*global define*/ |
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
var fs = require('fs'); | |
var http = require('http'); | |
var path = require('path'); | |
var useLocal = false; // Just to stop this script from fetching unicodeData all the time ;-) | |
var es6mode = false; // If false, we use es5 syntax and ommit some characters for now | |
// Format: | |
// 0000;<control>;Cc;0;BN;;;;;N;NULL;;;; | |
// |
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
var global = self; | |
var Reflect = { | |
global: global | |
}; | |
!function a(b, c, d) { | |
function e(g, h) { | |
if (!c[g]) { | |
if (!b[g]) { |
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
### Keybase proof | |
I hereby claim: | |
* I am avdg on github. | |
* I am anthonyvdg (https://keybase.io/anthonyvdg) on keybase. | |
* I have a public key whose fingerprint is AEAB D787 FD4A 0B8E CD9B D3B1 E296 08B0 FF0E 3964 | |
To claim this, I am signing this object: |
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
- arabic_egypt | |
- basque | |
- belarusian | |
- brazilian_portuguese | |
- english_AU | |
- english_US | |
- hebrew | |
- indonesian | |
- irish | |
- luxembourgish |
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
# Note htmlFilter is WiP (Work in Progress) ;-) | |
import cgi | |
buf_re = { | |
'basicTags': re.compile( \ | |
r'<(' \ | |
r'/?(b|c(ite|ode)|d([dlt]|el)|em|h[0-6]|i(ns)?|li|marquee|ol|p|' \ | |
r's(mall|tr(ike|ong)|u[bp])?|t(able|[dhrt])|u[lm]?)|[bh]r' | |
r')\s*>'), | |
'closingComplexTags': re.compile('</(a)&\s*gt;'), |
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
PAGE = "<page:(?:/([a-zA-Z0-9-][a-zA-Z0-9_-]*/?)*)?>" | |
VERSION = "<version:(?:\:[\d]+)?>" | |
WIKIURL = PAGE + VERSION |
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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; SPACE PONG ;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Player a: Use S and X ;; | |
; Player b: Use H and N ;; | |
; HOLD DOWN A KEY TO START THE GAME ;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; GOAL ;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Be the real captain ;; |
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
var tmp = null; | |
$('###selector###').popover({ | |
trigger: 'manual', | |
title: 'testing', | |
delay: {show:500, hide:100} | |
}); | |
$('###selector###').hover(function(){ | |
clearTimeout(tmp); |