jQuery AJAX form submission

Once you’ve got your form validation handled, the question becomes what to do once your form data is valid. Performing an AJAX form submission is reasonably easy, thanks to the jQuery.ajax call:

function signup(form) {
		beforeSend: function() { 

jQuery validation & integration with Bootstrap

Manual HTML form validation can be a time-consuming exercise in frustration, however the jQuery.validate makes it fast and painless, while still allowing powerful custom validation rules, and can easily be adapted to your CSS framework, in this case Bootstrap.…

Rebuilding VirtualBox with missing VDI snapshots

VirtualBox is great, until you realise your missing the a key snapshot, or your original image and you only have the lastest snapshot on your backups. A while back I had the task of rebuilding a windows server for someone …

Asterisk VoIP Voice Quality

A lot of different things can cause voice quality issues. When using SIP a variety of things could be to blame, and not at all easy to track down.

Causes of poor sip voice quality can be one of the …

USB backups under linux, changing dev names

When dealing with USB backups, I would traditionally just mount and rsync to the device, with a simple script like this :

mount /dev/sdc1 /mnt

rsync /home /mnt

umount /dev

This approach fails though when the device is unplugged while …

PostgreSQL and soap / xpath

Recently I have been working on integrating soap into our postgresql database. Its not something easily built into postgresql, so I wrote some plpgsql functions to achieve the same purpose.

-- Create a XML request for uploading

How to set Postgresql money type to use 3 decimal places in Windows


Under Linux, type command in postgres database:

set lc_monetary to 'ar_BH.utf8';

ar_BH represents Arabic (Bahrain) locale, the above command change the locale monetary setting on-the-fly in postgresql database, then let do a test:

select 34.888::text::money;

You will get 34.888 …

How to configure public folder in Exchange server 2007

1. Create a pulic folder
open Exchange Management Console
=Public Folder Management Console
=Default Public Folder
=New Public Folder(from right-click menu)

then follow the wizard to create a public folder. Fox example give it a name…

Enable or Disable UAC From Windows Command Line

This should apply to Windows 7 / Vista

Disable UAC

C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /f

Enable UAC

C:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /f

After you enable or …

Outlook: Folder sharing is not available

We have a user that wishes to share his contact list with other employees in his office.
Everyone receives email via the same Exchange 2007 server.

He did the Permissions for the contacts (Right click, permissions added the user) and …