Author Archives: Nicholas Kuechler

Nginx – How to set expires headers for images

In Nginx, you can easily set browser caching for your images. Nginx sets the ‘Expires’ and ‘Cache-Control’ http request headers for images nginx serves. This allows the client’s browser to cache the images for the amount of time specified by … Continue reading

Posted in nginx | Tagged , , , , | 2 Comments

Favorite Quotes: Winston Churchill on Optimism and Pessimism

“A pessimist sees the difficulty in every opportunity; an optimist sees the opportunity in every difficulty.” – Winston Churchill Portrait of Winston Churchill by Yousuf Karsh

Posted in Favorite Quotes | Tagged , , , | 3 Comments

Perl: How to list all installed perl modules

I was looking for an easy way to clone my perl modules from one server to another but I wasn’t sure how to easily list my installed perl modules. I searched around and found the instmodsh command which lists all … Continue reading

Posted in Perl | Tagged , , , , , | Leave a comment

Favorite Quotes: Buddhist and Zen Proverbs on Why Worrying is Pointless

If the problem has a solution, worrying is pointless, in the end the problem will be solved. If the problem has no solution, there is no reason to worry, because it can’t be solved.

“If you have a problem that can be fixed, then there is no use in worrying. If you have a problem that cannot be fixed, then there is no use in worrying.” Continue reading

Posted in Favorite Quotes | Leave a comment

Debian & Ubuntu Equivalents of ‘yum whatprovides’

For Debian and Ubuntu users there are three easy ways to find what package a file on your system is from. Those Red Hat, Fedora, or CentOS over to a Debian or Ubuntu system may have become used to using ‘yum whatprovides’. There is no whatprovides equivalent in aptitude or apt-get. But there are three easy to use debian/ubuntu alternatives to ‘yum whatprovides’: the Ubuntu packages search web site, the apt-file package, and the ‘dpkg -S’ command. Continue reading

Posted in Linux | Tagged , , , , , , , , | Leave a comment