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

Slax: solution to read only external hard drivers

When Slax auto detect External hard drives or USB keys but it permission defaulted to read only. Slax will not allow you to change the file permission. You will not be able to copy important files to the external hard drive. Following steps will fix the permission problem. Open Slax Konsole (Terminal Control) and type… View Article

How to find USB VID/PID on various operating systems

source:http://www.freelabs.com/~whitis/USB_VID_PID.xhtml Linux users can, of course, just use lsusb or usbview.   Run as root because on some systems, this doesn’t show all the information otherwise.lsusb (short form)$ sudo lsusbBus 002 Device 049: ID eb1a:1760 eMPIA Technology, Inc.Bus 002 Device 007: ID 04e8:323a Samsung Electronics Co., Ltd ML-1710 PrinterBus 002 Device 005: ID 055f:0006 Mustek Systems,… View Article

How To Tar Files And Folders Easily

To compress a file or folder do this command: in this example, I want to tar my test directory: Command: tar -pczf test.tar.gz test/ Now to untar: Command: tar xvfz test.tar.gz

DD comand examples

THE DD COMMANDThe dd command copies an amount of data block by block. The most basic syntax is:Format# dd if=xxxxx of=yyyyy bs=zzzzzz( Where if=xxxxx is the source, of=yyyyy is the target and bs= both read and write zzzzz bytes at a time )Examples:Copy a hard disk partition to another hard disk:# dd if=/dev/hda2 of=/dev/hdb2 bs=4096… View Article

Joining a Windows 7/ Windows 2008 R2 system to a Samba domain

This article suits for both Windows 7 and Windows 2008 R2(tested on 17/10/2010): To join the domain for Windows 7 make sure you do the following steps:First you need to be running Samba v3.3.4 or later. Earlier versions have been reported to work, but there are some issues. Next the Windows 7 client needs to have… View Article

Outputting from Postgres to CSV

f ‘,’ato /home/john/moocow.csvSELECT foo,bar FROM whatever;oq If a field has newlines, this will break. You can do something like this instead…..  SELECT foo, bar, ‘”‘ || REPLACE(REPLACE(field_with_newilne, ‘n’, ‘\n’), ‘”‘, ‘””‘) || ‘”‘FROM whatever; Then you can import the data into another database if needed:copy whatever(foo,bar) FROM’/home/john/moocow.csv’ DELIMITER ‘,’CSV HEADER;

Can’t set default printer to Windows terminal server users

I had same problem using Windows 2003 SP1 and terminal server. Based on previous comments, I have found some solution to this. Someone mentioned it could be related to problem in registry at [HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWindows] a advised to export this key from working user profile to non-working one. So I tried it and worked like… View Article

change postgresql time zone for west Australia

In west Australia, like Perth, when you are using postgresql database, you may need to change the time zone abbreviations to Australia: change it for a sessionpostgres=# set timezone_abbreviations to ‘Australia’;change it for databasepostgres=# alter database DATABASENAME set timezone_abbreviations to ‘Australia’;