A A

Archive | Tools

Installing Alan Storm’s LayoutViewer in Magento (works with 1.7!)

Tuesday, August 21, 2012

0 Comments

I use the debug toolbar but nothing beats Alan Storm’s configviewer and layoutviewer. Unfortunately the only archive of this on Alan’s site is missing a module config file to activate it. Below is a simple shell script to download, install and activate the LayoutViewer in any version of Magento. I can confirm it works flawlessly [...]

Small Vim Shortcut for PHP Tags

Wednesday, September 30, 2009

0 Comments

The short tags in PHP have been deprecated as of 5.3.0. Short tags provided a shorter alternative to the annoying-to-type <?php and <?php echo. Instead, you could use <? and <?= respectively. This was great but it caused problems when working with XML files, and the short_tags option was disabled in the PHP config by [...]

How to Block AIM’s Annoying ‘AOL System Msg’ in Pidgin

Friday, May 1, 2009

11 Comments

The following plugin for Pidgin will block the incredibly annoying and useless notifications from AOLSystemMsg on AIM. “AOL System Msg: Your screen name (mrEman) is now signed into AOL(R) Instant Messenger (TM) in 2 locations. Click here for more information.” To use, paste code in file, save file as blockaolsystemmsg.pl in ~/.purple/plugins/ and then open [...]

I Can’t Live Without My vim Config

Saturday, April 11, 2009

0 Comments

I have updated the vim page with my vimrc/gvimrc configs. Instead of repeating myself, I will quote some parts of the page .. More details and the vim config itself here I recommend turning backups on if you have them off. I personally hate having the ~ files all over my OS, so I keep [...]

How to Maintain Static Sites with Git & Jekyll

Tuesday, March 31, 2009

4 Comments

Static sites in this context just means non-database driven sites. Your static site can be an elaborate PHP script or just a few markup and image files. For this I am using Jekyll – A neat Ruby gem that makes your static sites dynamic. It lets you create layouts and embed custom variables in your [...]

Top 10 Firefox Extensions that Enhance Usability

Saturday, September 13, 2008

4 Comments

All of these extensions work on Firefox 3.x Firebug What can I say.. Firebug is indispensable. It’s quite possibly the greatest piece of software since Firefox itself. It’s a *must* have if you do any sort of XHTML/CSS/Javascript/AJAX/er.. anything! You can edit code on any site, live. Hate the annoying background on a specific site? [...]

Spy on your Enemies and Loved Ones for Fun and Profit

Wednesday, September 10, 2008

0 Comments

The following is a stealthy keylogger I wrote in C a few years ago called LogThatShit (LTS). It was written on and for Windows XP, and probably works on Vista, but User Account Access (UAC) might prompt the user for a password. It began as a complete Remote Administration Tool (RAT) named Overdose. I realized [...]

Easily Installing Vim 7.2 From Source

Sunday, August 24, 2008

4 Comments

Vim 7.2 beta was released last month, and 7.2 is now stable. First check to see if your distro offers a package, and if not, follow these simple instructions on how to install it from source, from the vim7.2 subversion branch. cd /tmp/ svn co https://vim.svn.sourceforge.net/svnroot/vim/branches/vim7.2 cd vim7.2/ ./configure --with-features=huge --enable-gui=gnome2 --enable-cscope --enable-pythoninterp make Now [...]

Has vim/rails.vim been crashing lately? Here’s why.

Saturday, August 2, 2008

1 Comment

If you are experiencing segmentation faults with vim and rails.vim, it may be due to this bug, which appeared after 1.7.127, but has been resolved in 1.7.147 (patch log). To check if your installation has this bug, type the following (cred goes to Ralph) in vim: :r ~fo<tab> (’fo’ being the start of a username [...]

Got API? Instantly Search API Documentation

Sunday, June 1, 2008

0 Comments

gotAPI.com does an excellent job congregating API documentation for numerous programming languages under an AJAX interface. No more bulging neck veins or fulmination when you can’t remember the order of those pesky arguments. No support for your favorite language? Contribute. You can add a gotAPI Search Widget to your site: http://www.gotapi.com/widgets/index.html See Ruby/Rails widget below [...]