Rails UJS for Forms
JS frameworks are fun, but for most apps a sprinkling of JavaScript and Rails RJS gets a lot done, it's simple to use and easy to maintain.
Installing (and Fixing) Node, NPM and maybe Grunt on OSX
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.
Clear...
Static Site on s3 With Cloudflare
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...
How to Clear DNS for OSX
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:
whois example...
Intro to Ruby Regular Expressions
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.
Be careful...
Page 3 of 4
← Previous
Next →