Move Night And Bacon: A Mechanize Tutorial With Examples

We've talked about scraping or parsing data from a single page using Nokogiri, but what about those situations where the data is not directly accessible? For example, times where you need to perform or search or login first. Essentially any time you need to have interaction, not just parsing you...

Screen Scraping With A Saw: A Nokogiri Tutorial With Examples

Chances are you know a bit about screen scraping and already have an opinion on it, but if you don't here is a quick summary: Here is what you need to know about screen scraping. Screen scraping is taking something you can see on your computer, typically in a browser,...

Using and Installing RubyGems

You may be familiar with software packages from other programming languages like CPAN modules, or Python packages, or Pear for PHP. Ruby has its own version, known as Gems. A Ruby Gem may have a library or another command inside of it. Every gem has: A name A version A...

Getting Started With RVM: Features To Use and Pitfalls To Avoid

There is a lot of old, outdated, and just plain wrong information floating around about RVM (this is the internet after all), so after some requests from you guys, I bring you an overview of RVM: How to get started correctly, what you need to know, and how to use...

Generating Secure Passwords With Ruby, Atmospheric Noise, and Comics

Generating passwords that you can remember, but that are still secure is almost an everyday battle for most sysadmins. The problem is that the common way of generating passwords (i.e. i3VVH4w32X) may not really be very secure, as explained in this XKCD comic: There are a few XKCD style password...