fetchyahoo 2.14.0 deb package for Ubuntu 10.10 Maverick

On Nov. 16th, fetchyahoo 2.14.0 was released, and I did not find any deb package available for it on the Launchpad PPA’s. And I used to package it before, so it took me not very long to update the package to the newest version.

Fetchyahoo is a script written in Perl which fetches your email from Yahoo! Mail and either saves it in your mbox or can also send it to an IMAP folder. It pulls email using the web interface which is very useful for those with Yahoo Mail who do not have POP3 or IMAP access, since POP3 access for Yahoo Mail seems to be a paid service.

The deb package for fetchyahoo 2.14.0 is available from my PPA. You can either add it to your sources.list:

sudo add-apt-repository ppa:weboide

or you can directly download it from launchpad:
fetchyahoo_2.14.0-0ubuntu1_all.deb

――

How to restrict a specific package from installing (apt pinning)

I tend to be very picky so there are a couple of packages which I do not want installed on my machines:

  • msttcorefonts: the Microsoft-like fonts. If you have those installed, Firefox will use them and you will get ugly windows-like font on most websites which I personally hate.
  • wine: Application to run windows programs on linux. For security reasons.
  • postfix: a mail server. Just because I do not want to run a mail server on my netbook.
  • …and some other

The best way to restrict those packages from being installed is through Apt Pinning.

Apt pinning

It is very easy to pin packages and restrict them from being installed.
You will need to edit /etc/apt/preferences and add something like this:

Package: msttcorefonts
Pin: version  0.0
Pin-Priority: -1
 
Package: ttf-liberation
Pin: version  0.0
Pin-Priority: -1
 
Package: ttf-mscorefonts-installer
Pin: version  0.0
Pin-Priority: -1
 
Package: wine
Pin: version  0.0
Pin-Priority: -1
 
Package: postfix
Pin: version  0.0
Pin-Priority: -1

Pin-Priority: -1 restricts the given version from being installed, and the version 0.0 does not exist and should be a lower version than any versions of the given packages. As a conclusion, they will never be installed.

Be careful what you pin, though, as you might be too restrictive and could prevent installing or upgrading other useful packages.

――

Brand new default font in Ubuntu 10.10 Maverick

Ubuntu

Ubuntu‘s upcoming new version 10.10 Maverick Meerkat will be released on October 10th, 2010, but meanwhile if you are a developer or tester, you can play with the Release Candidate version which has been released on September 30th 2010 (or check out the daily builds).

A highly noticeable change in Maverick is the new font called Ubuntu Font.

New Ubuntu Font for Ubuntu Maverick 10.10

Read the rest of this entry »

――

How to set up Expires header with Apache2 on Ubuntu Lucid 10.04

A very good way to reduce page load time on your website is to tell your visitors’ browser it can cache some specific files and save a copy on the disk.
This process is done by your web-server which is sending an Expires header and a max-age header during the HTTP response, e.g.:

200 OK
Cache-Control: max-age=604800
Connection: close
Date: Tue, 27 Jul 2010 22:31:03 GMT
Accept-Ranges: bytes
ETag: "2c956-376b-4696cb8b385c0"
Server: Apache/2.2.14 (Ubuntu)
Content-Length: 14187
Content-Type: image/gif
Expires: Tue, 03 Aug 2010 22:31:03 GMT
Last-Modified: Fri, 08 May 2009 20:46:23 GMT
Client-Date: Tue, 27 Jul 2010 22:31:02 GMT
Client-Peer: 127.217.30.5:80
Client-Response-Num: 1

Apache2 offers this feature through its mod_expires module. Note that this module is usually disabled by default, meaning your visitors would download all the files over again each time they change the page.

Read the rest of this entry »

――