-
History of Realtime - @metajack
-
Realtime Insights - @guille
https://speakerdeck.com/rauchg/io-insights -
Making DISQUS Realtime - @NorthIsUp
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
#!/usr/bin/env bash | |
# search directory defaults to current | |
dir=. | |
# case sensitive search | |
sensitive= | |
# colors enabled by default in ttys | |
if [ -t 1 ]; then |
dotjs userscript for visualizing package.json
files (if present) underneath the tree view.
Very useful for navigating Node.JS projects
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
#!/usr/bin/env bash | |
# search directory defaults to current | |
dir=. | |
# case sensitive search | |
sensitive= | |
# colors enabled by default in ttys | |
if [ -t 1 ]; then |
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
/** | |
# eq.js: minimalistic equation evaluator. | |
eq(str, vars) | |
Features: | |
- evaluate variables in the `vars` object | |
- `str` can use any `Math` function or property: round, ceil, max, E |
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
#wrap .chrome-frame-message-box | |
background #eee | |
color #000 | |
text-align center | |
height 140px | |
padding-top 16px | |
border-bottom solid 1px #bdbdbd | |
.chrome-frame-message | |
position relative | |
width 980px |
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
/** | |
* Triggers a CSS3 keyframe-based animation | |
* | |
* @param {String} animation name | |
* @api public | |
*/ | |
jQuery.fn.animation = function (name, opts, fn) { | |
if ('function' == typeof opts) { |
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
∞ ~ ab -n 1000 -c 100 http://127.0.0.1:10000/ | |
This is ApacheBench, Version 2.3 <$Revision: 1139530 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking 127.0.0.1 (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests |
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
> rs.initiate({_id: "lbdevset", members: [{_id: 0, host: "HOST:28017"}, {_id: 1, host: "HOST:28018"}] }) | |
> rs.addArb("HOST:28019") |
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
mongodb: | |
@$(MONGOD) \ | |
--replSet=lbdevset \ | |
--port=28017 \ | |
--logappend \ | |
--logpath="$(PWD)/logs/mongodb.node1.log" \ | |
--dbpath="$(PWD)/data/db/node1" \ | |
--pidfilepath $(PWD)/pids \ | |
--fork \ | |
--rest |