Using Git's Stash

Php / Mysql

Here is an example. Lets say you accidentally made a bunch of changes on the staging or master branch that have not been staged/added for a commit. You can normally checkout your desired branch and your unstaged changes will move over to your new branch and be marked "M" for moved. But sometimes git won't be able to move your changes and you get an error like "Your local changes to the following files would be overwritten by checkout:". When this happens you can use git's stash function to store your unstaged changes using: $ git stash. Then you can checkout your desired branch and use: $ git stash apply. Your changed files will be moved into your current branch.

Advanced QR Code with Images

Good Times

Just created a pretty cool QR code with my face in it at So I thought I'd tell you how I did it. The real credit goes to the guy who built the QR code generator with the ability to insert an image at the link I posted above. But you need to do a little more work than just uploading your photo. If you want to do your face like mine you need to throw the image into photoshop first. Find a tutorial for the Che Guevara/Barak Obama effect. Make a black and white version of your image and save it as an 8bit .png file. You may have to play around with the settings for the QR code at to get it just right but the end result is awesome and it scans great and will work with just about any url, try and keep the URL small though.

BlinkeyPoo v1 - A jQuery Plugin that mimics the old "blink" tag

Demo & Download BlinkeyPoo v1

The BlinkeyPoo jQuery plugin mimics the effect that the <blink> tag used to provide. Esentially if you need an element to blink, flash, pulse, etc. This is your plugin.

jQuery UI has an effect called pulsate that I think may do the same thing but this plugin is very tiny, easy to modify, and even easier to use.


You can set how many times you want the element to blink per second.


Place the following code into the head of your document.

Demo & Download BlinkeyPoo v1

FTP with Eclipse and Aptana Plugin

Php / Mysql

I just recently changed my coding environment over to the Eclipse IDE for php, anyways I was looking for the best way to FTP from Eclipse and I concluded my search with the Aptana plugin for Eclipse. Its easy to install, but after that figuring out exactly how it works was kind of a pain. Once I figured it out though it works great.

Installing Aptana Plugin:

Download the Aptana plugin for Eclipse here:

Follow the instructions on the download page. Here they are again for reference:

  • From the Help menu, select Install New Software... to open the Install New Software dialog.
  • Paste the URL for the update site into the Work With text box, and hit the Enter (or Return) key.
  • In the populated table below, check the box next to the name of the plug-in, and then click theNext button.
  • Click the Next button to go to the license page.
  • Choose the option to accept the terms of the license agreement, and click the Finish button.
  • You may need to restart Eclipse to continue.

Using the Remote/FTP Features of Aptana:

Now once I got the Aptana plugin installed that's when I found the information out there on how to use it somewhat confusing. There are several explorer panes to explore your files in Eclipse. The one your going to want to use is the "Project Explorer", not the app explorer, or the php explorer. 

Setting up FTP/Remote Connections:

To get to the remote connections panel, in the file menu go to Window >  Show View> Other..., then type remote into the search field and you should see the "Remote" option. Double-click it. This is where you will set up your remote FTP/SFTP connections just like your used to.

Configuring Your Project to Use Your Connections:

Getting your project to upload/download to your remote connection is easy from the Project Explorer panel. The App Explorer panel and the Php Explorer panel gave me a lot of issues. By default my eclipse (for php) was having me use the Php Explorer. After installing Aptana, it was having me use the App Explorer. So in the Project Explorer, there will be a connections icon in your project (it looks like a little globe). Click the connections icon. Here you will setup how and which remote connection your project uses. Once you have it set up. Uploading and downloading files is a cinch! Just right click and transfer.