Skip to content

Instantly share code, notes, and snippets.

// where to open connection to db now?
module.exports = http.createServer(function(req, res) {
try {
agent_smith.serveRequest(req, res);
} catch(e) {
agent_smith.handleError(req, res, e);
}
});
db.open(function(p_db) {
var agent_smith = new AgentSmith();
agent_smith.init(db, function() {
http.createServer(function(req, res) {
try {
agent_smith.serveRequest(req, res);
} catch(e) {
agent_smith.handleError(req, res, e);
}
}).listen(config.listen_port);
----------- General information -----------
max = 40
count = 40
active = 40
inactive = 0
Waiting on global queue: 0
----------- Domains -----------
/var/apps/outright_app/current:
PID: 3786 Sessions: 2 Processed: 24 Uptime: 32m 15s
/* Grid css used to look like this */
#yui-main,
.yui-g .yui-u .yui-g {
width: 100%;
}
/* I made this change to resolve the issue */
#yui-main,
.yui-g .yui-u .yui-g,
.yui-gc .yui-u .yui-g {
<div class="yui-gc">
<div class="yui-u first">
Some content here that should be 66%
<div class="yui-g">
<div class="yui-u first>
Should be 50% of parent not 33%
</div>
<div class="yui-u first>
Should be 50% of parent not 33%
</div>
if ["staging", "production"].include?(RAILS_ENV)
Workling::Remote.dispatcher = Workling::Remote::Runners::StarlingRunner.new
else
Workling::Remote.dispatcher = Workling::Remote::Runners::NotRemoteRunner.new
end