Category Archives: Uncategorized

using PHP to get a remote template page

Having looked around I wanted something that would retrieve a remote page, with just a basic PHP install I could have just used cURL. But me being me I wanted something more, so after a little bit or research I … Continue reading

Posted in Uncategorized | Leave a comment

underscore.js Object functions (replacement 2)

_.isArray(object) === if(object instanceof Array) _.isObject(value) === if(object instanceof Object) _.isFunction(object) === if(object instanceof Function) _.isString(object) === if(object instanceof String) _.isNumber(object) === if(object instanceof Number) _.isBoolean(object) === if(object instanceof Boolean) _.isDate(object) === if(object instanceof Date) _.isRegExp(object) === if(object instanceof RegExp)

Posted in Uncategorized | Leave a comment

underscore.js Array functions (replacements 1)

_.first === array[0] _.initial === array.slice(0, array.length-1) _.last === array[array.length-1] _.rest === array.slice(x,¬†array.length-1) n.b. where x = start position in array  

Posted in Uncategorized | Leave a comment

My pet project!

So I want to produce a remote weather station using off the shelf technology, so after a look around I purchased a WH3081 a number of months ago. The thing that finally decided it for me was that it was … Continue reading

Posted in Uncategorized | Leave a comment

Catch up day :)

Well after a long time I’d got some time to go through my blog and actually do some admin. Having written content yet not published it have a huge backlog going back 2yrs, ouch

Posted in Uncategorized | Leave a comment