Category Archives: Tips

Setting up a Dynalink RTA1335 in half-bridge mode

Ben has a great tutorial on setting up a Dynalink RTA1320 or RTA1335 in half bridge mode so that you can have a world routable IP on a separate router (ie, a Linksys WRT54G). I have pretty much the same … Continue reading

Posted in Hardware, Tips | Tagged , , | Leave a comment

Major DNS vulnerability discovered

Dan Kaminsky recently discovered a vulnerability in the DNS protocol that could lead to DNS cache poisoning attacks. When a DNS lookup is made, the DNS server returns a random query id between 1 and 65,000. What Dan found is … Continue reading

Posted in Tips | Tagged , , | Leave a comment

Using mod_deflate to save bandwidth and traffic charges

If you’re running a web server using Apache 2.x and Ubuntu or Debian, you can save a lot of bandwidth by turning on mod_deflate. So just how does it work and how much data can you actually save? To use … Continue reading

Posted in Tips, Web Serving | Tagged , , | Leave a comment

Why query optimisation is important

I was modifying one of my queries for Electorate Finder this morning and came across a good example of why query optimisation and query design is important, especially on large datasets. I had a query like the following: SELECT name, … Continue reading

Posted in GIS, PostgreSQL, Tips | Tagged , | 2 Comments

Getting Subversion to ignore .pyc files

I’ve been playing around with Django for the last couple of days for a project that I’ve had in mind for a little while. So far its been going quite well and I thought I had better import the project … Continue reading

Posted in Django, Tips | Tagged , | Leave a comment

Debugging Exim with a fake SMTP session

When you’re modifying your Exim configuration, for example setting up spam filtering, virus scanning or DNS blacklisting, it’s common practice to connect to Exim over telnet to see whether your new configuration works as expected. While this works well, you … Continue reading

Posted in Mail, Tips | Tagged | Leave a comment

Choosing a good DNS blacklist

SANS has a good article on choosing a DNS blacklist. It’s very important that you pick your blacklists carefully. I’ve seen some business Exchange servers hosted on DSL lines that use some fairly restrictive DNS blacklists with the result being … Continue reading

Posted in Mail, Tips | Leave a comment

Multiple identities in Apple Mail.app

After trying to figure out how to set up multiple identities using only one account in Apple Mail.app and failing, I found this tip that explains how to do it.

Posted in Mail, Tips | Leave a comment

Neat charts for web applications

I’ve been writing a web application recently and wanted to add some graphs to represent my data. I started by using PEAR::Image_Graph but wasn’t happy with the look of the graph. Then I came across amCharts. They are really spiffy … Continue reading

Posted in Tips, Web Serving | Leave a comment

Removing red-eye with The GIMP

I just came across a tutorial about how to remove red-eye from photos using The GIMP. I tried it on a photo that I had and it worked very well!

Posted in Tips | Leave a comment