ActiveXObject(Microsoft.XMLDOM)) XMLSerializer object in Internet Explorer


2011-08-29 Digg! icurtain Delcious icurtain
ActiveXObject Microsoft XMLDOM XMLSerializer object in Internet Explorer
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");...

CryptM - Mcrypt encryption/cypher manager for PHP


2011-06-27 Digg! icurtain Delcious icurtain
CryptM Mcrypt encryption cypher manager for PHP
class CryptM {     private $input = null;     private $output = null;     private $key = null;     //initated cypher with constant - strongest encryption type     private $cypher = MCRYPT_RIJNDAEL_256;     //in...

64 bit Flash in Ubuntu


2011-06-16 Digg! icurtain Delcious icurtain
64 bit Flash in Ubuntu
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...

Uninstall VMWare Workstation 7 in Linux


2011-04-30 Digg! icurtain Delcious icurtain
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...

Ubuntu 10.x Startup Applications location for user scripts


2011-03-12 Digg! icurtain Delcious icurtain
Ubuntu 10 x Startup Applications location for user scripts
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...

MySQL table names into stored procedures and functions


2011-01-17 Digg! icurtain Delcious icurtain
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...

PHP File Upload Manager


2011-01-15 Digg! icurtain Delcious icurtain
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...

BT Home Hub 2.0 Privicy Invasion


2010-08-05 Digg! icurtain Delcious icurtain
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...

change linux process priority with nice and renice


2009-12-03 Digg! icurtain Delcious icurtain
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...

Ubuntu 9.10 screen flashing and keyboard unresponsive


2009-10-30 Digg! icurtain Delcious icurtain
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...