Curl development headers with SSL support… not found

I was trying to install passenger-install-apache2-module on my Debian box, and i got this error message :

Checking for required software...
 * GNU C++ compiler... found at /usr/bin/g++
 * Curl development headers with SSL support... not found
 * OpenSSL development headers... found
 * Zlib development headers... found
 * Ruby development headers... found
 * OpenSSL support for Ruby... found
 * RubyGems... found
 * Rake... found at /usr/bin/rake
 * rack... found
 * Apache 2... found at /usr/sbin/apache2
 * Apache 2 development headers... found at /usr/bin/apxs2
 * Apache Portable Runtime (APR) development headers... found at /usr/bin/apr-1-config
 * Apache Portable Runtime Utility (APU) development headers... found at /usr/bin/apu-1-config
Some required software is not installed.

M-Audio FastTrack Ultra 8R crashes when plugged under OSX

Dear M-Audio FastTrack ultra 8R users, if you are using your sound card under Mac OSX, you probably noticed that you mac crashes when the USB cable is plugged / card powered on. This is rare enough to be emphasized but very annoying…

The good new is that yesterday (february 1st 2012), a beta driver has been released by Avid team under version number 2.1.2 :

Release Date: February 1, 2012
Installer Version: 2.1.2
Operating Systems Supported:
Mac OS 10.6.8
Mac OS 10.7.2

Release Notes:
Fixed a problem that occasionally caused crashes when the Fast Track Ultra was plugged into the computer.

Read more →

Change permanently permissions on a file like /var/log/mail.log on Linux

I love graphs generated via Munin and I take some time to create my own plugins. My first one was to stat Spamassassin on my mail server.
The script read /var/log/mail.log to collect data for ham / spam / bad-headers / ….

Don’t forget that a chmod 644 file is not sufficient because of log rotation, especially if you use like me syslog-ng (perms are restored everyday).
Read more →

Vends Musicman Stingray 5 Piezo

Je me sépare de ma Musicman Stingray 5 de 2004 (cf. serial number).

Je ne joue plus sur 5 cordes depuis un bon moment et j’ai besoin d’acheter un baffle pour ma nouvelle tête d’ampli, raisons pour lesquelles je vends le joli bijou.

C’est un modèle rare car équipé d’un Piezo et ayant la crosse assortie au corps blanc.

Read more →

Missing full sender name in your sent email with postfix ?

I recently installed a Push Mail server on my Linux box. Everything works fine, i can be notified via push when a new email is available, and i can of course send my from my phone. But, i noticed that i don’t have anymore my name in my sent mails’ headers.

I thought it was possible to correct it via z-push server or via postfix aliases, but after searching on the internet, it seems that it must be done with a header replacement.

Here is how i did.

Read more →

Setup your own Push Mail server with Z-Push on Debian / Linux

If like me you run your own mail server, have an iPhone or stuff like that, you probably want to have the push mail feature you can find in Gmail or iCloud.

Here is a tutorial to add push mail to your linux box.
We’ll use Z-Push, an opensource push written in PHP.

Requirements :
- an IMAP server like courier-imap
- a HTTP Server, Apache will be fine
- PHP5
- gamin libs

Read more →

Install Open SSL extension for PHP on Mac OSX

Today, i was (again and again) playing with Behat & Mink, but this time, i wanted to write tests on a project using HTTPS.

When I launched my default test, i got :

Unable to Connect to ssl://www.project.com:443.
Error #1: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?

Read more →

A linux command line to find and remove duplicates with sort and uniq

Everyday is the same thing… how could I be efficient without unix tools… Here are some examples that save my life everyday (ok, not everyday, but at leat one a week…). The objective is to manipulate a text file, sort lines, find and extract duplicates lines.
The example is based on a very simple data file, but it works the same way with something more complicated… ;-)

Read more →

Install or enable PEAR on Mac OSX Lion 10.7

It seems that Mac OSX Lion (10.7) ships pear not totally installed… Why ? I don’t know…
But here is the easiest way to install or enable pear to work correctly on your system :

Read more →

Fill in field with param in Behat & Mink

Behat offers a definition called “fill in <field> with <value>” that works great.

We found that sometimes, test can be exactly the same in a development and production environments, sometime because the databases are not synced or updated, or sometimes because it can’t. Example : your project uses an authentication system based on an external SSO that you don’t manage and they don’t provide the samed credentials in integration, staging and production.

Having values in features is not always adapted to multiple environment.
So, i wrote a new and simple definition for behat / mink to allow you to fill a field with a value setup in behat.yml.
I called this definition “fill in <field> with param <param_name>”, and it allows you to have a different value for a param in each of your profiles.

Read more →