This will help you to restore your grub boot loader if it has been overwritten by another operating system say M$ windows.
Thats it you are home and away.
UPDATE: I have switched to Baruwa use that instead.
To move to the better maildir format from mbox, there are several converts to do this but i found convert-and-create was the most effective in that it even creates the maildirs for the users who may not have mail in the spool file
# wget http://www.qmail.org/convert-and-create # chmod +x convert-and-create # service dovecot stop # stop your Mail server as well (exim,postfix,sendmail) # ./convert-and-create
Another way to do it on the fly is described here
Sometimes you need to su frequently, typing the password each time may not be convenient. The pam system allows you to configure su without password. To do this you need to add the user to the wheel group and then configure pam
# vigr
wheel::10:root,username
auth sufficient pam_wheel.so trust use_uid
To convert xvid videos to divx format to play on stand alone video players in HDTV mode, you can use memcoder to re-encode the video to divx
mencoder <input> -ovc lavc -oac lavc -ffourcc DX50 -xvidencopts profile=dxnhdtv -o <output>
mencoder input.mkv -oac mp3lame -lameopts vbr=3 -ovc xvid -xvidencopts fixed_quant=4 -of avi -o output.avi
When you need to join two or more video clips to create one complete video.
# cat file1.avi file2.avi > file1_file2.avi # mencoder -forceidx -oac copy -ovc copy file1_file2.avi -o final_file.avi
# mencoder -oac copy -ovc copy file1 file2 file3 -o final_movie.mpg
# avimerge -i b1.avi b2.avi b3.avi b4.avi b5.avi b6.avi b7.avi -o bloodspell.avi
A detailed explanation of this can be found here
I have never been a fan of iptables front ends preferring to work with the rules directly as it makes debugging easy, how ever i have come across a really great front end. So if you are in need of a great front end that is more than just an iptables config tool take a look at vuurmuur http://www.vuurmuur.org/trac/wiki/Features.
Options available with psql the postgresql client.
Yes, you can use gmail as your smarthost with postfix, this is how you do it.
smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/gmail_passwd smtp_sasl_type = cyrus smtp_sasl_security_options = noanonymous relayhost = [smtp.gmail.com]:587
[smtp.gmail.com]:587 username@gmail.com:password
# postmap /etc/postfix/gmail_passwd # postfix reload
Thats it you are done postfix will now send mail via gmail's smtp servers
# gs -q -sPAPERSIZE=letter -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=out.pdf 1.pdf 2.pdf 3.pdf
Got any comments/bugs drop me a mail my contact info is on the home page.