Blog Archives

Color code VI on OS X

Add colors to VI on OS X by adding the following to your ~/.vimrc

Tagged with: , , ,
Posted in Apple, Code

Feeding NSXMLParser a stream of xml

NSXMLParser is a great parser, but what if you are reading XML from, say a socket. You may not have the complete message right away, and there may be multiple root tags (or you can close and open a socket

Tagged with: , , ,
Posted in Code
Categories