The streets of Bangalore I

July 16th, 2008

Ones that know me also know that despite I originate from village, I’m really a street mate. The streets in Bangalore are very different compared to European ones. First, there is order. No order! The one which horns the loudest gets advantage in driving. Roads are… well, check out the pictures and ask me something through the comments. I’m really tired so… I’ll get back later.

dsc00001.JPGdsc00003.JPGdsc00008.JPGdsc00018.JPGdsc00024.JPGdsc00010.JPG

ljubljana -> paris -> bangalore

July 14th, 2008

The destination has been reached. Roman, Samo and me started the trip to India today at 7:20 from Brnik, Ljubljana. In the couple of hours, we were in Paris, switching plane to Bangalore, India.

cloudy view from the airplane

We were traveling for the whole day, making plans, discussing things and taking naps in the plane - brand new Airbus A330 with LCD equipped chairs, rich movies, games, GEO AIR route map and live camera view from the front of airplane. Now, I’m close to falling asleep in my room 216 in Royal Orchid Hotel in the center of Bangalore….

how to describe the universe. What is Universe?

July 3rd, 2008

easy job, if you are from outer space :)

Universe is group of objects, data, waves,… mashed and revoked as the constantly changing elemental parts of its makeofs. But the point is, that the Universe is limited in between terms of +π and -π. Math.PI. Extract all amount of data between 3.141592653589… and you surely win a Loto game.

The terms space, universe… are nothing more than true and false evaluated rules and knowledges learned trough lives of civilizations. And yes, lives not times as time is nothing more than local counting seconds or whatever you count. Times really do not change. Life therefore is the maker of the universe, as it is a part of it. Finally one loops their minds with all possible words, froms,.. thoughts. Or nothing :)

Everything and Nothing Between +π and -π is the Universe.

breign Breign

Sameks model agency

June 18th, 2008

My bestm8 Sameks company also provides model girls for variety of events - from simple ones to avantgarde shows.

The technology I used for creation of website was the flash book I developed about 3 years ago. And with a little Kostas help with design and Sameks aesthetic eye this is what was born.

I believe you won’t be disappointed with checking out the site which will be timely updated by new models.

php system script for maintaining mysql databases and tables

June 12th, 2008

This is one of the php system scripts I wrote and would like to share. It can be extended but it already does its basic stuff - mysql maintenance with email notification.

Use it in cron and have a peace with tables, indexes and keys :)

< ?php
// which databases to maintain
$databases  = "provider wp subversion mysql";
 
$returnval = maintain_mysql($databases);
@mail("root","mysql database maintainer", $returnval);
 
/**
* mysql table maintainer - optimizes and rebuilds indexes on mysql tables
*
* @author benjamin.povirk@***** 3.1.07
* @return string
* @param databases to maintain
*/
function maintain_mysql ($databases) {
 
$database = explode(" ", $databases);
foreach ($database as $db) {
$returnval .= "maintenance on all tables in ".$db." started\r\n";
// Connecting, selecting database
$link = mysql_connect('localhost', 'YOUR_USER_HERE', 'YOUR_PASSWORD_HERE') or die('Could not connect: ' . mysql_error());
 
mysql_select_db($db) or die('Could not select database '.$db);
 
//repair and optimize all tables in current database
$query = "SHOW TABLES";
$result = mysql_query($query) or die('Query failed: ' . mysql_error());
 
while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) {
  foreach ($line as $col_value) {
    $lock = mysql_query("LOCK TABLE ".$col_value." WRITE") or die('Query failed: ' . mysql_error());
    $optimize = mysql_query("OPTIMIZE TABLE ".$col_value) or die('Query failed: ' . mysql_error());
    $repair = mysql_query("REPAIR TABLE ".$col_value." QUICK") or die('Query failed: ' . mysql_error());
    $unlock = mysql_query("UNLOCK TABLES") or die('Query failed: ' . mysql_error());
  }
}
mysql_free_result($result);
mysql_free_result($repair);
mysql_free_result($optimize);
 
// Closing connection
mysql_close($link);
$returnval .= "maintenance on all tables in ".$db." finished successfuly\r\n\r\n";
}
 
return $returnval;
}
 
?>

efc2008

June 11th, 2008

I’m in favor of Portugal footbal team!

latest Flash eye candy - download free 3D cube in Flash

June 4th, 2008

Lately I’ve been kinda Flashing ( as Flash engineering that is ). Got some idea to do 3D and make my math teachers proud :)
Anže was quite impressed by rotating 3D cube with images on it’s faces, he also helped me with the ideas. I believe he’ll manage to build a wordpress plugin for users that want to express their photos in a fancy way :)

Well, It’s another thing I did in Adobe’s Flash and is here for you to use it. It’s fully customizable.
Check out the 3D CUBE MEDIA GALLERY v3.0 if you are interested in it.


Oh yes, I use and recomend Firefox 2

AJAXed with AWP