May 14th, 2008
One day doing my labour work - related with models transformations. Unexpectantly work results was interesting and not quite but i wanned but, decided share my results with you.

Main work idea was model transformation. But in this case transformation results was unextpected. Was created prototype witch allows generate hierarchy graphs from CSS (Cascading style sheets)
How does it works ?

Schema is quite simple (P.s at some schema elements you can do not pay attention) they were left just for simplifying understandability.
Like you see graphs are drawed using graphviz tool. This tool is also used by doxygen doxygen for drawing diagrams. For parsing CSS file is used csstidy, but tools is not quite stable atleast. Talking about graphs results it’s submited in the picture.

Also would like to mention that tool does support complete CSS standards like (p + table) and so on. But most regular CSS files it parses “correctly”. One of the interesting result graphs . Also nocited that there are some problems with comments interpretatio. Of course you can play your self.
Talking about practical adoption the only purpose of this tool i see possibility use this tool for better understanding page CSS hierarchy then need quick integrate some enchantments do not breaking whole CSS structure.
Working tool realization can be found here
Tags: css, graphviz, hierarchy, PHP, uml
Posted in HTML, PHP | No Comments »
February 28th, 2008
Started another project for QT tips database.
http://qtwiki.info/Main_Page
Posted in Uncategorized | No Comments »
January 29th, 2008
So finally i have a solid solution against image site rippers. So solution consists of two components mod_rewrite and php with mysql. Perhaps i will paste .htaccess first. It’s adopted to copper-mine gallery. Read the rest of this entry »
Posted in HTTP | No Comments »
January 24th, 2008
Long time did not wrote anything so decided share my experience fighting against site rippers and images lechers. So all began then someone decided rip animeonly.org gallery. Read the rest of this entry »
Posted in HTTP | No Comments »
December 6th, 2007
So first of all you will need self MRTG and smartmontools. Now we can go write some script to produce such graphs
Read the rest of this entry »
Posted in Linux | No Comments »
December 2nd, 2007
Because I did not find good marque, made my own. Demo http://remdex.info/htmlai/marque/
Features
- Configurable speed (Pixel step and timeout)
- Configurable direction (From left to right, right to left)
- Stop on mouseover
- Mouseover marque delay
- Separated HTML and javascript
Download marque
Posted in HTML | No Comments »
December 2nd, 2007
Recently i desiced to makeover my image gallery to nice URL. Previous url looked like:
thumbnails.php?album=$2
displayimage.php?album=$2&cat=$3&pos=$5
displayimage.php?pos=-$2
thumbnails.php?album=$2&cat=$3
and so on, after applied mod_rewrite we got:
Read the rest of this entry »
Posted in HTTP | No Comments »
December 2nd, 2007
Taigi pakūriau nemokamą subdomeną servisą. Kolkas galima kurti tik vieno tipo subdomenus <jusu_vardas>.animewallpapers.lt vėliau priparkuosiu remdex.info na ir gal dar kokį com’a nusipirksiu. Prašome išbandyt ir apie pastebėtas klaidas pranešti. Platesnė informacija http://tavodns.net
Posted in DNS | No Comments »
December 2nd, 2007
Small exercise witch recently helped me. Let say we have column with values 5,1,2,1,3,4,8 and we need, that Mysql or PostgreSQL order it such sequence 2,3,4,5,8,1,1 this means, if price is < 2 $ we should put it in the back.
Want answer ? Read more…
Read the rest of this entry »
Posted in SQL | No Comments »
December 2nd, 2007
Taigi nusprendžiau susikurti trackerį pabandymui. Taigi pabandysiu viska paaiškinti nuo a iki z kaip kas daroma. Kadangi man pačiam tai buvo pirmas kartas 
Read the rest of this entry »
Posted in Uncategorized | No Comments »