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

Showing posts with label shell. Show all posts
Showing posts with label shell. Show all posts

Apr 2, 2010

One more note - sort, uniq and merging to the string

It is just one more note to myself. We have list of string - for example like this:
bg, cal, cat, cd, chmod, clear, cmp, cp, date, df, diff, du, echo, exit, fg, file, find, grep,
groups, gzip, head, history, id, info, jobs, kill, ln, locate, ls, man , mc, mkdir, more, mv, 
passwd, ps, pwd, rm, rmdir, scp, sed, set, sleep, slogin, sort, ssh, tail, tar, touch, uname,
vi, wc, which, whoami.

I need the same list without repeating of items and sorted.

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 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.

Oct 11, 2008

New audio track in avi

I had two version of film - one with good video quality and terrible russian translation and second with middling video and original audio. The task was compile from them one avi with two tracks

Jul 25, 2008

Отличная напоминалка

Как всегда IBM library предлагает нечто хорошее :)) Это статья дает 10 довольно простых и правильных советов, помогающих при решении самых разнообразных проблем администрирования.