So I was writing this tool to create a bunch of SQL statements from a data dump. Simple enough, right. And as always when you generate SQL statements, you have to make sure that the data doesn’t interfere with the SQL syntax by escaping the single quotes (and generally any binary data, but I didn’t [...]
It’s time for the yearly survey for web professionals: But that’s hardly a note to self. Looks like I’m turning this into a blog.
Installing the mysql gem for Ruby is almost always a mess, as witnessed by the large number of hits one get when googling for “mysql gem leopard”. To make the gem work with your platform, you need to ensure that the ‘make’ command run internally by ‘gem’ has the right ARCHFLAGS, which most of the [...]
I acquired this server in December 2006 to host a few Rails projects and one of the first things I did was to disable Apache and install Nginx. Once I decided to use WordPress for this blog, I needed PHP, and while I could have tried to set up PHP for Nginx, I decided to [...]
While this is a public blog, its primary audience is not the meandering surfers of the inter-tubes, but myself. I need someplace to store various findings and HOWTOs that I write for myself. I assume that they will prove useful for others too, from time to time, but that is mostly a side-effect. That being [...]
Recent Comments