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
/sites/pad/etherpad-lite/src/node_modules/log4js/lib/date_format.js:26 | |
.replace(/y{1,4}/g, vYear) | |
^ | |
RangeError: Maximum call stack size exceeded |
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
exports.eejsBlock_embedPopup = function(hook_name, args, cb) { | |
var Pad = require('ep_etherpad-lite/node/db/Pad.js').Pad; | |
var padID = args.renderContext.req.url.split('/')[2]; | |
var pad = new Pad(padID); | |
var isPublic = false; | |
pad.init(null, function() { | |
isPublic = pad.getPublicStatus(); | |
console.log('requested pad is '+isPublic); | |
if(isPublic) { | |
args.content = args.content + eejs.require('ep_make_public/templates/embedPopup_public.html', {}, module); |
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
ssl on; | |
ssl_certificate ssl_chain.crt; | |
ssl_certificate_key ssl.key; | |
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; | |
ssl_prefer_server_ciphers on; | |
ssl_session_timeout 5m; | |
ssl_session_cache builtin:1000 shared:SSL:10m; |
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
[vileda:~] % sslscan fnordeingang.de G RC4 | |
Failed SSLv2 128 bits RC4-MD5 | |
Failed SSLv2 40 bits EXP-RC4-MD5 | |
Rejected SSLv3 128 bits ECDHE-RSA-RC4-SHA | |
Rejected SSLv3 128 bits ECDHE-ECDSA-RC4-SHA | |
Rejected SSLv3 128 bits AECDH-RC4-SHA | |
Rejected SSLv3 128 bits ADH-RC4-MD5 | |
Rejected SSLv3 128 bits ECDH-RSA-RC4-SHA | |
Rejected SSLv3 128 bits ECDH-ECDSA-RC4-SHA | |
Rejected SSLv3 128 bits RC4-SHA |
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
init: function init () { | |
if(!$$(".firstemployee a")[0]) return; | |
$$('.employeeDecider li a').addEvent('click', this.employeeDeciderClicked.bindWithEvent(this)); | |
this.enableEmployeeDecider($$(".firstemployee a")[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
nc -l -u localhost 7355 | sox -t raw -esigned-integer -b 16 -r 48000 - -esigned-integer -b 16 -r 22050 -t raw - | multimon-ng -t raw -a POCSAG512 -a POCSAG1200 -a POCSAG2400 -f alpha - |
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
fooDispatch function dispatch(action) { | |
return _dispatch(action); | |
} | |
store.js?5dc3:13fooNext function (action) { | |
console.log("barDispatch", dispatch.toString()); | |
console.log("barNext", next.toString()); | |
next(action); | |
} | |
store.js?5dc3:17barDispatch function dispatch(action) { | |
return _dispatch(action); |
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
fs = require 'fs' | |
execSync = require('child_process').execSync | |
tmp = require('tmp') | |
execSync('wget -c https://github.com/facebookresearch/fastText/archive/master.tar.gz') | |
execSync('tar xvfz master.tar.gz && cd fastText-master && make && cp fasttext ../') | |
module.exports = (robot) -> | |
robot.respond /train \"(.+)\" (.+)/i, (res) -> |
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
import com.sun.crypto.provider.DHKeyPairGenerator; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.SecureRandom; | |
public class DHKeyTest | |
{ | |
public static void main(String[] args) throws NoSuchAlgorithmException | |
{ |
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
KNN Classifiaction of fnordeingang opening times | |
================================================= | |
WEDNESDAY 2016-11-23T16:51 | |
THURSDAY 2016-11-24T17:11 | |
SATURDAY 2016-11-26T01:57:30 | |
SUNDAY 2016-11-27T16:47:30 | |
MONDAY 2016-11-28T18:40 | |
TUESDAY 2016-11-29T17:56 | |
WEDNESDAY 2016-11-30T16:51 |