Programming

 ◊  HTML character art

by danang.wijanarko@gmail.com

 

And this is the HTML character art:

- ID Code - Description
Á 193 Aacute 1 latin capital letter A with acute
á 225 aacute 1 latin small letter a with acute
â 226 acirc 1 latin small letter a with circumflex
 194 Acirc 1 latin capital letter A with circumflex
´ 180 acute 1 acute accent

 ◊  HTML color art

by danang.wijanarko@gmail.com

 

This is below is some of the color art defined in HTML table.

FFF
 FFF

CCC
 CCC
999
 999
666
 666
333
 333
000
 000
FFC
 C00
FF9
 900
FF6
 600
FF3
 300
FF0
 000
 
99C
 C00
  CC9
 900
FFC
 C33
FFC
 C66
FF9
 966
FF6
 633
CC3
 300
  CC0
 033

 ◊  And it's easy actually to have HTML wrapped preformated (<pre>) tag

Finding the way when you like the way a preformated (<pre>) tag display but you don't like it manner when it's to long the line that will makes your web site looks very ugly.

You can use CCS to handle this:

pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}

But see ..., its result is dependant to the browser. Anyway it is pretty much usefull.

- d

 ◊  Lighttpd Regex Pattern Matching with Drupal 6 and Gallery2

by danang.wijanarko@gmail.com

 

If you deciding to move the mod-rewrite regex pattern matching from Apache to Lighttpd, you will find that Gallery2 have a persistent mind to refuse it :))

You will find that getting this one line of regex pattern matching below is gonna takes some really your time, well in my case is me :P. I spent really some time digging apache and lighttpd log, reading the result, and changing the pattern as i don't realy know exactly the result of the correct result. But at last this line, just this simple line, few words, not too much. Ugh ... it's regex as always. Yes it is regex.

It is:

 "^/v/([^?]+)(\?|\ )?(.*)$" => "/index.php?q=gallery&g2_view=core.ShowItem&g2_path=$1&$3"

 

"Bekatul Port" Personal Enterprise Number (PEN) registered @ IANA OID

ASN.1 Notation: {iso(1) identified-organization(3) dod(6) internet(1) private(4) enterprise(1) 30347}

Dot Notation: 1.3.6.1.4.1.1.30347

IRI Notation: oid:/ISO/Identified-Organization/6/1/4/1/30347

Syndicate content