Configuring a multistage environment with Ansible and Vagrant

Ansible is a powerful and clean tool for automation. This post covers the configuration of a multistaging environment, consisting of one local development environment controlled by Vagrant, and one or more remote servers (staging, production etc) that will be controlled directly by Ansible, reusing a pre-existent development environment provisioning. These instructions cover the server and control machine configuration needed to run Ansible in a multistage environment, using Vagrant for controlling a local dev VM and one or more (production, staging) remote servers that will be controlled via Ansible. This way you can reuse most part of your Vagrant provisioning to create a powerful…
View Post

Setting up a development machine with Ubuntu 14.04 (Trusty Tahr)

Ubuntu finally released its new LTS (long term support) version, 14.04 – Trusty Tahr. In this post, I tried to list all the steps I performed to set up my working machine with a fresh Ubuntu 14.04 install. The motivation for this post came from all ~bullying~ I get for not being a OSX / Mac user, when apparently all my dev friends have a Mac =P TL;DR: Ubuntu is really cool, SPECIALLY for developers. This is how I setup my environment, step-by-step (sort of). Why I don’t want a Mac I had the experience of working with a Mac…
View Post

What’s new on Vagrant 1.5

Vagrant 1.5 was released in March, bringing great new features and a lot of improvements. This post gives you a quick overview on what’s new, including a video where I talk about the Vagrant Cloud and Vagrant Share, the two most anticipated new features on 1.5. Vagrant 1.5 was released in March, bringing great new features and a lot of improvements. This post gives you a quick overview on what’s new. Vagrant Cloud and Vagrant Share The first and most important new feature on Vagrant 1.5 is the Vagrant Cloud. Now, we have a central and official place to share and discover…
View Post

Vagrant Usage Research

From 11 to 14 of January, 720 Vagrant users from different sources (Twitter, IRC and the official Vagrant mailing list) answered a quick form I created to find out how people are using Vagrant. I’m currently in the process of writing a LeanPub book about this tool, and I was really curious especially about the provisioners usage. First of all, THANKS everybody for the amazing participation – I never got so many retweets before! A special thanks to Mitchell Hashimoto (Vagrant creator) for tweeting about the research, that was of great help. ~AND NOW~ [dramatic pause] I’m glad to present you the…
View Post

Underground, Hacktivism and Resistance – the CCC Experience (30C3)

Last week, from 26 to 30 of December, the 30th edition of Chaos Communication Conference (CCC) took place in Hamburg – Germany. I went to visit Hamburg accompanying my husband, who was going to the conference. At first, I didn’t plan to join the conference, cause I had an idea that it would be way too far from my expertise areas (I ain’t no hacker). But since they had day tickets available, after having a look at the schedule I was very curious and decided to join on Sunday (day 3) specially because of Julian Assange’s talk. To be very…
View Post

One year in Amsterdam – changes, friendship and a special thanks to the PHP community

Last week, precisely on the 19th of December, it was my “expat anniversary” – one year since I came to live in Amsterdam. The year of 2013 represented a big, outstanding change in my life – a truly watershed. It’s not only moving from a country to another, or a change of culture – which is already a big thing. It’s changing from the third world for the first world, it’s finally having access to many things that I could not reach before, getting to know people that I once, eventually, read blog posts that helped me solve my “phproblems”…
View Post

Vagrant 101 – montando seu ambiente de desenvolvimento portátil, parte 1

Que atire a primeira pedra quem nunca usou a desculpa “funciona na minha máquina”. Muitas vezes nem lembramos que pacotes temos instalados no nosso ambiente de desenvolvimento, é bastante comum que tudo funcione perfeito na nossa máquina e quando fazemos deploy, BOOM… E quando surge um projeto novo, que vai usar bibliotecas super específicas ? Não bate um frio na barriga ao sair instalando um monte de coisas que você provavelmente não vai usar no futuro? Sem contar projetos legados, usando versões antigas do PHP – um simples pequeno bugfix pode se tornar uma dor de cabeça enorme. O Vagrant…
View Post

Nginx PHP5-fpm – instalação passo a passo

Há alguns meses eu fiz uma migração de um servidor dedicado para múltiplos VPSs, e como as instâncias possuem uma quantidade reduzida de memória, precisei buscar algumas alternativas pra melhorar ao máximo a performance do meu servidor web. Depois de ter ouvido falar muito (e bem) sobre o Nginx, resolvi experimentar e hoje em dia não troco mais! Além de ter uma performance bem superior à do Apache, o Nginx é bastante simples de se instalar e configurar. Aqui vocês conferem um passo a passo de como instalar e configurar  Nginx + PHP5-fpm (PHP 5.5, versão mais recente) em uma…
View Post

Productivity and The Pomodoro Technique

As a developer working from home, I’ve been dealing with the productivity / concentration issue for quite a long time. This post is a collection of productivity tips I wanted to share, and its actually an adaptation from a talk I presented on both PFCongress and PHPNW (unconference track). The “Time is Money” fallacy This is a quite famous quotation that is being repeated through the years. “Time is money” is a very contrived way to say that if you lose time, you might be losing money. I personally don’t like this quote; lets refactor it to something that better reflects reality: “Productivity is Money”…
View Post