Monday, September 29, 2008

Pts - Px - Em - Percentage Equivalance table for graphic designers

PtsPxEmPorcentaje
6pt8px0.5em50%
7pt9px0.55em55%
7.5pt10px0.625em62.5%
8pt11px0.7em70%
9pt12px0.75em75%
10pt13px0.8em80%
10.5pt14px0.875em87.5%
11pt15px0.95em95%
12pt16px1em100%
13pt17px1.05em105%
13.5pt18px1.125em112.5%
14pt19px1.2em120%
14.5pt20px1.25em125%
15pt21px1.3em130%
16pt22px1.4em140%
17pt23px1.45em145%
18pt24px1.5em150%
20pt26px1.6em160%
22pt29px1.8em180%
24pt32px2em200%
26pt35px2.2em220%
27pt36px2.25em225%
28pt37px2.3em230%
29pt38px2.35em235%
30pt40px2.45em245%
32pt42px2.55em255%
34pt45px2.75em275%
36pt48px3em300%


Original Post from: WebAddictos.com

Download Free Tab Menu

Download Tab menu for free
http://www.kollermedia.at/archive/2007/02/20/download-tabmenu-for-free/

Saturday, September 27, 2008

MySQL Equivalent to Oracle Decode function

1. Using IF
http://www.experts-exchange.com/Database/MySQL/Q_20522525.html

mysql> SELECT (if(answer=1,1,0))yes,
sum(if(answer='2','1','0')) no,
sum(if(answer=0,1,0))don_t_care
FROM favicon_poll;

+------+------+------------+
yes no don_t_care
+------+------+------------+
3 13 2
+------+------+------------+
1 row in set (0.00 sec)


2. Using CASE
Conversion of Oracle Decode to MySQL Case
http://www.ispirer.com/doc/sqlways38/Output/SQLWays-1-041.html

mysql> select CASE answer when 1 THEN 'yes' when 2 THEN 'no' else 'unknown' end from favicon_poll;


More information--------------------------------------------------------
mysql elt() and field() functions
http://dev.mysql.com/doc/refman/4.1/en/string-functions.html#function_elts

Oracle Decode and CASE

MySQL equivalent to Oracle Decode
http://dev.mysql.com/doc/refman/4.1/en/string-functions.html#function_elt

Expert Exchange Article
http://www.experts-exchange.com/Database/MySQL/Q_20522525.html

Sunday, September 14, 2008

Parsing HTML Content in PHP, Python Music

Parsing HTML Content
http://www.onderstekop.nl/articles/114/

Class: HTML SQL - extract html as sql
http://www.phpclasses.org/browse/package/3086.html

mingus 0.3 - the music theory package for Python
http://code.google.com/p/mingus/

Hydrogen - http://www.hydrogen-music.org/
info: Hydrogen is an advanced drum machine for GNU/Linux, although there also appears to be a Windows installer available
article: http://www.onderstekop.nl/articles/118/