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
Outlook can’t save password
The problem is Outlook ask for the password over and over again.
Solution
HKEY_CURRENT_USERSoftwareMicrosoftProtected Storage System Provider
Delete the subkey
The user subkey folder resembles the following example:
S-1-5-21-124525095-708259637-1543119021-16701
Restart computer
Start 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…
How to find USB VID/PID on various operating systems
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 lsusb
Bus 002 Device 049: ID eb1a:1760 eMPIA Technology, Inc.…
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 COMMAND
The 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…
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
Outputting from Postgres to CSV
f ','
a
t
o /home/john/moocow.csv
SELECT foo,bar FROM whatever;
o
q
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'), '"', '""') ||…
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…
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 session
postgres=# set timezone_abbreviations to ‘Australia’;
change it for database
postgres=# alter database DATABASENAME…