Winding down on my RAC job... about to break out the tequila bottle and
call it a night. It wasn't all that hard, but I was trying to make it a
learning experience, so I went through a lot of hair-pulling getting
to do stuff I would previously have relegated to Perl.
if (myform.email.value == "firstname.lastname@example.org") myform.debug.value = true;
<INPUT TYPE="hidden" NAME="debug" VALUE="">
I'm trying to get my sedit sound editor script working again; invoking it gave me a strange error:
: bad interpreter: No such file or directory/python
That looked vaguely familiar. Futzing around with strace didn't help at all;
invoking it with "python sedit.py" avoided the problem... aha! I wrote this
when I was still running Cygwin; I bet it has embedded CRs...
xxd sedit.py... sure enough! A quick
perl -pi -e 's/\r//' sedit.py later and now I'm on to the real
Back to blog or home page
last updated 2013-01-10 20:32:08. served from tektonic