Today I discovered a nifty way to do socket programming in bash without the need for netcat (nc) or telnet: /dev/tcp. Say you want to connect to Google and fetch their front page. Just do this: exec 3/dev/tcp/www.google.com/80 echo -e “GET / HTTP/1.1\n\n” >&3 cat
I’ve seen some confusion online lately about the purpose of the “@” operator in PHP. Let’s figure out exactly what the “at operator” does. PHP holds your hand with error reporting during development by printing error messages to the user’s browser automatically when something goes wrong. This often looks something like this: Warning: mysql_connect() [function.mysql-connect]: […]
SpeedScheduler, a little Azureus plugin that I wrote a while back, was featured in an article that made Digg’s front page: Top Azureus Plugins Revealed. Scroll to the bottom of the article for a few screenshots and a little write up. That’s pretty nifty.