... so far, so good
wondering if there are other Smarty parser in the wild
Sunday, November 13, 2011
Thursday, November 3, 2011
some command line shortcuts
dig for missed dependencies
egrep -r '^\s*(use|with|extends)\s+' * \
| awk '{print $2}' | awk '{sub(/\;/, ""); print}' \
| sort -u
jumpstart a "00-load.t"
egrep -r '^\s*package ' * \
| awk '{ print $2}' \
| awk '{sub(/\;/, ""); print "use_ok(\""$1"\")"}' \
| sort -u
quick syntax checks
for i in `find ./ | egrep '\.(pm|pl|cgi|t)$'`; do perl -wc $i; done
Monday, October 24, 2011
bad tests
bad tests are worse than no tests, and it's better to have no tests than to have tests designed to pass
there it is, I've said it publicly
there it is, I've said it publicly
Wednesday, September 14, 2011
Saturday, August 6, 2011
how to do utf-8 with HTML::Mason
how to do utf-8 with HTML::Mason
4 easy steps to make Mason utf-8 Unicode clean with Apache, mod_perl, and DBI
PerlSetVar MasonPreamble "use utf8;" fixed it for me
yes, I know Mason 2 is live :)
4 easy steps to make Mason utf-8 Unicode clean with Apache, mod_perl, and DBI
PerlSetVar MasonPreamble "use utf8;" fixed it for me
yes, I know Mason 2 is live :)
Friday, July 15, 2011
fuck iso-8859-16
... and the ignorant bastards that cannot distinguish between an aesthetic choice when designing font faces and character encoding.
iso-8859-16 is not for Romanian, and the traditional and correct way to write in Romanian is with s+cedilla, t+cedilla ... which means iso-8859-2. Want ş with a tiny comma below the "s" ? Fucking design a new font face and give the rest of us a break. Rumanians wrote with s+cedilla for 150 years and did not lose sleep over it, but now we have to deal with two fucking character sets that don't translate and which look so much alike on screen that you need fucking glasses to distinguish between them.
Yes, you know who you are.
iso-8859-16 is not for Romanian, and the traditional and correct way to write in Romanian is with s+cedilla, t+cedilla ... which means iso-8859-2. Want ş with a tiny comma below the "s" ? Fucking design a new font face and give the rest of us a break. Rumanians wrote with s+cedilla for 150 years and did not lose sleep over it, but now we have to deal with two fucking character sets that don't translate and which look so much alike on screen that you need fucking glasses to distinguish between them.
Yes, you know who you are.
Subscribe to:
Posts (Atom)