Friday, August 12, 2016

GUI for Zookeeper

I created tool in python 2.7. It is self hosted web application and it allows you to view, add and delete node, and you can modify node data.
Tool and instruction how to install it can be found at

Monday, May 18, 2015

Mysql backup using alias

This alias will create database backup with current date in filename:

alias dbbck='mysqldump -u myusername -pmypassword mydatabase > mijalkodb_$(date +"%Y_%m_%d").sql'

Add this to your .bashrc 

Tuesday, April 07, 2015

Strange osx shortcuts

Remander for me:

  • To maximize window press shift and double click on title bar
  • Blocked ssh connection: Enter  ~  .

Wednesday, December 10, 2014

Friday, August 15, 2014

Ubuntu tasks in separate terminals

On my current project I need to open few terminals (5 and more) and start different processes. For example, I need to open terminal, change current dir, start ruby application. On second terminal I open virtual env start python script etc...

I had a problem also with finding right terminal window when I needed.
So I created scripts that open all my terminals and give them appropriate names :

source '/home/dev/.bashrc'
echo -ne '\033]0;Web server\007'
cd '/home/dev/src/proj1'
source '/home/dev/src/venv/bin/activate'
bash /home/dev/src/proj1/

To start all terminals I neede one more script


gnome-terminal --window-with-profile=dev --working-directory='/home/dev/' -e 'bash --rcfile /home/dev/scripts/'
gnome-terminal --window-with-profile=dev --working-directory='/home/dev/' -e 'bash --rcfile /home/dev/scripts/'
gnome-terminal --window-with-profile=dev --working-directory='/home/dev/' -e 'bash --rcfile /home/dev/scripts/'

Wednesday, February 12, 2014

Thursday, October 03, 2013

HttpSelfHostServer and maximum concurrent connections

To set up maximum concurrent connections for HttpSelfHostServer you need to tweak following properties:

  • In HttpSelfHostConfiguration set MaxConcurrentRequests (this is not enough, continue reading)
  • System.Net.ServicePointManager.DefaultConnectionLimit
  • ThreadPool.SetMinThreads

Monday, December 10, 2012

Google Apps Alternative

Don't be evil company is not so good anymore. There is no Google apps for free anymore (this was good application for families domain names).

Check as an alternative.

And please post your experiences here.