Composer: save the output to a file

For a while now, at Silicon, we use a combination of Capistrano and Composer to deploy our websites and other services we created.

We tried many possibilities, the one we choose is to run composer install on every deployment. But that means that a dependancy (plugin or theme) can be updated during the deployment.

Of course, it’s not perfect, in an ideal world, we would have a staging server to test and validate the deployment, but it’s not the case. So, to keep a track of Composer’s updates during deployment, I had the idea to mail the output of Composer after the end of the deployment. For doing that, I need to store Composer output in a file and, only if the deployement was successful, send the email with the content of this file. Continue reading Composer: save the output to a file

Emailings: 2 tips to double your open rates

When we redesigned our newsletters, we came from far.

I arrived in the company to find very bad emailing practices. No responsive at all, no TEXT version, absolutely all best practices were missed by my predecessor.

Recently, I’ve been in charge of the redesign of all newsletters for many countries. Now, all our newsletters are responsive, has a TEXT version and some other best practices like physical address, two one-click-unsubscription links and many more…

But with several years of bad practices, how to tell our subscribers to open this new newsletter? If they were used to not open it, why would they now? And if they not, our redesign will be useless.

All is not perfect yet, but with two tips, help user to open your newsletter and increase your open rates.

Continue reading Emailings: 2 tips to double your open rates

Chrome : webfonts antialiasing Fixed! (Updated)

Chrome rendering engine does not allow antialiasing on fonts. This is pretty annoying, especially as Google provide a service to use webfonts! But, there is a way to fix this!

Update

Update (2014-09-20): Finally, Google fixed this issue and released it with Chrome 37 [source]

Continue reading Chrome : webfonts antialiasing Fixed! (Updated)