Displaying posts tagged: python
2011-01-24 04:50:25
No Comments
2010-09-23 00:53:59
1 Comment
I had a need to create a directory listing with all the UTF-8 characters intact. This seems quite a chore on Windows, as doing anything via the shell seems to mangle the characters and show ???? instead of the real characters. For example, both the built in dir and Cygwin ls or find seemed affected. This ...
2010-08-31 14:49:33
No Comments
A while ago I wrote a python script that does a similar job to GNU's watch command. You use it like so:
./persec.py [--interval=<n>] <command>
so for example
./persec.py ifconfig
Now in a similar way to watch, it executes the command every second, and highlights the differences between each execution. However, in addition to this it ...
2010-05-11 00:36:05
No Comments
2010-01-10 14:43:34
No Comments
I was using Wireshark to capture an exchange of HTTP packets, however, some of the HTTP responses were using "content-encoding: gzip", which meant I couldn't view them decompressed in the "Follow TCP Stream". Wireshark does decompress them in Packet Details view, but it is hard to follow the full stream like this.
The solution was to ...
