- Helvetica neue
- Proxima nova
- Lato
- Open sans
- Source Sans Pro
- museo-sans
- raleway
- http://parse.com
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
app.get(/^([^.]+)$/, function (req, res) { res.redirect(req.routes.path + '.html');}); |
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
/node_modules | |
/package.json | |
/src | |
/node_modules | |
/client -> ../client | |
/server -> ../server | |
/shared -> ../shared | |
/client | |
/apps | |
/main |
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
function test() { | |
//code | |
codeThatListensToEvent(function() { | |
// finish the code | |
}); | |
} | |
function codeThatListensToEvent(cb) { | |
socket.doStuff(); |
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
setInterval(function () { | |
var color = 'rgb('+Math.floor(Math.random()*255)+','+Math.floor(Math.random()*255)+','+Math.floor(Math.random()*255)+')'; | |
console.log(color); | |
document.getElementsByTagName('header')[0].style['background-color'] = color; | |
}, 10); |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<style> | |
div { | |
width: 40px; | |
height: 10px; | |
display: inline-block; |
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
.lang-swift { | |
color: #528186; | |
} | |
.lang-swift .symbol { | |
color: #000; | |
} | |
.lang-swift .keyword { | |
color: #b6399f; |
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 numNodes = 20; | |
var roundNum = 100; | |
var a = []; | |
for (var i = 0; i < numNodes; ++i) { | |
var connections = []; | |
var sum = 0; | |
for (var j = 0; j < numNodes; ++j) { | |
var randNum = Math.random() / numNodes; | |
// round the num | |
randNum = Math.round(randNum * roundNum) / roundNum; |
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
/** | |
* Asserts that two maps are equal. | |
*/ | |
static public void assertEquals(Map<?, ?> actual, Map<?, ?> expected) { | |
if (actual == expected) { | |
return; | |
} | |
if (actual == null || expected == null) { | |
fail("Maps not equal: expected: " + expected + " and actual: " + actual); |
I hereby claim:
- I am grant on github.
- I am grant (https://keybase.io/grant) on keybase.
- I have a public key whose fingerprint is 5DC1 0500 27DD 5A2F 423C 79A1 BA41 5BFE 5C8F 61A4
To claim this, I am signing this object:
OlderNewer