Find it

Code

Posts about or including code, probably in Csharp, PHP, Javascript or similar.

1and1 Web Hosting & Git – Installing it for singular dev

I have a new project in the works and I thought it about time to get a verioning setup working beyond locally, I don’t want to use a PaaS (like Cloud control) though for this one as its Top Secret (for now.) Yeah Yeah I know, shared web hosting, 1and1 – not so secret eh? [...]

Also posted in Projects, Snippets, Web Development, Web Technology Tagged , , ,

Recent Projects, Top Freelancer People Per Hour

It was a busy November, but it paid off – completed a good few projects for some great clients, and whats more I won no# 1 Top Freelancer @ people per hour! You can read more about some of my recent projects here, although there’s only a few case studies up, the most public of [...]

Also posted in Looking Back, PHP, Projects, Web Development, Web Technology Tagged , , , ,

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 [...]

Also 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 [...]

Also posted in Facebook Pages, Projects, Web Development, Web Technology 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 [...]

Also 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 [...]

Also 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 [...]

Also 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 [...]

Also posted in Facebook Pages, PHP, Projects, Social Media, Web Development Tagged , , , ,
Got a Project?
A Quote..
"The way I am and the way I write are a unity. All my ideas and all my endeavours are myself. Thus, the autobiography is merely the dot on the i."
C.G.Jung
© Woody Hayday 2012