Monthly Archives: June 2009

A better Ruby prompt

The Interactive Ruby Shell, or irb, is indispensable for trying out Ruby code rapidly, seeing what works and what’s elegant. But the defaults aren’t quite optimal. Tab completion It lacks tab completion by default. Having this available can save you … Continue reading

Posted in Ruby | Tagged , , , | 3 Comments

Useful grep incantations

grep is one of the core utilities on nearly every *nix-based system. If you’ve been using Linux for more than the most casual activities, you’ve probably used it. While its basic use is quite simple, there are a few additional … Continue reading

Posted in CLI | Tagged , | 3 Comments

Watching a fork bomb explode

Fork bombs are simple pieces of programming logic that can bring down the mightiest of servers in seconds (in fact, the faster the server, the faster it goes down). They are quite easy to protect against, but some operating systems … Continue reading

Posted in Security | Tagged , , , | Leave a comment