Contactez-nous : 01 71 18 39 73 | contact@thecodingmachine.com
Suivez-nous sur Facebook

Blogs Syndicate content

Installing Drupal using Composer

Lately, I have been playing a lot with Composer. If you don't know Composer, it is a great dependency manager for PHP, and will probably become the defacto standard in the coming months. I wanted to see if Composer could be used to install Drupal.

Composer comes with a big repository of libraries (hosted on http://packagist.org).

Triggering a PHP script when your Postfix server receives a mail

In this tutorial, we will see how to trigger a PHP script each time your web server is receiving some mail.

Why would you want to do that? Well you could want to do that to develop a custom mailing list system, to archive your mail in database, trigger commands in your website by sending mails... your imagination is the limit.

Getting started with a basic Postfix filter

Configuring Postfix

Fixing Java memory leaks in Ubuntu 11.04 using jmap

When facing problems regarding memory consumption of a Java application, the JDK contains a number of useful tools to help you understand what is going on. You can get a list of the tools on this page.
One of these tools is "jmap". Jmap will let you now (among other things) know what objects are using your precious memory.

Cool!
...
except that when you try to use jmap on Ubuntu 11.04 with a Sun JVM 6, you will get this error message:

Attaching to process ID 12450, please wait...

Configurer Apache sous Ubuntu

Directives, modules, fichiers de configuration... Vous avez déjà entendu ces mots mais ils vous paraissent peu familiers ?

TheCodingMachine se lance dans les Briefs Techno

Cet exercice de vulgarisation et de simplification du message autour de données techniques comme le NoSQL, le Cloud Computing ou le HTML5, a été mis en place pour répondre aux besoins de nos clients. Décideurs en manque d'informations claires dans des domaines très techniques, voici une manière ludique d'aborder ces sujets incontournables.

Profiling a Java remote server using Netbeans

I used to profile my Java applications with the TPTP Eclipse plugin. It was admittedly a nightmare to install, but once you had it running, it was a fairly efficient tool. Alas, to my dismay, I realized that TPTP is no more. The project was dropped from the latest Eclipse release train (Indigo). And of course, one week after the new Eclipse release, I have a need to profile a remote server.

Solving the "Too many open files" exception in Red5 (or any other application)

We have been running a Red5 server for quite some time, and as our application was getting more popular, we happened to see new errors we had never seen before. Actually, we saw a bunch of "Too many open files" exceptions in the logs, and most users could not connect anymore to our application.

Ajouter un nouveau disque dur sous linux

Je vais décrire dans cette article comment formater, partitionner et monter un disque dur sous Debian. J'utilise la distribution Ubuntu déjà installée sur un disque dur. Puis nous allons placer le dossier /var sur ce nouveau disque pour gagner de l'espace de stockage.
Toutes les commandes suivantes sont tapées connecté en root.

Préparation du disque dur

Première étape : contrôler que le disque dur est correctement reconnu par l'OS avec le commande "fdisk -l" :

Device Boot      Start         End      Blocks   Id  System

Optimiser votre base de données mysql

Tout ce que vous devez savoir pour exploiter au mieux votre serveur de base de données : gestion des index, bonnes pratiques pour écrire des requêtes, paramétrage du serveur...