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 theano | |
import theano.tensor as T | |
import numpy as np | |
import cPickle | |
import random | |
import matplotlib.pyplot as plt | |
class RNN(object): | |
def __init__(self, nin, n_hidden, nout): |
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
alias nodeir='node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --print-opt-code' |
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 stream = require('stream'); | |
var s = new stream.Readable({ | |
highWaterMark: 20, | |
read: function() { | |
setImmediate(this.push.bind(this, 'abc')); | |
} | |
}); | |
s.pipe(process.stdout); |
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> | |
<meta charset="utf8"> | |
<title>dprof visualizer</title> | |
<style> | |
/* general page layout */ | |
html, body { | |
margin: 0; | |
height: 100%; | |
} |
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> | |
<meta charset="utf8"> | |
<title>dprof visualizer</title> | |
<style> | |
/* general page layout */ | |
html, body { | |
margin: 0; | |
height: 100%; | |
} |
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> | |
<meta charset="utf8"> | |
<title>dprof visualizer</title> | |
<style> | |
/* general page layout */ | |
html, body { | |
margin: 0; | |
height: 100%; | |
} |
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
/*jslint white: true, devel: true, debug: true, onevar: true, | |
node: true, undef: true, nomen: true, regexp: false, | |
plusplus: false, bitwise: true, unparam: false, es5: true, | |
newcap: true, on: true, strict: true */ | |
(function (global, undefined) { | |
"use strict"; | |
require.paths = [ '/Users/Andreas/.node_modules', '/usr/local/lib/node_modules' ]; | |
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
/*jslint white: true, devel: true, debug: true, onevar: true, | |
node: true, undef: true, nomen: true, regexp: false, | |
plusplus: false, bitwise: true, unparam: false, es5: true, | |
newcap: true, on: true, strict: true */ | |
(function (global, undefined) { | |
"use strict"; | |
//get the forever module | |
var forever = require("forever"), |
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 http = require('http'); | |
http.createServer(function (req, res) { | |
res.end(); | |
}).listen(1337, "127.0.0.1"); | |
console.log('emitter.js running'); |
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
Andreas-Madsens-MacBook-Pro:~ Andreas$ cd Sites/WebNodes/interface/ | |
Andreas-Madsens-MacBook-Pro:interface Andreas$ node test.js | |
Output forever list: | |
Number of open processors: 0 | |
null | |
start emitter.js | |
emitter.js is started | |
Output forever list: | |
Number of open processors: 1 | |
[0] node /Users/Andreas/Sites/WebNodes/interface/emitter.js [4483, 4482] /Users/Andreas/Sites/WebNodes/interface/log/S9H7.log 0:0:0:0.38 |