Page 1 / 2 (16 Posts)

Getting Started with Raspberry Pi (2017)

The above is my first boot up of my Raspberry Pi 3, as purchased in January 2017. I am writing this because so much of the information you can find on Google about the Raspberry Pi is actually outdated with regards to what you get when you order one in…...

January 23, 2017 · 3 min · François Planque

evo-sublime theme for Sublime Text

I've just uploaded the evo-sublime theme for Sublime Text on GitHub . It is a dark text on light background theme, with vivid highlights. This is the theme I use to work on b2evolution. Installation You need to copy the color scheme into the Sublime…...

February 22, 2015 · 1 min · François Planque

How to find files recursively on Linux (or OS X terminal)

Sometimes you need an emergency reminder about how to find all files of a certain name in a directory structure… like say: find all .htaccess files hidden in my web site. Well, here’s the magic command: Codefind . -name ".htaccess"…...

October 6, 2012 · 1 min · François Planque

How to check when Linux was installed

If you have several servers to maintain like I do, at some point you'll want to know how old exactly an installation of Debian (or another flavor or Linux) has gotten since you last wiped it clean... So how do you check the install date? I found t…...

September 27, 2012 · 1 min · François Planque

Why echo is slow in PHP and how to make it really fast

You may have noticed that PHP scripts that echo a lot of content appear to be running with poor performance... Well, the operative word here is "appear". It is a common misconception that "echo is the slowest PHP command"! The problem is actually…...

December 3, 2009 · 4 min · François Planque

How to log request processing times in Apache

If you have an apache (2) web server, you probably have an access.log file showing you all kinds of data using the "combined" log format. Let's see how to include processing time into that log file. By default a line in the combined log looks like this…...

December 3, 2009 · 2 min · François Planque

How to install the APC PHP Cache on Debian (Lenny or Squeeze)

The APC cache can significantly improve your PHP script performance, just by installing it, whoch basically takes 5 minutes! Here's what I did on my Debian Lenny box... First you may want to have a reference benchmark to see if it actually improves:…...

November 29, 2009 · 2 min · François Planque

How to fix apt-get missing keys (Debian)

Lately, my Debian servers have been bugging me with stuff like this everytime I tried to apt-get update:W: There are no public key available for the following key IDs:XYZ123W: You may want to run apt-get update to correct these problems...

May 28, 2009 · 2 min · François Planque

How to use SSH private keys on Mac OS X

First cool thing that everybody knows already: Mac OSX is based on Unix so you get ssh out of the box. Second cool thing you may not know: OS X 10.5 actually also comes with an ssh key agent (ssh-agent). That means that, without any additional softwar…...

December 21, 2008 · 3 min · François Planque

How to manage MySQL binary log space (Debian)

So it turns out that what is filling up my root partition is my MySQL binary logs.A collection of fat files in /var/log/mysql ...So I had several options: Move the logs to a different partition Increase the size of the root partition D…...

October 15, 2007 · 2 min · François Planque