29Oct/090

Batch processing with OpenOffice

MS did a big job spreading office format worldwide. It is almost everywhere, tons, millions of files. Often it is needed to automate processing of this files. One way is to go with MS Office with VBA or OLE automation, this requires license for office and win32 system as well. Other way is to go with Open Office, which is free and reliable.

Filed under: I|T Continue reading
26Oct/090

Mozilla Firefox user profile

Once I heard weird story. A man was playing some web MMRPG game. Most of these games prohibit multiplayer and you know why :) Game site checks this by setting cookie to browser and when you logout and login with another char it tracks this.

What was the solution ? Most simple one, he installed all versions of browser he found on the Internet(IE,FF,Chrome,Safari, etc). That was weird, but it worked.

I want to tell about much simplier way of doing thia based on Mozilla Firefox profiles.

Filed under: I|T Continue reading
16Oct/093

Download google map, save as image

Once I faced with task to download some area of Google maps...  At first I tried to glue some downloaded google maps images together manually, but gave up very soon. After googling on the Internet, I found no good way to make it automatically.

I decided to dive in GMap API... By using some sample I wrote simple script, that handles most part of this process automatically.. You just need to select intrested region, zoom, map type and wait :)

Method does the following, it loads selected region in one big viewport and after it is loaded, converts it into Canvas, which can be saved as .PNG image.

Feel free to try it

Save google maps as image, jpg or png

Filed under: I|T 3 Comments
16Oct/0914

Samba – file audit log with full_audit

File server auditing is a must have process for all companies that rely on file servers to store their critical data and applications. Malicious and accidental modifications to files, permissions, file sharing settings can severely impact your organization. (C) Somewhere on the Internet.

I can not disagree with it :) I have no such goals, file audit is just another line of protection from users, who like to yell "WHERE IS MY LITTLE AND VERY IMPORTANT FILE ???". In this article I will tell how I setup file audit on samba for linux file server.

Filed under: I|T Continue reading
10Oct/090

[RUS] Багдадский вор – Белянин Андрей

Повесилило :) можно читать

– Ой-ё… – разом понурился Лев. – Слушай, я что, под этим делом наговорил чего не надо? Частушки матерные пел, анекдоты похабные рассказывал, девушек щупал, приставал ко всем, да?

– Не-е-т, ничего подобного, – ласково успокоил Ходжа, и от его тёплой улыбки Оболенскому окончательно стало не по себе. – Я лежал вот здесь, у забора, почти отдышавшийся от белого дыма опиума, и видел всё. Ты вышел в обнимку с гулями, убеждая их, что только сейчас преподобный Ричард Бах открыл тебе тайну Дара Крыльев! Кстати, что это за пророк? Не помнишь… Ну так вот, потом вы все, кроме девушки, пошли и поднялись на вон тот минарет, дабы познать небо и сладость безграничного полёта. Джамиля не дошла до ворот, сон сморил её прямо здесь… Я кое-как встал, укрыл её своим халатом и, держась за забор, поковылял за вами. Я кричал тебе, но увы… Твой слух был подчинён исключительно твоему же голосу. Кроме себя ты не слышал никого!

Лев изо всех сил напрягал мозговые извилины, в надежде хоть что-то вспомнить, но память, плотно укутавшись в чадру тумана, категорически отказывалась показать своё личико.

– Дверь, ведущую на верх минарета, гули для тебя просто выломали. Я сам видел, стоя внизу, как сверху спланировал первый кровосос… Он рухнул на камни, расшибаясь в брызги, под твой ободряющий крик: «Лети, Икар, сын мой!» Второго ты почему-то назвал Гастелло, третьего Ан-124, остальные тоже получали какие-то немусульманские имена. Но как они падали, разрази меня аллах! Шумно, ярко, с выдумкой и фантазией, разбиваясь на тысячи лоскутков и горсти серой пыли! После четвёртого я собрал волю в кулак и пополз по ступенькам наверх… Пока добрался до самой высокой площадки, ты уже сбрасывал вниз довольно хихикающего принца.

http://www.labirint-shop.ru/books/21967/

Filed under: misc No Comments
10Oct/090

OpenOffice BASIC Programmes guide in CHM

Once I had to write some code in OpenOffice BASIC, and found out how difficult is to get information on this. I wanted a book, like a handbook on all these language and API  stuff, and I did not find it. So I decided to make my own CHM file, which is based on OpenOffice wiki. Now I can take it while offline and it is still useful :)

Filed under: I|T Continue reading
9Oct/090

Hello world!

Its better to start now, better then never.

All stuff I wanted to prepare to publish at once this blog is released is not ready and it wont be in near feature. So I decided to start with almost blank one and add "stuff" later.

Filed under: todo No Comments