Author Archives: admin

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

Pogoplug :: adding crond

So need to have crond running of my pogoplug, found a couple of useful links but all expected another part to be done! so here’s the list assuming that your usb drive had mounted at mnt_sda1 most likely if it’s … Continue reading

Posted in Embedded, linux, user tools | Leave a comment

SAPUI5 => SAP HMTL5 CSS3 JavaScript

Ok just downloaded the SAPUI5, installed it on my mac and did a bit of looking around! jQuery and a number of versions… ? why not sure yet but more on that later. First looks yeah nice, looks like a … Continue reading

Posted in css, html, javascript, user tools | 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

Favourite JavaScript libraries

So it’s been a long time writing JavaScript, from my earliest dabbling in the Netscape browser, at the same time Netscape had a web server product which also had Server side JavaScript, wrote pages with that, then used the classic … Continue reading

Posted in javascript | Leave a comment

configuring BusyBox httpd

So PogoPlug now has all the requirements just now need to configure the httpd in BusyBox and we’re away, well almost! If we set the httpd to run on port 80 the wonderful features of the PogoPlug go so we … Continue reading

Posted in Embedded, linux, user tools | Leave a comment

Answer to some questions!

get yourself connected to the Pogoplug via SSH, if you don’t know what SSH is stop now!!! ‘cd /’ run ‘flash_eraseall -j /dev/mtd3′ this erases and formats the block to jffs2 structure ‘mkdir /opt’ ‘mount /dev/mtdblock3 /opt’ ‘wget http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/ipkg-opt_0.99.163-10_arm.ipk‘ current version … Continue reading

Posted in Embedded, linux, user tools | Leave a comment