2011-08-29
XMLSerializer() object is apparently supported in IE9+ however if you are trying to write anything for compatibility with IE7/8 and you want to serialize your DOM object (instantiated as ActiveXObject("Microsoft.XMLDOM")) you have to work around
var xmlDom = new ActiveXObject("Microsoft.XMLDOM");...
2011-06-27
class CryptM {
private $input = null;
private $output = null;
private $key = null;
//initated cypher with constant - strongest encryption type
private $cypher = MCRYPT_RIJNDAEL_256;
//in...
2011-06-16
64 bit Flash in Ubuntu is still a flakey beta (as of this blog post).
It can be downloaded from adobe labs.
Once downloaded, extract it from the tar.gz - use archive manager or
m@mbx:~$ tar -zxvf flashplayer10_2_p3_64bit_linux_111710.tar.gz
tar will then notify it has dumped
libflashp...
2011-04-30
uninstalls/alterations are managed by the vmware-installer script located in:
/usr/bin/vmware-installer
so to remove vmware workstation for example the command is:
user@mibox:/usr/bin$ sudo vmware-installer -u vmware-workstation...
2011-03-12
Ubuntu startup applications can be accessed via Preferences->Startup Applications (gnome-session-properties in the terminal).
The file location for these from bash is /home/userName/.config/autostart/
If you create an entry that wont allow you to boot into an X session you can go into the...
2011-01-17
As an aid memoir; Firstly, to create stored procedures in MySQL you need to temporarily change the line delimiter so you can add code with normal delimiters without delimiting what you're currently doing.
Secondly, in order to use variables passed into a procedure you need to concatenate into a...
2011-01-15
Thought I would consolidate file upload functions for PHP into one nice easy class - compatible with dbphp - makes my life soooooo easy ;)
class FileUpload {
/*Documentation
FileUpload Class 0.1 - 2010-01-15 by icurtain.co.uk
Imeplentation is as follows
$file = new F...
2010-08-05
If you are currently using BT as your ISP and you have the misfortune of using a BT Home Hub 2.0 do be aware that this device has a potential security flaw allowing BT to update/change firmware settings on it without your consent.
This gives BT the potential to track your internet usage from insi...
2009-12-03
Process priorities are set between 20 (lowest) and -19 (highest)
To launch a task with a priority of 5 try: mike@mikebox:~$ sudo nice task 5
If you're laptop is overehating and kacpi_notify is stealing all your CPU power polling the CPU temperature you can use renice to change priority of a runnin...
2009-10-30
If Ubuntu 9.10 boots up to a flashing screen and unresponsive keyboard chances are your xwindows configuration isn't working - you can check this by running /etc/init.d/gdm stop (you should have a nice non-flashing shell)
for some reason dpkg-reconfigure xserver-xorg didn't work for but simply dele...