Toggen Blog

Tech tips

Articles

Latest

Access

Blog History

Internet Explorer 7 Cookies

Internet Explorer 7 doesn't seem to like the max-age= way of defining cookie aging. It doesn't like this (i.e. no persistent cookie is created): document.cookie = cookieName + "=" + cookieValue + "; max-age=" + (60*60*24*365) ; // 1 year in seconds But does like this:...

WP-Syntax Plugin

I have been attempting to use the <pre> tag to simply copy and paste information into Wordpress but the result has been that it doesn't accept all the whitespace as being whitespace. Anyway I installed WP-Syntax plugin and attempted to insert some code and it...

Scripting SNMPGet.exe using VBScript

Every month I have to submit page counts to our printer supplier. Usually it involves connecting to each printers administration webpage counting up the different totals (black/white, colour) and then sending that back to them. Here is a VBScript function that calls...

/usr/bin/which equals bash builtin type -p

Just playing with wine-1.1.14 and found a font smoothing script that enables font smoothing on Wine >= 1.1.13. Anyway in the script I noticed a command: type -p wine Which after a little investigation is similar to which wine I like to make note of these sorts of...