debian

Updating Packages Using Apt On Old Debian Installs

When attempting to install a new package or update an existing package if you are presented with the error 1E: Release file expired, ignoring http://archive.debian.org/debian-archive/debian/dists/squeeze-lts/Release (invalid since 189d 0h 42min 32s) You will need to execute the following command as root: 1$ echo ‘Acquire::Check-Valid-Until "false";’ > /etc/apt/apt.conf.d/90ignore-release-date And then perform… Read more…

Development Tools

Profiling PHP with XHProf & XHGui

For a well described tutorial on basic PHP profiling and optimization I would recommend the 3 part article written by Davey Shafik: Profiling PHP Part 1: Intro to Xhprof & Xhgui Profiling PHP Part 2: Xhgui In-Depth Profiling PHP Part 3: Practical Performance Tuning

Perl

History support for PERL CPAN

If you are like me, every time you go to install a new perl module you realize the system doesn’t have command line history support and have to go hunting for the correct module to install. A Little Bit Of History This option, provided you have Term::ReadLine::Perl or Term::ReadLine::Gnu installed, Read more…