Using Request and Session in Symfony2 PHPUnit Tests

Request and Session are most frequently used services in Symfony2 application. I very often use them in my repositories by injecting with setContainer().

Continue reading


Formatting code block in Google docs

In the last few days, I was looking for how to format a code block in my Google doc. After a few minutes I googled, I found a very useful Google Docs add-on Code Pretty. Just needs to select the code text you want to format and its “Format Selection” is pretty nice. The only con is that you cannot choose the programming language you want to format.

Continue reading