Web scraping with Ruby

Web scraping is a way to fetch a small piece of content from a page on the web and do something with it. The Nokogiri gem for Ruby makes this easy and the ActionMailer gem makes it easy to email the scraped content to yourself. If you run the program from this post using cron or some other task scheduler, you could be receiving Canon SLR Lens deals right to your inbox!

Read More

Post Tags:

Nginx, Gunicorn and Django

Nginx is becoming more popular all the time as it's ease of configuration and low memory footprint make it a better choice than Apache for many websites. This post discusses the basics of serving a Django application behind nginx using Gunicorn.

Read More

Post Tags:

SSL configuration for nginx

Making your nginx-powered site use SSL can be very simple and in this post I'll describe the basic steps.

Read More

Post Tags:

DataPower Static Routes

IBM DataPower boxes have several ethernet interfaces and can be misconfigured in a variety of ways. Recently I looked into the configuration of network interfaces on these appliances and IBM's documentation is lacking in some essential details. So I thought I would write a post about what I found.

Read More

Post Tags:

Java Ternary Operator

The Java ternary operator is a way of saying a lot while writing a little. It's essentially a shorthand for if-then-else, and there are some clever ways of using it in your programs.

Read More

Post Tags: