Real unit test (isolation, no children render)
Calls:
- constructor
- render
{ | |
// POSSIBLE ERRORS | |
"box-model": false, // Beware of broken box models | |
"display-property-grouping": true, // Use correct properties for a display | |
"duplicate-properties": true, // Avoid duplicate properties | |
"empty-rules": true, // Remove empty rules | |
"known-properties": false, // Require use of known properties | |
// COMPATIBILITY | |
"adjoining-classes": false, // Don't use adjoining classes |
var stream = require('stream'); | |
GreenStream.prototype = Object.create(stream.Writable.prototype, { | |
constructor: { value: GreenStream } | |
}); | |
function GreenStream(options) { | |
stream.Writable.call(this, options); | |
} |
sudo ipfw pipe 1 config bw 512kbit/s | |
sudo ipfw add pipe 1 dst-port http | |
sudo ipfw add pipe 1 src-port http | |
sudo ipfw flush |
Object.prototype.toString.call(a); //-> [object Array] | |
Object.prototype.toString.call(a).toLowerCase.indexOf('array'); |
ssh [email protected] | |
mkdir my_project.git | |
cd my_project.git | |
git --bare init | |
git-update-server-info # If planning to serve via HTTP | |
exit |
<VirtualHost *:80> | |
ServerAdmin default | |
ServerName nodejs.localhost | |
ProxyPass / balancer://ourexamplecluster | |
ProxyPassReverse / balancer://ourexamplecluster | |
<proxy balancer://ourexamplecluster ourexamplecluster=""> | |
BalancerMember http://127.0.0.1:8000 | |
</proxy> | |
</virtualhost> |