A currently uncensored list.
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
const errorMessage = this.state.errorMessage || (this.props.error && this.props.error.message); |
Interesting technology that is relevant to OneRoom
- React: http://facebook.github.io/react/
- Flux: http://facebook.github.io/flux/
- Yahoo's Fluxible: http://fluxible.io/
- Yahoo's data services Fetchr: https://github.com/yahoo/fetchr
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
router.get('/', function (request, response, next) { | |
if (request.query.next) { | |
// Properly handled by Express | |
next(new Error('Error that I nexted')); | |
} | |
else if (request.query['throw']) { | |
// Properly handled by Express | |
throw new Error('Error that I threw'); | |
} | |
else if (request.query.asyncNext) { |
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 backtype.storm.task.OutputCollector; | |
import backtype.storm.task.TopologyContext; | |
import backtype.storm.topology.OutputFieldsDeclarer; | |
import backtype.storm.topology.base.BaseRichBolt; | |
import backtype.storm.tuple.Tuple; | |
import org.kiji.schema.Kiji; | |
import org.kiji.schema.KijiURI; | |
import org.kiji.schema.KijiTable; | |
import org.kiji.schema.KijiTableWriter; |
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
WRITER_SCHEMA = <<-JSON | |
{ "type": "record", | |
"name": "User", | |
"fields" : [ | |
{"name": "username", "type": "string"}, | |
{"name": "age", "type": "int"}, | |
{"name": "verified", "type": "boolean", "default": "false"} | |
]} | |
JSON |
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
require 'formula' | |
class PerconaServer < Formula | |
url 'http://www.percona.com/redir/downloads/Percona-Server-5.1/Percona-Server-5.1.58-12.9/source/Percona-Server-5.1.58.tar.gz' | |
homepage 'http://www.percona.com/software/percona-server/' | |
md5 'd5960629d4a3c4b4bdf7e40be6d40525' | |
def install | |
# Make sure the var/mysql directory exists | |
(var+"mysql").mkpath |