This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

Paul's Time Sink

| Main | Albums |

tinyurl.com

Paul Westbrook | 15 July, 2004 19:58

TinyURL.com is a very cool but very simple service. It will convert long urls to short ones. For example it converts:

http://yp.yahoo.com/py/ypMap.py?Pyt=Typ&tuid=12005015&ck=1714580355&tab
=B2C&ycat=7737307&city=Campbell&state=CA&zip=95008-6739&uzip=95008&
country=us&msa=7400&cs=9&ed=ikFr96160SzGYWtylOsVBXZXaPZpM4dNUHjWP
jcMNiyWiuaGa1E_xJbAINlV3LyR4ThZXFhM&stat=:pos:0:regular:regT:1:fbT:19


to:

http://tinyurl.com/475rl

Right now the service is free, but I could see themputting ads into it. For example, when clicking on one of the tinyurl.com links, it could put the linked content into a frame, with ads around it.

cyrus imap ssl

Paul Westbrook | 15 July, 2004 19:34

Today, the certificate for my imap server expired, so I had to generate a new one. The problem was that I couldn't remember how I generated it the first time. I looked online to find some instructions, and I found these

openssl req -new -nodes -out req.pem -keyout key.pem
openssl rsa -in key.pem -out new.key.pem
openssl x509 -in req.pem -out ca-cert -req
-signkey new.key.pem -days 999

mkdir /var/imap

cp new.key.pem /var/imap/server.pem
rm new.key.pem
cat ca-cert >> /var/imap/server.pem

chown cyrus:mail /var/imap/server.pem
chmod 600 /var/imap/server.pem # Your key should be protected

echo tls_ca_file: /var/imap/server.pem >> /etc/imapd.conf
echo tls_cert_file: /var/imap/server.pem >> /etc/imapd.conf
echo tls_key_file: /var/imap/server.pem >> /etc/imapd.conf




Powered by LifeType
Design by Book of Styles