Multi-series line chart rendered using React and D3.
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
"AAA" | |
"BBB" | |
"DDD" |
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 text = "!startdate 1/13/14" | |
var text2 = "!startdate 1/13/14" | |
var re_startdate = /.*!startdate ([0-9]*\/[0-9]*\/[0-9]*).*/gi | |
var d = re_startdate.exec(text) | |
console.log(d) | |
d = re_startdate.exec(text2) | |
console.log(d) | |
/* | |
[ '!startdate 1/13/14', |
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
such speed ?I | |
?==+? | |
?++==? +==+? | |
=~~==++ +===+? | |
=~~=====++ +====+? | |
~~~==~====+? ?===~~=++? | |
~=~~~=~~=~==+????++++++=+++++++++=+? | |
~~~~:::~~=:~==~=+++++++++=++++++++?+I | |
=~=~:,~====~~~++++++++++=====+++????++ |
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
{"Server":"hackathon.eecs.wsu.edu:11221","Files":[{"Path":"src/user/main.c","LastTime":"2014-02-25T17:34:56.2732138-08:00"},{"Path":"src/user/mku.sh","LastTime":"2014-02-25T17:34:56.273264988-08:00"},{"Path":"src/user/u.s","LastTime":"2014-02-25T17:34:56.273296416-08:00"},{"Path":"src/user/ucode.c","LastTime":"2014-02-25T17:34:56.273319587-08:00"},{"Path":"src/kernel/asm.s","LastTime":"2014-02-25T17:34:56.273348964-08:00"},{"Path":"src/kernel/debug.c","LastTime":"2014-02-25T17:34:56.273368362-08:00"},{"Path":"src/kernel/debug.h","LastTime":"2014-02-25T17:34:56.273383577-08:00"},{"Path":"src/kernel/kernel.c","LastTime":"2014-02-25T17:34:56.273398713-08:00"},{"Path":"src/kernel/kernel.h","LastTime":"2014-02-25T17:34:56.273426139-08:00"},{"Path":"src/kernel/kernel_int.c","LastTime":"2014-02-25T17:34:56.27344934-08:00"},{"Path":"src/kernel/kernel_internal.h","LastTime":"2014-02-25T17:34:56.273467605-08:00"},{"Path":"src/kernel/kernel_wait.c","LastTime":"2014-02-25T17:34:56.273483302-08:00"},{"Path":"src/kernel/ma |
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
{ | |
"Bullets": { | |
"a" : { | |
"Speed":2, | |
"Damage":3, | |
"Initial":"Random", | |
"Behaviours": { | |
"Seeking":[15,2,0.9], | |
"Shatter":[20,1,30] | |
} |
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') | |
var _ = require('lodash') | |
var uuid = require('node-uuid') | |
var server = net.createServer(); | |
var connections = [] | |
server.on('connection', function (conn) { | |
conn.id = uuid.v1() | |
connections.push(conn) |
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
/** @jsx React.DOM */ | |
var TableHeaderComponent = React.createClass({ | |
render: function () { | |
var headerNodes = this.props.headers.map(function(header) { | |
return ( | |
<th>{header.title}</th> | |
) | |
}) | |
return ( |
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
$ dig ntslive.co.uk Sun Sep 7 11:48:15 PDT 2014 | |
; <<>> DiG 9.8.3-P1 <<>> ntslive.co.uk | |
;; global options: +cmd | |
;; Got answer: | |
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13526 | |
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 | |
;; QUESTION SECTION: | |
;ntslive.co.uk. IN A |
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
def binary_op(t): | |
if len(__stack) < 2: | |
return False | |
if type(__stack[0]) is t and type(__stack[1]) is t: | |
return True | |
else: | |
return False | |
def unary_op(t): | |
if len(__stack) < 1: |
OlderNewer