Ruby on Rails 3.1 Recaptcha Form with Validation

Forms are everywhere on the web. I am writing this post in a form, you will comment in the form below, and adding this post to your rss reader will require a form. The problem is, spammers love forms. The silver bullet for their attacks is the unchecked form. Here I will example one method [...]
Posted in forms, validation · Leave a comment

Three Quick Command Line Tricks

Note: These are not all for the command line. There are so many other tricks we learn along the way and they are seldom documented. If you know others please throw them in the comments. MySQL Tip: When you run a normal query in MySQL prompt, if your table is larger than your monitor, you [...]
Posted in MySQL, Unix, vim · Tagged · Leave a comment

Local WordPress Development Environment without MAMP on OSX Lion

This post will teach you how to set up a local development environment to manipulate and create your web applications using the WordPress code base. A few years ago the status quo for getting a development environment for PHP applications was to use MAMP – Mac, Apache, MySQL & PHP. This worked fine until I [...]
Posted in blogs, education, wordpress · Leave a comment

curl: (1) Protocol https not supported or disabled in libcurl

Trying to install “brew” on a computer foreign computer I was hung up on this the today. How rather dumb! How to normally install brew: $ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" => curl: (1) Protocol https not supported or disabled in libcurl Thought this was going to be easy right, wtf? So, I had to [...]
Posted in brew, curl, Unix · Leave a comment

Deploying Rails 3.1 on Heroku Cedar with Rails Admin

Last night I spent way too much time getting this whole deal working for an initial deployment. Heroku has always been one of the easiest ways to get Rails applications on a server and running, but working on this new idea with Rails 3.1 and the rails-admin engine was a bit trying. Tools used: Rails [...]
Posted in CMS, Heroku, ruby on rails · 1 Comment