Wednesday, January 13, 2010

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!

Thursday, November 20, 2008

Google's AJAX Libraries API

for those that use YUI:
http://yuiblog.com/blog/2008/11/19/yui-google/

googles info:
http://code.google.com/apis/ajaxlibs/documentation/

The AJAX Libraries API is a content distribution network and loading architecture for the most popular open source JavaScript libraries. By using the google.load() method, your application has high speed, globally available access to a growing list of the most popular JavaScript open source libraries.

They also host

  • jQuery
  • jQuery UI
  • Prototype
  • script_aculo_us
  • MooTools
  • Dojo
  • SWFObjectNew!
They also list what versions they host.

Wednesday, October 29, 2008

Adobe - Developer Center : Using Ajax to retrieve data from ColdFusion

Adobe - Developer Center : Using Ajax to retrieve data from ColdFusion

Adobe Platform Evangelist Adam Lehman demonstrates how easy it is to populate drop-down lists in a simple application with data from ColdFusion.

Monday, August 11, 2008

Navigating The Science (And Sociology) Of 'Traffic' : NPR

Navigating The Science (And Sociology) Of 'Traffic' : NPR

Vanderbilt's book Traffic: Why We Drive the Way We Do (and What It Says About Us) explores the sociology of driving — why roads are most congested on Saturdays, what percentage of traffic is drivers simply looking for parking, why new cars crash more often than old ones. The book is based on research and interviews with driving experts and traffic officials around the world.

Thursday, June 05, 2008

Dreamweaver CS3 bug?

working on some CSS and added
#header { background-color: ccc; }
to the style shee. looked OK when I refreshe the Design view in dreamweaver. previewed it in a browser. There was no background color. I checked to make sure the link paths were correct. I soon noticed I didn't have the # before the color value. D'oh!