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 (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…

By pixel, ago
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

By pixel, ago
Mac OS X

OpenSSH Public Key Authentication

Key Generation ssh-keygen -q -f ~/.ssh/id_rsa -t rsa Enter passphrase (empty for no passphrase): … Enter same passphrase again: … Key Distribution # first, upload public key from client to server scp ~/.ssh/ # next, setup the public key on server cat ~/ >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys rm Read more…

By pixel, ago