Problems with Node? It’s not uncommon.
So, have you got the latest version?
node -v v0.10.28 npm -v 0.01
OK, that’s not good. Even if you have newish versions though and you can’t get it working it’s often best just to start from scratch.
If you want to set up a simple static site, amazon’s s3 service is a great choice. S3 is simple to use, reliable and very very cheap. Ideal for simple html sites you have made by hand or more complicated sites generated using Middleman or another...
You made a change to your DNS. You wanna test it. Is it workin?
To clear the DNS, do this:
sudo killall -HUP mDNSResponder
then go to
chrome://net-internals/#dns and click the clear host cache button
Check the results with this:
Regular Expressions are used to match patterns to strings. They are super powerful and very scary. If you use them badly your code can become totally un-maintainbale and confusing. When the time is right and used wisely they are great.