Search This Blog

Saturday, November 28, 2009

Email Links in LaTeX-Generated PDFs


How to update Ubuntu.

sudo apt-get update; sudo apt-get upgrade

That's it!

Saturday, September 26, 2009

Add a user from the command line

* To specify the password using the passwd command:

# adduser

# passwd

# cfmsync -f

Thursday, May 21, 2009

Carl Friedrich Gauss

Mathematics is the queen of sciences and number theory the queen of mathematics.
She often condescends to render service to astronomy and other natural of sciences, but in all relations she is entitled to the first rank.

-Carl Friedrich Gauss(1777~1855): German mathematician, astronomer and physicisist -

Monday, February 23, 2009

Automatically Bcc an Address on Every Message in Mac OS X Mail

My Apple Mail seems to leak its memory or at least performs less. If I keep it on, then it uses more than one GB of memory, slowing down overall speed. Mail is doing something, which I cannot figure out. I initially thought it would be because of IMAP protocol, but even if I use only POP3, nothing changes.

So, I decided to use less of Mail. Whichever mails sent to my account are automatically forwarded to my gmail account. I automatically download all emails arrtived at my Google account using POP. Make certain actions based on mail contents. Then, all of my replied emails should be bcc'd to a separate account other than or gmail. edu. I choose my account.

The followings explain how to ask Apple Mail to sent a bcc to my account, implicitly. During I send any mail, I wouldn't notice that bcc'd one is sent.

To auto-Bcc a copy of every message you send from Mac OS X Mail to a particular email address.
* Open Terminal.
* Type "defaults read UserHeaders".
* Press Enter.
* If that command returns "The domain/default pair of (, UserHeaders) does not exist", then, type "defaults write UserHeaders '{"Bcc" = "bcc@address"; }'" (excluding the outermost quotation marks) and replace bcc@address with the address you want to be used for the automatic copy.

Friday, January 2, 2009

ssh connection slows down in Ubuntu

I today found a real good solution to avoid slow-down of ssh connection speed to Ubuntu 8.04 server. Click here.

The OpenSSH server on the server attempts to look up the reverse DNS of the connecting machine. The client machine does not have a host name (i.e. reverse DNS) set up. The quick solution is to edit /etc/nsswitch.conf

# Change this line
# hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
# To this (removed mdns4)
hosts: files mdns4_minimal [NOTFOUND=return] dns