This mini howto explain how to create more loop device on your operating system.You need to create more loop device in some case like encrypted file system or HVM xen virtualization. By default...
0
Thin client + Slax + LCD TV= Media Center
I have a 1.5TB external hard drive(with its own power adapter) and three computers at home, it was not convenient if I want to get the files or save them to the external storage. So I planned to make my external hard drive to be shared in the home...
0
Slax: solution to read only external hard drivers

.fullpost{display:inline;}
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...
0
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...
0
How To Tar Files And Folders Easy
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...
0
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=...
0
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,...
0
Linux permissions help
Linux permissions help 1. What are file permissions
2. File permissions notation
2.1. Textual representation like "-rwxr--r--"
2.1.1. Examples
2.2. Numeric (octal) representation like...
0
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,...
0
can't set default printer to Windows terminal server users
The problem can be happened when using Windows 2003 SP1 and terminal server.
Based on the solutions on the internet. Someone mentioned it could be related to problem in registry at [HKEY_CURRENT_USER\Software\Microsoft\Windows...
0
How to use crontab
» Schedule tasks on Linux using crontabIf you've got a website that's heavy on your web server, you might want to run some processes like generating thumbnails or enriching data in the background....
0
Some updates could not be installed
I just finished resolving that exact problem after I did a repair reinstall of XP (that included SP2). No updates could be installed on my computer after they were downloaded. I actually requested help...
0
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...
0
Blank and blank screen at Windows 2003 logon

when the system disk filled up. For some reason it zero out settings in the registry then you will get the following logon screen
You'll have to free up some space and perform registry edits remotely. Remember to backup your registry before performing...
0
Why windows not showing 4GB ram?
There's a chip on your motherboard that is sometimes referred to as the "north bridge." One of the responsibilities this chip has is to translate information from your CPU to your RAM and vice-versa....
0
recreate RAID array
if one of the drives fail, replace the drive and rebuild the RAID-0 on the dead machine:
mdadm --stop /dev/md0
mdadm --create --verbose /dev/md0 --level=0 --raid-devices=3 /dev/sdb1 /dev/sdc1 /dev/sdd1...
0
psql: FATAL: Ident authentication failed for user "username" Error and Solution
Q. I've installed Postgresql under Red Hat Enterprise Linux 5.x server. I've created username / password and database. But when I try to connect it via PHP or psql using following syntax:
psql -d myDb -U username -WIt gives me an error that read...
0
Regular Expressions in PostgreSQL
Every programmer should embrace and use regular expressions (INCLUDING Database programmers). There are many places where regular expressions can be used to reduce...