Page 1 / 3 (24 Posts)

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

Mac OS X Lion: How to clean up the 'Open With' menu

When you right-click (or control-click) on a file in the Mac OS X Finder, you get a contextual menu with a nice "Open With" option, which lets you open the selected file with any Application that you desire to. That is pretty nice until that menu gets…...

June 6, 2012 · 2 min · François Planque

How to remove constantly launching services on Mac OS X

Even after you uninstall it, some Mac OS X software just won't quit nagging you or notifying you of updates or at the very least polluting the Console Messages......

August 19, 2011 · 7 min · François Planque

How to quickly resize pictures on Mac OS X

Oftentimes you want to email some pictures or upload them to a website but your image files are actually too large. I have put together a small Automator App that makes it as easy as 1-2-3 ;)...

August 11, 2011 · 2 min · François Planque

How to automatically start playing movies in QuickTime X

Apple has removed that features in Snow Leopard and QuickTime X has no preferences panel to enable this. So you need to go through the command line to get it back... In Terminal, copy/paste: defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen…...

January 20, 2010 · 1 min · François Planque

How to enable X-Ray folder previews in Mac OS Quick Look

In Terminal copy/paste this: defaults write com.apple.finder QLEnableXRayFolders 1 Then relaunch the Finder. Press space on a selected folder and admire :)

January 20, 2010 · 1 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 control fan speed & noise on the mac pro

Did you know there were actually 5 different fans inside a Mac Pro (early 2009 version)? They are named Intake, Exhaust, BoostA, PCI and Power Supply! By default, all of them turn pretty slowly; in the 600 to 850 rpm range! Which makes the whole thing pr…...

August 9, 2009 · 4 min · François Planque