Hi. I’m Yevgeniy A. Viktorov.

Here are some thoughts of mine.




Helper function to start new tmux session with the name of current directory

There are many promising tools that helps with bootstrapping tmux sessions, but this simple function, originally shared by Chris Toomey from thoughtbot, beat them all :)

1
2
3
4
5
6
7
8
9
10
function tn() {

    if [ -z "$1" ]; then;
        session_name=$(basename `pwd`)
    else
        session_name=$1
    fi

    tmux new-session -s $session_name -n 'main'
}

Once added to ~/.zshrc or ~/.bashrc, etc., you can start new tmux session as simply as typing the following:

> tn

And it will take the name of current directory.

Enjoy!


php-fpm 0.6.2 cookbook released

With the help of all great contributors and particularly @ameir we reached 0.6.2 release today, which, among others changes and fixes, introduces definitions similar to LWRPs, so, no more testpool automatically setup ;)

Please, make sure to checkout updated Usage section in README.

Enjoy!


Develop like a pro with VirtualBox

Here I’m going to demonstrate how to utilize the power of VirtualBox among with Infrastructure Automation Tool like Chef to develop your next Magento powered project in a production ready environment without bloating your personal PC with extra services which you might never need otherwise.

Basically we’re going to mount working tree directory of our web store into VirtualBox instance build with chef-solo and corresponding cookbook.

Read on →


TDD with Meteor: mocha-web

I been doing research recently on test driven development practices and tools for developing web applications with Meteor platform. While there is no official TDD approach, at least at the moment of writing, I was able to find several techniques contributed by growing community.

Here I’ll start with mocha-web which is smart package available through the Atmosphere repository.

Read on →