This file contains hidden or 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
| // 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); | |
| } | |
| }); |
This file contains hidden or 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
| 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); |
This file contains hidden or 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
| ----------- 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 |
This file contains hidden or 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
| /* 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 { |
This file contains hidden or 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
| <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> |
This file contains hidden or 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
| if ["staging", "production"].include?(RAILS_ENV) | |
| Workling::Remote.dispatcher = Workling::Remote::Runners::StarlingRunner.new | |
| else | |
| Workling::Remote.dispatcher = Workling::Remote::Runners::NotRemoteRunner.new | |
| end |
NewerOlder