Friday, September 04, 2009

I Fell Off My Bicycle.

On Monday (2009-08-31) I was riding down the hill/bridge when I turned the corner to get off of NW Highway I hit a spot of water, that I didn't see, and the next thing I knew I was sliding across the road. Luckily there was a guy in a pickup truck that was at the stop sign and made sure I was OK and gave me a ride back to the office. Mike Owens got a bunch of First Aid stuff to patch me up. I didn't hit my head.

My bike doesn’t seem too bad. The brakes a rubbing and I need to adjust my rear derailleur. It’s clicking when I pedal. I’m going to take it to the shop to have them look at it. Also get it tuned up since it’s been a few years since I’ve done that.

Here are some pictures.
Shortly after it happened

The next day.

Wednesday, August 26, 2009

creating PDF and fonts





ColdFusion - Creating PDFs and CSS


original code.

<cfoutput>

<cfdocument format="PDF" bookmark="yes">

<style>

<!---
td{border-bottom: 1px solid ##cccccc; font-size: 10pt;}

-->
</style>

<cfloop query="GetRemotes">

 <cfdocumentsection name="#remoteLocationsMailingAddressRet.name#">

        <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
            <tr valign="bottom">
                <td>#remoteLocationsMailingAddressRet.name#</td>
            </tr>
        </table>
 </cfdocumentsection>

</cfloop>

</cfdocument>

</cfoutput>


I noticed that when I commented out the <cfdocumentsection> tag the
CSS would be there. 


So I moved my <style> inside the <cfdocumentsection> tag and it uses
the CSS. :-)

go figure. 


so I now have 

------------------------------------
<cfoutput>

<cfdocument format="PDF" bookmark="yes">

<cfloop query="GetRemotes">

 <cfdocumentsection name="#remoteLocationsMailingAddressRet.name#">

<style>


<!---
td{border-bottom: 1px solid ##cccccc; font-size: 10pt;}


-->

</style>

 <cfdocumentsection name="#remoteLocationsMailingAddressRet.name#">

        <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
            <tr valign="bottom">
                <td>#remoteLocationsMailingAddressRet.name#</td>
            </tr>
        </table>
 </cfdocumentsection>

</cfloop>

</cfdocument>

</cfoutput>



Smashing!

Wednesday, July 08, 2009

Wednesday, February 18, 2009

The Official AMBER Alert for iPhone

AMBER Alert is the official iPhone AMBER Alert notification tool for AMBERalert.com. AMBER Alerts are issued whenever a missing child case is granted AMBER status and has been used to aide in the recovery of missing children. The iPhone application provides a real-time feed of recent alerts including victim photos and information, suspect photos and descriptions, vehicle photos and descriptions, and a reporting mechanism allowing you to report a sighting.

Tuesday, February 17, 2009

Secure your ColdFusion application against SQL injection attacks

Adobe - Developer Center : Secure your ColdFusion application against SQL injection attacks

I'm rewriting a CF app and it's scary how vulnerable this app was. I wish tutorials would start off with security. I know it's not fun or sexy but it's needed.

Tuesday, January 13, 2009

Cycling Weight Loss - bicycling.com

Cycling Weight Loss - bicycling.com
These cyclists each lost 100 pounds or more. Here are their stories--and advice on launching your own breakthrough season. FTW!