cfhttp: Connection Failure with SSL

Over at the CE Corral we ran into an issue with cfhttp (on ColdFusion 10) when fetching pages over SSL from our front end client sites: the dreaded "Connection Failure" message. Casting about on stackoverflow for a bit, we found a post detailing a quick hack-around... <cfset objSecurity = createObject…

Read more

Working with Unix Time Stamps in ColdFusion

Recently I wrote a little utility to auto import flickr photosets into the content management system we user over at CreativEngine. Turns out the flickr api returns Unix time stamps for its datetime data, e.g. { "date_create": "1384369643", "date_update": "1384369647" } Since Unix time stamps are the number of…

Read more

Character Encoding Issue When Fetching Data from MSSQL with php 5.3.10 via PDO ODBC

Recently while working a project for a client, I needed to grab some data for a nav bar from an mssql db via php. I was able to connect to the db via PDO ODBC and retrieve the data no problem, but when I looped through and printed the results…

Read more

Plotting Google Maps Lat and Long values as x and y Coordinates in an Arbitrary Element

Recently I had the occasion to revisit something I did for a client a few months back and thought it might make a swell blog post. Well, that and the fact that a major factor in starting this blog was to document solutions I'd come up with, and as a…

Read more

Generating Javascript Source Map Files with grunt and grunt-contrib-requirejs

11.18.13 update: looks like jquery has removed sourcemap comments from the 1.11.0/2.1.0 beta One of the coolest things about being a developer is seeing how other people come up with different (and better!) solutions to the same problem. Case in point: my original…

Read more

Optimizing Multiple Javascript Files with grunt and requirejs

Over at CreativEngine, I've been working on integrating gruntjs into our workflow for things like optimizing, finding and concatenating dependencies, minifying javascript and css, and pre-compiling the LESS that our css is based on. In what turned out to be a sweetly fortuitous and happy accident, I'd been slowly transitioning…

Read more