Archive for September, 2007

ATI Radeon XD 2400 XT

Saturday, September 29th, 2007

UPDATE thanks to Hendrik: Acer has released a new driver pack, which should work for XP. I got a laptop Acer Travelmate 6592 with ATI Radeon HD 2400 XT. After a few whiles of using Vista I decided to go back to XP and there was a problem with supplied ...

A php function to return random values

Saturday, September 22nd, 2007

I was looking for a method in php that would return unequal numbers using the rand() function. I found an answer on php.net and all credit goes to alishahnovin at hotmail dot com. The method is as follows: function randiff($min, $max, $num) { if ($min= $num && $num>0) ...

Stardust

Wednesday, September 19th, 2007

I have just watched a movie called Stardust and I am greatly impressed by it. An unknown actor to me - Charlie Cox shows some great acting skills and makes a firm leading role. Movie was entertaining, full of wit, romantic and simply pleasant to watch. The storyline seemed very ...

localhost.customs or localhost:1001

Monday, September 17th, 2007

Well, just recently I discovered an error in my Apache2 log file saying: 127.0.0.1 - - [17/Sep/2007:20:10:32 +0200] "GET /" 400 466 Well, that is a SSL log, so I am working to figure out what it really is... Ok, "tshark -i lo -S -V > dump.shark" command comes in handy to see ...

Using wget to download all *.rar over ftp

Sunday, September 16th, 2007

Today I read a news about Helion.pl releasing a Polish version of Wikipedia on a DVD and providing a download possibility as well. Having a 8Mb line I decided to get it. Handy came a wget command: wget -c "ftp://ftp.helion.pl/wikipedia/*.rar" DVD version of Wikipedia is definitely a good thing for "laptopers".

Using sed to change strings in multiple files

Saturday, September 15th, 2007

Ok, one more tip for today, which makes it very simple to change text within multiple files. Say for example that you want to change Bush to Kerry in 50+ files ending with "html". OK, now you could edit them, but it is too much of a hustle. Instead let's use sed ...

Unzip, untar, unpack all archives

Saturday, September 15th, 2007

Once I came to a point of having downloaded 20+ tar.gz files and facing a need of finding an efficient way to extract them. If you are having such a problem then this simple solution will help: for F in `find ./ -type f -name '*tar.gz' -print`; do tar xvzf $F; done; What it ...

How to use the gallery

Saturday, September 15th, 2007

New gallery is very powerful and features some dynamic content. I am sure you will be able to use it in the most efficient way. Here are some tips: Click on in order to show the sidebar. After the sidebar is shown you can click on "Show Item Links" ...

Website updated

Saturday, September 15th, 2007

Hello to everyone! I finally managed to update my website a bit so it satisfies my needs better. I have configured a Wordpress blogging application with custom plugins. Website features a brand new gallery, commenting possibilities and much more. ENJOY and if you wish then participate actively in the development of this website! You ...