Blogs

Sentry and Ansible, process and thoughts

At Selltag we have been migrating some services to have a more organized environment. It has been the perfect moment to configure and document the servers deploy using Ansible. The example code is on Github. Ansible is a great and simple way of managing systems, manual changes to servers are over, …

Clean Code, comments

Some months ago I finished the Clean Code book, I already wrote about functions, today I’ll write about my highlights regarding comments, Comments are not like Schindler’s List. They are not “pure good.” Indeed, comments are, at best, a necessary evil Indeed, if a comment is needed, 99% of the …

Spideroak

I’ve been using a new backup solution, SpiderOak. SpiderOak is a Zero-knowledge solution, that means 100% of the data is private and only readable by you, ensuring confidentiality of your data. With SpiderOak ONE, your files are encrypted long before they cross the internet to our servers. We …

Clean Code, functions

I am reading Clean Code: A Handbook of Agile Software Craftmanship. Here my highlights from the Functions chapter. The way every developer with experience should read this book is like you know nothing, a blank canvas, draw your picture from there. Having less than two arguments is always …

ExtendedArray for PHP

Today I released an ExtendedArray for PHP, you can check It out in Github. An example: use TA\ExtendedArray\Type\ExtendedArray; $fruits = new ExtendedArray( array( 'tropical' => 'pineapple', 'farm' => 'strawberry' ) ); $fruits->has('tropical'); // true $fruits->hasOne(array('tropical', 'asian')); // …

javaguirre.ghost, my first Ansible role

Yesterday I created my first Ansible role, a role to manage, configure and install Ghost, the blogging platform. Why? Because I checked the others and they weren’t atomic, I wanted a role managing only Ghost, not the database, installing node, or configuring NGINX all in one. You can install …

Ansible and the Galaxy, roles

According to their site, Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs. If you want to know how to start with Ansible here’s a good tutorial, you could …

Auth with Behat token workaround

Behat is a very nice behaviour-driven framework well suited for Symfony. A workaround is always some hack you need to solve a problem not in an optimal way, but in my case I found it good enough to solve my problem in a timely fashion. This is about user authentication for Behat and how you could do …

Chromecast, first steps

A friend of mine gave me a Chromecast for my birthday, and I gotta say I found it very nice and full of possibilities. Plenty of Android apps are prepared for streaming to chromecast and there are a few games that proves the potential of the platform too. I’ve used the apps from rtve and …