Author Archives: irmantas

Swap Ctrl and Super keys on Linux

For past year I was working only with Macbook Pro and got used to OS X keyboard shortcuts (Super + C / Super + V). Now at work I still using OS X and at home I have Linux (Elementary … Continue reading

Posted in Linux | Tagged , | Leave a comment

PHP development environment with Docker

It was some time I wrote something in my blog. Since last my post I was wondering in various courses to learning about new web development technologies. Lastly I met Docker and it is awesome at least I image it … Continue reading

Posted in Linux, Programming | Tagged , , , | Leave a comment

Puppet install less compiler from wheezy backports

Recently I was building my Symfony development box with Vagrant and faced problem how to install less compiler. After some searches I decided that best(?) way to install lessc is from Debian backports. Now I had another problem, how to … Continue reading

Posted in Linux, Programming, Server | Tagged , , , | Leave a comment

[Note] How to fix php simple xml CDATA problem

Note for me how to fix simplexml_load_string or simplexml_load_file functions problem, when there is text in CDATA and its is skipped by parser. Fix can be found on Tech Thought blog article “How-To: Fix SimpleXML CDATA problem in php“

Posted in Programming | Tagged , , , | Leave a comment

Silex autoload namespaces without Composer

Currently I am working on one of my projects. For this project I am using Silex micro PHP framework, because its small fast and has all tools required for my project and uses some great libraries from Symfony2 framework. Anyway … Continue reading

Posted in Programming | Tagged , , , | 4 Comments

Symfony2 Vagrant setup

Recently I searched for good Symfony2 Vagrant setup and came up that Andreas Hucks work is most suitable for my needs. It has everything what I needed NFS setup, preinstalled phpMyAdmin, Xdebug and etc. However I installed newest Vagrant version … Continue reading

Posted in Linux, Programming, Server | Tagged , | 1 Comment

[Note] Generate NetBeans 7 getters and setters

To generate setters and getters in code just place your cursor after class parameter and hit Alt + Insert on keyboard and Generate dropdown with options will apear. Select Getter and setter.. and its done. It is strange that this … Continue reading

Posted in Applications, Programming | Tagged , | Leave a comment

[Note] Resize images with mogrify on Linux

I find my blog best place to store notes. Today’s my quick note is how to resize images with mogrify (this tool comes together with imagic) on Linux. mogrify -resize 300×200 myfile.jpg To batch resize in current directory just add … Continue reading

Posted in Linux | Tagged , , | Leave a comment

Flush memcached cached data

Just quick tip for me and for my readers how to flush cached data in memcached. Just call ‘flush_all’ command for running memcached service: There are more available commands like ‘get’, ‘set’ or ‘stats’ for memcached. All these commands can … Continue reading

Posted in Server | Leave a comment

How to change FileZilla settings save path

By default FileZilla saves all its configuration files including Site Manager configuration somewhere in OS user home directory. This can be easily changed where ever you want all you have to do is to copy fzdefaults.xml.example form {FileZilla install directory}/docs … Continue reading

Posted in Applications | Tagged , , | Leave a comment