Here is a neat little apple script to center the frontmost window with an applescript. Just paste the script into Script Editor, save the script somewhere and then hook it up to a Quicksilver trigger... keep reading
I have been working on PGnJ 0.8 since the day I released 0.7. With this release I really wanted to concentrate on further refining the application rather than adding new SQL related features. By adding an About box, a Preference System, Software Update and refining the row selection behavior of the main JTree in PGnJ, I think I succeed in my goal... keep reading
While working on a scheduling application tonight, I found a neat Ruby code snippet that lets you easily convert a Ruby date range to SQL... keep reading
Ran into this issue today where basically Rails was trying to push an empty string in for a foreign key field with no value rather than a null while using CSV fixtures... keep reading
Most of the demos or plugins for rails that I've seen, talk about authorization like it's dead simple. You're logged in or you're not. That may work in a lot of cases, but in a system with a larger overall breadth, where users fill specific roles rather than all using the system in the same way, tha.. keep reading
In TextMate, I always use ctrl shift . to auto-complete html tags. For example, you can type div then hit ctrl shift . and it will generate <div></div> with your cursor in the middle of the start-end tags. It's an incredible time savor. It also handles things like br turning into <b.. keep reading
A friend of mine taught me a neat trick when I wanted to remove .DS_Store files from a bunch of directories that I uploaded to a web sever... keep reading
Apparently has_many :X, :through = :Y depends on you having an existing has_many :Y defined in the model. You get this error when you call find if you haven't declared that the model has_many :Y. Who knew? source.. keep reading
I found this neat css you can add to your `userContent.css` file in Camino or Firefox to hide that annoying invite box in Gmail... keep reading
Copy & paste on a Nokia E61 is so intuitive, that it's sort of odd to figure out. How do you do it?.. keep reading
Symbian's auto-receive feature on the Nokia E61 is pretty great way to avoid getting a Push email service like blackberry connect. Unfortunately, when trying to use Gmail's POP3 with Symbian's auto-receive, you run into a few issues... keep reading