rsync -e ssh --delete -avuzh rsync/ paulgorman.org:rsync/
When Exim is receiving a locally-generated, non-SMTP message on its standard input, the -t option causes the recipients of the message to be obtained from the To:, Cc:, and Bcc: header lines in the message instead of from the command arguments. The addresses are extracted before any rewriting takes place and the Bcc: header line, if present, is then removed.
If the command has any arguments, they specify addresses to which the message is not to be delivered. That is, the argument addresses are removed from the recipients list obtained from the headers. This is compatible with Smail 3 and in accordance with the documented behaviour of several versions of Sendmail, as described in man pages on a number of operating systems (e.g. Solaris 8, IRIX 6.5, HP-UX 11). However, some versions of Sendmail add argument addresses to those obtained from the headers, and the O'Reilly Sendmail book documents it that way. Exim can be made to add argument addresses instead of subtracting them by setting the option extract_addresses_remove_arguments false.
Emphasis added. WTF?
How to Setup Software RAID in Debian / Ubuntu | IPRobot.net This time around, I will show you how to configure the software RAID using Debian. This also can be applied to Ubuntu system as their are based on Debian platform anyway. As I mentioned earlier, the S…
The Linux Documentation Project Document Updates Just a reminder - the LDP home page may not change too frequently, but our document collection is constantly being updated.…
Debian -- Package Search Results -- xpdf-utils Limit to suite: [lenny] [lenny-volatile] [lenny-backports] [lenny-backports-sloppy] [squeeze] [squeeze-updates] [squeeze-backports] [wheezy] [sid] …
Using the commandline, convert the pdf file to postscript:
~$ pdftops -paper match infile.pdf outfile.ps
Rearrange the pages so that when printed and folded, each page ends up in the right place (when your booklet has 8 pages, page 1 should be placed opposite of page 8, page 2 opposite of 7 and 4 opposite of 5). n is the amount of pages in your booklet.
~$ psbook -sn infile.ps outfile.ps
Arrange two A5 pages next to each other on one A4 sheet (-2 refers to the amount of pages on the A4):
~$ psnup -2 -PA5 infile.ps outfile.ps
Convert the document back to .pdf format (This seems a redundant step, but without it I had problems with placing, so…)
~$ ps2pdf infile.ps outfile.pdf wmii window manager improved 2 wmii is a small, dynamic window manager for X11. It is scriptable, has a 9p filesystem interface and supports classic and tiling (acme-like) window management. It aims to maintain a small and clean (r…
Gawk: Effective AWK Programming - GNU Project - Free Software Foundation (FSF) A monthly update on GNU and the FSF…
Generate a key on your local machine with ssh-keygen. You can reasonably accept the defaults by hitting enter at each prompt. Then, upload the public key you just generated to your remote machine: ssh-copy-id -i ~/.ssh/id_rsa.pub myusername@myserver.com. You'll no longer need to type your password for ssh functions. This is especially handy if you're editing remote files with gvim's netrw script.
UPDATE: The script mentioned above isn't necessary. Just copy and paste the contents of id_rsa.pub into the ~/.ssh/authorized_keys file on the remote host.
The right way to swap the left CTRL key and the CAPS LOCK key under Linux (Debian and probably others):
$ sudo cp /etc/console/boottime.kmap.gz /etc/console/boottime.kmap-DIST.gz
$ sudo vim /etc/console/boottime.kmap.gz
Swap Control and Caps_Lock on these lines:
keycode 29 = Control
keycode 58 = Caps_Lock
That should take care of the console. To fix X, edit /etc/X11/xorg.conf, and add this line to the keyboard InputDevice section:
Option "XkbOptions" "ctrl:swapcaps"
Restart X with:
$ sudo /etc/init.d/gdm restart
Failing the above, you can just issue the command:
setxkbmap -option ctrl:swapcaps
This can also be put in you .xsession file.