Mind the gap

Trip to Italy

View Larger Map At the beginning of that month we had a vacation in Italy. It was really nice trip. We flew to Roma at 4th August and stayed there three nights. During that time we visited Pompei, Napoli and had full day in Rome. After that we went to Florence and passed Siena and Pisa. Next day we spent in beautiful Florence and next […]

Read Me 2 Comments

New version of IMDB::Film

Today a new version of IMDB::Film was released. There was added a new feature – list of recommended movies, and fixed a few bugs. The IMDB::Film 0.41 can be downloaded from the CPAN or installed using cpan utility. Report bugs, suggestions or feature requests via CPAN RT.

Read Me Leave comment

SugarCRM: check updating of object’s property

Sometimes it’s needed to know about updating of specified object’s property. SugarCRM keeps previous values for all object’s properties in the array fetched_row. For example, to realise it’s new object or just updated we should compare ID from that array and current value of object’s property: if($obj->fetched_row[‘id’] != $obj->id) { echo “This’s a new object!\n”; } else { echo “This’s an existing object\n”; } That […]

Read Me 2 Comments

How to change WP password into database

I did it a few times but always made a search and dug WordPress code. So, just generate a new password: PHP -r ‘echo crypt(“new_wp_pass”) . “\n”;’ and update specified user in the table wp_users: UPDATE wp_users SET user_pass=’generated password hash’ where ID=’desire user ID’;

Read Me Leave comment

Remove subversion stuff from the sources

You may need to remove subversion stuff from some sources to add them onto another repository. Following bash command can do it assuming you’re in the root directory of the sources: for FILE in `find | grep “.svn”`; do if [ -d $FILE ]; then echo “file: $FILE”; rm -rf $FILE; fi; done

Read Me 4 Comments

Next generation of Nokia Internet Tablet

The next generation of Nokia Internet Tablet will sport 3G HSPA, a TI OMAP3 processor, OpenGL graphics accelerator, and will run Maemo 5 OS the first release of which SDK was done recently. Supporting of 3G network will give more choices for people to stay online. [via The Nokia Blog]

Read Me Leave comment

KDE 4.1 useful tips and tricks

Preface When I tried KDE 4.0 first time a few monthes ago I was very disappointed. The system was absolutely unusable. Mainly it was the reason why I didn’t upgrade my Fedora to version 9. But after 10 was released I decided to make an upgrade. I thought that KDE 4.1 should be better. It’s really better but to setup my accustomed environment I spent […]

Read Me 3 Comments