I'm not sure when this came out, but Google now has source code search. These guys never stop amazing me.
So what you need to do now is create a new bookmark in firefox. Point it to: http://www.google.com/codesearch?hl=en&q=+lang:php+%s
Give it a name and in the keyword field, put something like 'phpcode'. Save it.
Now in your address bar, type 'phpcode array_merge' and return.
Blogs
Google Code Search
Safely upgrading jQuery in Drupal (6)
Submitted by Harry Slaughter on September 29, 2012 - 7:30pmI recently worked on a project which required a updated version of the jQuery library. While there is the jQuery Update module, it only allows you to upgrade Drupal 6 to jQuery 1.3. If you really know what you're doing and want to upgrade beyond that version, you can either hack core or create your own simple module to do it. While hacking core is certainly the easier approach (simply overwriting misc/jquery.js with a newer version), it is very bad practice.
Fixing corrupted menus
Submitted by Harry Slaughter on September 1, 2012 - 12:31amI'm not sure how it happened, but today I noticed that Drupal's menus were behaving very oddly. After upgrading to Drupal 6 and installing several additional modules, I noticed duplicate menu entries as well as other disturbing oddities. Items I was placing into the menu were not showing up. Menu items that I moved around were apparently saved but they did not appear properly in a dropdown context.
Upgrading to Drupal 6
Submitted by Harry Slaughter on August 26, 2012 - 6:30pmI've been putting it off for a few years, but I finally decided to upgrade devbee.com to Drupal 6.
I didn't really need to, but it bothered me that I wasn't running supported code and I figured I might learn something. And I did. Mostly obvious things that I should be familiar with already.
Drush
I've only ever played around with this. I don't like learning new things unless they are going to be truly useful to me. Drush is definitely something I shouldn't have ignored for so long. It comes in particularly handy when doing a site upgrade as you can download and install modules, clear cache, set variables, run DB updates and a lot more all from the command line. This tool is crazy good if you're comfortable in a terminal.
Tilt 3D - Drupal DOM Visualization
Submitted by Harry Slaughter on January 10, 2012 - 2:11pmThe following is a guest post by Mitchel Xavier
One of the challenges of developing with Drupal is to understand Drupal’s structure. Until now, when working with the DOM structure, the DOM inspector has been the best tool for viewing the structure. A new tool has been created to make the visualization of the DOM structure much easier to interpret. It is a Firefox add-on and is called Tilt 3D. It creates 3 dimensional interactive representation of the DOM elements as a layered visual image.
A requirement to use Tilt 3D is that your browser supports WebGL. WebGL is a Javascript software library which allows for the creation of 3D graphics very quickly and without the requirement for additional plugins. Currently Firefox is the only browser to support this tool. Firefox has supported WebGL since version 4. The other requirement for Tilt 3D is that it is supported with a capable graphics card.

