Archive for July, 2007

Necessary Cheat Sheets for Ruby and Ruby on Rails 0

rails1.png
I’ve started using RoR recently for some new projects and I’ve been getting sick of trying to remember ruby coding standards, much less RoR. If you’re from a background different then Ruby (who isn’t?) Ruby standards can be a little tricky (I’m not saying they don’t make sense, they make great sense, its breaking the bad habits that’s hard).

Here are the best cheatsheets I’ve found:

Ruby:

Ruby on Rails:

Textmate + Rails:

Word HTML Cleaner – Word to HTML to PDF 0

Saving a word doc to html simply creates junk. Disgusting code that noone can work with.

Well today for Dickerson Driving School‘s new student contract registration system I have to take a word doc, save it to html, have it dynamically edited based on a user’s database info, and render a resulting customized pdf.

The first step was to edit the saved html from the original word doc so it would render correctly with html2pdf converters. Enter Testism’s Word HTML Cleaner. It not only cleans out the trash that word renders when saving html files, it does it pretty damn well. Using the newly cleaned up code I can easily adjust spacing and formating.

Now that we have an html file that we can work with we plug it into DomPDF, a free open source PHP5 based HTML to PDF tool. While there are multiple programs that can do the conversion, I need something that can be installed on the server so it can be modified to search the db for a specific user’s information and render the pdf’s on the fly.

Taking full page web screenshots in OS X. 0

Apple was very thoughtful when putting screenshotting abilities in OS X. They included the “Grab” application, which allows you to capture the screen, a selection, or just a window, and then decide what to do with it. But what happens when the window isn’t big enough to capture everything you want, say a screenshot of a full web page. That’s the question I was asking before I started a search and finally came across Paparazzi for OS X. Paparazzi allows you to enter the web address, and dimensions you want for your screenshot. Then all you have to do is hit capture, and you have a full web page screenshot resized to the dimensions you specified.

papass.gif

Flock.com is now… UGLY 0

flockss.gif

What were they thinking?

Digg to acquire Gleamd.com 0

gleamd2.gif

There are rumors circulating that Digg is in acquisition talks with Gleamd owner Matt Mcinerney. Un undisclosed source reports that Digg wants to buy Gleamd and incorporate the idea into a “People” section on Digg. Digg will then have News, Videos, Podcasts, and People. Seeing as how Gleamd has been labeled “Digg for people”, this sounds like a good idea. Gleamd is currently subscription only, and I’d offer invites to readers, but if this is true, they wont be useful for long.








JUST KIDDING.

Digg is not acquiring gleamd, I just thought Matt would enjoy this.
If you want an invite, contact me.

Silver Blue Simplicity WordPress Theme 0

sbs1.JPG 

This is one wordpress theme that stands out through simplicity.  It uses the Century Gothic font set and tastefully done icons to create a theme that fits business and personal sites alike.

Title: Silver Blue Simplicity from The Transaction Group

Description: 2 Column, silver, blue, black, rounded corners, Century Gothic fonts, tasteful web2.0 style icons

Download Now

« Previous PageNext Page »