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 with only a recent snapshot. So I hope this offers you some technical support if… View Article

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 following : 1. VoIP to Analogue convertor A loss of signal always occurs when you… View Article

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 backups are working (the device name will change from /dev/sdc1 to /dev/sdd1), or if a… View Article

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 CREATE OR REPLACE FUNCTION soap_test() RETURNS xml AS $$ DECLARE x xml; d text; BEGIN d = $A$… View Article

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

Linux 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 with 3 decimal places money type. Tested in Postgresql 8.4.6. Windows However the above set… View Article

How to configure public folder in Exchange server 2007

1. Create a pulic folderopen 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 Test, so the public folder path will be “Test”;2. Use the Exchange Management Shell to add public folder permissions for a… View Article

Enable or Disable UAC From Windows Command Line

This should apply to Windows 7 / VistaDisable UACC:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 0 /fEnable UACC:WindowsSystem32cmd.exe /k %windir%System32reg.exe ADD HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem /v EnableLUA /t REG_DWORD /d 1 /fAfter you enable or disable UAC, you will have to reboot your computer for the changes to take effect.Note: After disabling and turning off… View Article

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 when she selects “SHARE CONTACT” she gets the error“Folder sharing is not available with the following entries… View Article

Outlook can’t save password

The problem is Outlook ask for the password over and over again. Solution HKEY_CURRENT_USERSoftwareMicrosoftProtected Storage System ProviderDelete the subkeyThe user subkey folder resembles the following example:S-1-5-21-124525095-708259637-1543119021-16701Restart computerStart Outlook, enter and save the password.

PostgreSQL Money / Numeric localisation

Living in a country, where our currency symbol is the $ x.00, I wasn’t aware of the vast differences between countries and how they deal with currency.  France uses , instead of . for decimals. Germany uses a space instead of a comma.  The decimal places in some currencies have 3 decimal places, or no… View Article

Switch to our mobile site