Wednesday, May 25, 2005

Corralling Robots and Spiders

Basically:

User-agent: *
Disallow: /


In a file named robots.txt within a particular directory. In the root directory, that keeps all robots out. Or, to specify particular directories:

User-agent: *
Disallow: /scripts/
Disallow: /images/


In the root directory, that would keep robots out of the "images" and "scripts" directories.

Thursday, May 19, 2005

Mountain Goats

Since I try to avoid buying CDs, even by deserving bands, a collection of links to Mountain Goats music:

"Dance Music" and "Love, Love, Love" (NPR Weekend Edition)

"Up the Wolves" (NPR)

"Hast Thou Considered the Tetrapod?" (NPR)

"Letter from Belgium" (NPR All Songs Considered)

"The Magpie" (NPR All Songs Considered)

Discography (4ad.com)

Miscellaneous Tracks (themountaingoats.net)

Wednesday, May 18, 2005

Bay to Breakers

Ran (well, walked) the race with my sister last Sunday. Some photos:



» Laura's photos here

Saturday, May 14, 2005

Blogger Atom PHP

A second test.

PHP Atom Test

Using script found online.

Friday, May 13, 2005

A test post using the Blogger API and my own very basic PHP interface.

Cheat Sheets

A couple very useful ones:

PHP cheat sheet

regex cheat sheet

Thursday, May 12, 2005

Email Post Test

<img src="cid:image001.jpg@01C5570B.EAC76500" v:src="cid:image001.jpg@01C5570B.EAC76500" v:shapes="_x0000_Mail" width=0 height=0 class=shape style='display:none;width:0;height:0'><!--[if gte mso 9]><xml> <v:background id="_x0000_s1025" o:bwmode="white" fillcolor="silver" o:targetscreensize="800,600"> <v:fill src="cid:image001.jpg@01C5570B.EAC76500" o:title="indtextb" type="frame" /> </v:background></xml><![endif]--> <div class=Section1> <h1><font size=6 color="#000066" face="Trebuchet MS"><span style='font-size: 24.0pt'>Testing HTML emailing<o:p></o:p></span></font></h1> <p class=MsoNormal><font size=3 color=black face="Trebuchet MS"><span style='font-size:12.0pt'>Another test using Microsoft Outlook<o:p></o:p></span></font></p> <p class=MsoPlainText><font size=2 color=black face="Courier New"><span style='font-size:10.0pt;mso-no-proof:yes'><o:p>&nbsp;</o:p></span></font></p> <p class=MsoPlainText><font size=2 color=black face="Courier New"><span style='font-size:10.0pt'><o:p>&nbsp;</o:p></span></font></p> </div>

Wednesday, May 11, 2005

A Sonnet by a Monkey

The God

The God in a gross reality aerobic practical
Unhinged increasing kinky kinky abysmal
Foul duplex profit Nazi the thief trees macro
Chemise goal ripped retardant seepage omniscient

Insatiable rasp epic doleful twaddle
Arc nondescript molest begin abhorred
Intuitive reports appeal soiled farcical
And nuts chain group rape buffoon the globe blight pissed God

Defective plenty nightmare monster functions
Perusal fuzzy fulsome neon of rasp
A pounce clog effete job a priori bookish
Roulette cowl funneled heavy-lidded a grasp

Embrace joy clipped the choir hindbrain taste hot dubious
Enlightenment ado and grass labor puny

Final Time: 5.32 s
Revisions: 1267

Monday, May 09, 2005

The Magic of Regex

If ever there were a magic spell, this is it:

<\s*(?!a)(?!\/)(?!img)(?!br)[^>]*?>

A wizard's playground:

PCRE Tester

Wednesday, May 04, 2005

Computer Phonetic Alphabet

Looking for a stable, standardized, universally used phonetic alphabet. Some sources:

IPA Transcription in Unicode (University College, London)

IPA in Unicode (wikipedia)

IPA (wikipedia)

English language (wikipedia)

SAMPA (ASCII)

IPA chart

Unicode hex looks like the way to go.