Posts by Year

2015

Back to Top ↑

2014

MySQL 5.7 and Wordpress problem

less than 1 minute read

If you upgrade to MySQL 5.7, you may encounter bugs with legacy software. Wordpress, which I also consider some kind of legacy software, does not handle this...

Secure your SSL/TLS server

1 minute read

Heartbleed Recently the Heartbleed bug came to light. It is a bug in the OpenSSL library that causes information to leak from the server. It is an undetecta...

Is Bitcoin mining profitable ?

3 minute read

I thought I would go for a change and talk about some Bitcoin mining. There have been some big hype around it. Some large companies are making top dollar wi...

Back to Top ↑

2013

Responsive menu in pure CSS

less than 1 minute read

Having menus that gracefully adapt to the size of your screen can be troublesome. Inspired by the collapsible menu of Bootstrap, here is a pure CSS implement...

Tips for an efficient interview

2 minute read

I have only been in the Web industry for 5-6 years but I am already a bit sceptical when giving an interview. Some people are so good at talking about stuff ...

Wordpress MU-Plugins subdirectory loader

less than 1 minute read

Wordpress’s Must Use Plugins are an easy way to include quick pieces of code that will always be included. While having my way with Composer and Composer In...

LAMP Cluster — Distributed filesystem

6 minute read

This post is part of: Guide to replicated LAMP stack hosting with failover The core concept of choosing a filesystem for a Web hosting cluster is to elimi...

PHP Document Root, Path and URL detection

less than 1 minute read

PHP has no built-in base URL variable. In all the mess that is the $_SERVER variable, there is nothing that will tell you the base URL for your website.  Thi...

Track your time working on PHP projects

2 minute read

Have you ever had a project manager? You know, the kind of person that comes to bug you about your timesheet not being properly done and how important it is?...

Fixing permissions using inotify and ACLs

1 minute read

I was working on a shared hosting project and I noticed the permissions were getting a bit complicated. For each website: Each user must have read/write pe...

Back to Top ↑

2012

Run a script with lowest priority

less than 1 minute read

When doing low-priority tasks like backups are fixing permissions on a cronjob, it is a good idea to modify the niceness of the script. By using ionice and r...

Varnish 3 configuration

less than 1 minute read

Shared caches are pretty strict when it comes to caching or not a request. This is good, otherwise it would cache requests that are not meant to be cached. ...

Generate Lorem Ipsum using loripsum.net API

less than 1 minute read

loripsum.net describes itself as “The ‘lorem ipsum’ generator that doesn’t suck”. It is the same text you are used to see over and over except that it is dec...

Simple templating system using Bash

1 minute read

I often have to deploy several config files that are very similar. Things like Apache VirtualHost and PHP FPM pools. The solution to this kind of problem is ...

Mind blowing jQuery plugin: Scroll Path

less than 1 minute read

Joel Besada (@JoelBesada) did a jQuery plugin that lets you define custom scroll paths, including rotations and custom scrollbars. The technology is not v...

bcrypt with ircmaxell and how to use it

1 minute read

It is common knowledge that md5 is not secure for password hashing. It is almost worst than plaintext because it may falsly induce the impression of securit...

Git tutorial and global configs

less than 1 minute read

I was searching for inspiration for a good Git tutorial and I stumbled across a wonderful resource. Sure, you can take a week off and read the official Git ...

Verifying DNS propagation

2 minute read

When changing DNS settings, the propagation can take from 15 minutes to two days. Clients and bosses are usually not very fond of this principle so it is oft...

Testing your Regex skills

less than 1 minute read

Regular expressions are powerful, yes. They should not be used for everything, especially not HTML. HTML is not a regular language. As soon as you need some ...

WebPlatform.org – When giants get together

less than 1 minute read

Starting to build websites can be very hard, keeping up with the technology is a must and building cross-browsers is a daily crisis. A lot of great resources...

Going further

1 minute read

So, 4 years and a half after having started my bachelor degree at the University of Montreal in Computer Science, I am done. It has been a long and painful p...

Convertir le calendrier UdeM au format iCal

less than 1 minute read

Amis de l’UdeM, L’interface de visualisation de l’horaire des étudiants est vraiment à exploser de larmes Voici une solution pour convertir le tout en .ic...

PHP Coding standards

1 minute read

For more than a year, some influent PHP programmers of the most active of the most active projects in the community have been working on coding standards. T...

Reducing the load of all those social plugins

less than 1 minute read

Some javascript libraries are big and they pose a stress on the browser when they are loaded all at the same time. Most of these libraries suggest to load t...

Is the online ad industry a fraud?

less than 1 minute read

As highligthed by MacLeans, the Advertising Research Foundation did an experiment showing that: A blank banner ad received more clicks than the average Face...

Introducing Dotfiles Builder

2 minute read

Managing bashrc sucks We all have our nice little bashrc that we are proud of. It tests for files, programs and terminal features, detect your OS ve...

Validating emails using SMTP queries

2 minute read

Email validation are traditionally done in three flavors. They have pros and cons but they are widely spread; let us go through them.

Back to Top ↑