Код отслеживания Google Analytics.

Feb 28, 2010

protection from brute force on ssh

When I've tired from brute force attacks on my computer at 22 port I create simple protection.

Feb 21, 2010

Cell-phone file system access

Just short note about how we can explorer file system of cell phone (in my case it was Nokia 3120 classic). The main idea can be found at http://dev.zuckschwerdt.org/openobex/wiki/ObexFs.

Feb 13, 2010

mencoder ignore bitrate (1000 fps file)

Today I found my mencoder ignore bitrate option when I try to recode some file. After research I want to save here two links - http://lists.mplayerhq.hu/pipermail/mencoder-users/2006-April/003102.html and http://www.mplayerhq.hu/DOCS/HTML-single/en/MPlayer.html#id2910636 which show me to obligatory using "-ofps" option in case we have variable framerate in source file and fixed one in destination.

Feb 12, 2010

bash associative arrays(map, hash or how you them calls). part II

This is second part of story about associative arrays in bash. You will find first one here.

Well after very serious criticism about variable approach we have to look at second way. It is very simple - two arrays - keys and values.

bash associative arrays(map, hash or how you them calls). part I

There are a lot of programming languages where you can use associative arrays. Some times it has different name - map or hash for example, but the fact is bash had nothing like this before version 4.0 And if you use bash with version lesser then 4.0 you probably try to find some kind of solution.