Archive for December, 2007
Tuesday, December 18th, 2007
I had an issue getting phpsh to work on my mac - I kept getting the following error:
Traceback (most recent call last):
File "./phpsh", line 20, in
import readline
OK, seems easy enough. So I compiled python with readline support.
./configure --prefix=/usr/local/python --enable-readline
I change the ...
Posted in php, python | No Comments »
Saturday, December 15th, 2007
If you manually call ob_start() at the beginning of your script, you might notice that you are unable to use phpsh. By commenting it out, I was able to fix the issue.
I don't think it technically hangs, it just sits there with the data in a buffer waiting to ...
Posted in php | No Comments »
Sunday, December 2nd, 2007
For a while I had to use a Windows box for my development. Fortunately, I was able to make a good case for my company to switch me to a MacBook Pro.
One of the tools that took me a while to track down was a regex testing ...
Posted in mac, regex | 1 Comment »