Moved to: WoodyHayday.com
Woody Hayday

Fresh Ideas

Hi there! This is my old blog, I don't hang around here much.
You can now find me trying to mix things up here:
Visit WoodyHayday.com Subscribe To My Email List

Author Archives: Woody

IP to Location Alternative: Javascript – Using JS to find Browser Country / Location not from IP

Know your audience? Got google analytics aggregating their details? Great, good for you! But doe’s that add any value in the short term? Improve THEIR browsing experience? In the long run you should use analytics to achieve better sites (although many don’t) – but for now, right here you can still add some of the […]

Posted in Javascript, Snippets, Web Development Tagged , , , , , ,

Did you know: Facebook short url’s already kinda exist

As a side note: facebook shorturls, or at least abreviated urls exist. We all know about fb.me, but fb.com works too…. Random occurance: Was saving down facebook data into a database from the graph api, wanted to save the urls in a mixed url table but didn’t want to bother saving the whole http://www.facebook.com every […]

Posted in Facebook Pages, Projects, Web Development, Web Technology Tagged , , , ,

Abstract Autumn: Animal Structures

See the rest of Abstract Autumn, Addictive @my photostream

Posted in Photography, Photography Tagged , , , , ,

MySQL datetime examples – first/last day of the year – dates and unix-times

For some reason I had an abstract memory of SQL SERVER 2000, timestamps and pain. Who knows why. Perhaps its a faulty memory. lol. Anyhow working with timestamps in MySQL/MSSQL these days is nothing short of simple. With MySQL Workbench free its ridiculous how far the barrier of entry for database design has come, its […]

Posted in Snippets, SQL Server, Transactional SQL, Web Development, Web Technology Tagged , , , , , , , ,

Fix/Hack to make AutoSuggest JQuery Plugin work

When I came across Drew Wilson’s flashy JQuery Autosuggest plugin I happily downloaded the code and started using it within a recent project, but as I used it more and more I kept hitting a bug – don’t know if its just the version of JQuery I was tied to using or whether everyone using […]

Posted in Javascript, Web Technology Tagged , , , ,

Maintain a CSV with Javascript – keep a hidden list

The situation: Want to build a comma separated list of int’s (or whatever) client-side, in javascript, remove/add items on the fly using JS. Well these tiny functions below are what I use, useful when you just need to get a clever form / app input done. Using the below you can add/remove items to an […]

Posted in Javascript, Snippets, Web Development Tagged , , ,

Facebook time in php – Facebook uses GMT not PDT/PST?

I don’t know whether its purely related to my location when I am calling facebooks’ graph API or what, but all the talk about what timestamps facebooks API returns seems to be wrong. Perhaps they’ve changed something, perhaps they are re-adjusting them just for me. If its the latter I wonder why they are giving me GMT […]

Posted in Facebook Pages, PHP, Projects, Social Media, Web Development Tagged , , , ,

Unable to drop JQuery sortable onto empty list? Hack solution

The problem: You have a multi column (or area) JQuery UI Sortable (these are neat) which only needs to show a “drop zone” when the user has started to drag a sortable object. The JQuery documentation for this doesn’t account for the reality of the above, its all very well if you want the empty […]

Posted in Javascript, Snippets, Web Development Tagged ,
The New Blog
WoodyHayday.com
A Quote..
"The purpose of life seems to be to acquaint a man with himself"
Emerson
Old Random Projects
    © Woody Hayday 2008-2026