Blog

Create a Vagrant box from existing one

Vagrant boxes are the package format for Vagrant environments. There are a lot of boxes, but in some cases you need customize your box. You can automatize your bootstrap with a script or chef, but ...

Testing web app with infrataster and kitchenci

In some cases it's not sufficient to test if a nginx process is running or port 80 is open. There are some cases that before promote a change to production environment we need run some acceptan...

How to install simple-jekyll-search plugin

With the goal of improve my blog, today I have installed the Simple-Jeckyll-Search plugin. Simple-Jekyll-Search is a JavaScript library to add search functionality to any Jekyll blog.

My first approach working with chef in local mode

For some projects, I prefer don't work with a chef-server as a chef code repository. I prefer work directly with git and don't use a chef-server. To do it, we can use chef-solo or use chef ...

My new blog based on jekyll

Hi,

Install vagrant-chef-zero on vagrant 1.6.3.1

I have tried to install "vagrant-chef-zero" on vagrant-1.6.3.1 and I get a problem with nokinori. Bundler, the underlying system Vagrant uses to install plugins, reported an error. The error is s...

How to list size of all tables of a mysql database

List the size of all tables for a mysql database: SELECT table_name AS "Table", round(((data_length + index_length) / 1024 / 1024), 2) as TEST FROM information_schema.TABLES WHERE table_schem...

Install knife-ec2 in Mac OS X 10.9.1

To install knife-ec2 on Mac OS X 10.9.1 run the next command: sudo /opt/chef/embedded/bin/gem install knife-ec2 and add in your .bash_profile export PATH=/opt/chef/embedded/bin:$PATH

Magento HTTPS and Amazon AWS Load Balancer

Magento can manage secure HTTPS connections in frontend and in backend. But, manage HTTPS connections is a additional load for the servers. If you use a load balancer in front of the servers, you c...

How to mount Amazon S3 bucket with s3fs

S3fs is a fuse based file system backed by Amazon S3. This permit mount a S3 bucked as a file system ans store files and folders transparently. I have installed s3fs in a t1.micro ec2 instance wit...

How to integrate Amazon SES with postfix

Before today I has integrated Amazon SES with postfix using stunnel. But today I have integrated Amazon SES with Postfix without stunnel. To integrate Amazon SES with Potsfix I have followed the A...

How to change currency position on Magento 1.7

Magento 1.7 use the currency format of Zend Framework. To change currency format, you have edit the locale xml file located into the directory lib/Zend/Locale/Data For example, to pot the currency...