All posts by Chris Dolan

When caches go bad

  1. find . -name '*.as' | xargs touch
    

  2. find ~/Library/Application*Support/Macromedia/Flash*MX*2004/en/Conf*/Classes \
        -name '*.aso' | perl -lpe 'unlink $_'
    

if  (timestamp(object file) == timestamp(source file))
    reuse object file
else
    recompile source file
    set timestamp(object file) = timestamp(source file)


Unicode development under Apache

    <meta http-equiv="Content-Type"
              content="text/html; charset=Shift-JIS" />

    Content-Type: text/html; charset=ISO-8859-1

    AddDefaultCharset UTF-8

    <meta http-equiv="Content-Type"
           content="text/html; charset=utf-8" >
    <meta http-equiv="Content-Type" 
           content="application/xhtml+xml; charset=utf-8" />