2009
05.27

Javascript – properties of object variable

function dumpProps(obj, parent) {
   // Go through all the properties of the passed-in object 
   for (var i in obj) {
      // if a parent (2nd parameter) was passed in, then use that to 
      // build the message. Message includes i (the object's property name) 
      // then the object's property value on a new line 
      if (parent) { var msg = parent + "." + i + "\n" + obj[i]; } else { var msg = i + "\n" + obj[i]; }
      // Display the message. If the user clicks "OK", then continue. If they 
      // click "CANCEL" then quit this level of recursion 
      if (!confirm(msg)) { return; }
      // If this property (i) is an object, then recursively process the object 
      if (typeof obj[i] == "object") { 
         if (parent) { dumpProps(obj[i], parent + "." + i); } else { dumpProps(obj[i], i); }
      }
   }
}

Code origin: http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256BF8004D72D6
The reason for copying is redistributing of this useful routine for better reaching.

2009
05.21

urban art

Tak jako mají vesnice své ruralisty a countrymany, kteří je opěvují v básních a písních, má i město svoje přívržence. Urban Art je styl umění lidí, kteří jsou inspirováni prostředím města. Město je jak terčem produkcí, tak zdrojem materiálu nebo obojí.

Přes možná trochu zavádějící název, je tohle blog nabitý díly a dílky lidí, kteří potřebují tvořit.

2009
05.12

vtipy, vtipy a ještě 10000 dalších vtipů

Nudí vás vaše obvykle čtené stránky? nemáte už kam kliknout, máte pocit že už jste četli celej internet? V rámci jednoho takovýho pocitu jsem se zatoulal a objevil tenhle neuvěřitelně narvanej portál. Doslova tuny vtipů, nebo spíše zachycení a vtipně okomentované vtipné situace.

2009
05.06

zubní moudrost

Kdo si čistí zuby, tomu voní z huby. Kdo si zuby nečistí, tomu shnijou čelisti.

2009
05.05

WIN XP number of allowed connection

There is a default limit for simultaneous TCP connections to one workstation under windows XP. The reason is decreasing of spreading worm viruses while infecting.

When we need to change this value, there is the possibility with using patch or manual editing of tcpip.sys This situation may occur when we’d like use the workstation as a node for working proxy or similar. Windows HOME edition allows max 5 connection, Windows Prfessional allows the connection of 10.

This restriction may disable sharing in network, when connection aren’t closed properly.

full article: http://www.speedguide.net/read_articles.php?id=1497

ENVATO FLASH STOCK ENVATO THEME FOREST

CBDB.cz - moje knihy