Back from the Dead with Eclipse
This Halloween inspired post explains how to bring a file back from the dead if you've ever looked at it in eclipse.
I have been playing with blueprintcss and pulled down source this morning. It's genius to a developer with my *ahem* design skills, so I was thrilled to get it installed and running. But I was having trouble with one of their examples.
The idea is that the page is divided into 24 columns so you can give a div a class of "span-24" and voila, you have a 24 column div. You can create subdivs so that if your container is 12 columns you should be able to have subdivs marked span-8 and span-4 - gettit? 8+4=12. But it didn't. Somehow I was seeing funky layout wrapping.
Turns out I had the bleeding edge broken version but since I knew it was a github repo file, I could try out Git for the first time to pull down the fix (fixed minutes after I downloaded apparently). I installed Msysgit and then went to my blueprint directory. Tried a git pull from the command line within the repo directory but it said my local repo wasn't a repo. Grabbed the git cheat sheet and decided to do a "git init" and "git add ." Looking good.
Enter the Dragon
At this point I usually stare at the screen but since time is against me I recreate my lay_blueprint.cfm file and just as I right click for some reason I notice the "replace with" eclipse context menu item is there. Hmm. I had clearly edited the file earlier today in Eclipse. Could it be... Holy Stomping Mummys Batman - back from the dead. My empty lay_blueprint.cfm fills with the lost code as my eyes fill with tears of joy. Yay Eclipse!