Posts by Year

2018

Back to top ↑

2017

exa: a modern replacement for ls

less than 1 minute read

Are you still using ls to view your files and directories? So was I! Until yesterday when I learned about a wonderful new command line tool, exa.

Back to top ↑

2016

Let’s write a shell script

5 minute read

Now that you have a $PATH let’s start using it! Today we’ll write a simple shell script in your personal bin directory.

What’s a $PATH anyway?

2 minute read

You’ve seen me mention the $PATH or just PATH before as the place you need to add new commands for your prompt. What is that? Where is it? How does it work?

Slides from Abstractions are now online

less than 1 minute read

Hello again! The slides from the talk I gave at Abstractions are now online! I’ve posted them up on Speaker Deck: Power Up Your Prompt!. I hope you find them...

Back to top ↑

2013

Let’s Use Hwacha to Scan URLs

2 minute read

I’ve written a gem, Hwacha, as a wrapper around Typhoeus to allow for quick and easy response checking for multiple URLs. Let’s go through some simple use ca...

Deliberate Git

14 minute read

Hello Internet! Here’s my talk “Deliberate Git” in blog post form.

Customize Your IRB

4 minute read

You probably spend a lot of time in IRB (or the Rails console) but have you taken the time to customize it? Today we’ll take a look at the things I’ve added ...

Program Like a Videogamer

5 minute read

I see a lot of you out there worried about the next step in your programming career. Or even worried about the next step when learning a new framework or lan...

Gem Spotlight: Interactive_editor

3 minute read

Today we’ll take a quick look at one of my favorite gems: interactive_editor. Have you ever been in a REPL session (rails console, irb, pry, etc.) and wished...

Back to top ↑

2012

Subscribing to RubyTapas Using Downcast

1 minute read

Avdi’s Ruby Tapas are a fantastic resource for learning pieces of Ruby. Now that he and DPD have enabled iTunes-compatible RSS feeds of the videos it’s easie...

Things Most Interviewees Fail to Discover

2 minute read

It’s a great time to be a Rails developer. Companies left and right are turning to Rails or using it already for efficient web development. If you know Rails...

10 Things I Love About Git

7 minute read

Not everyone loves git. It’s true! But I do, and here are some reasons why.

New Post Coming Soon

less than 1 minute read

Sorry that Rake Routes has been silent these past weeks. All at once I’ve been busy with a couple of other projects:

Rails isn’t for beginners

3 minute read

There’s been some talk online about how Rails is losing its focus on beginners or that it’s getting too complex for its own good. I have a different take: Ra...

Solve online Ruby puzzles with Rubeque

less than 1 minute read

Ruby programmers no longer need to be envious of CodingBat providing quick, fun, online programming puzzles for Python and Java programmers! The SciMed guys ...

How to use bundler instead of rvm gemsets

6 minute read

Listening to the latest Ruby Rogues I was intrigued to hear André Arko describe how using bundler can completely obviate using rvm gemsets. He said that proj...

RVM workflow for a new Rails app

less than 1 minute read

You want to start a new Rails app. But you also want to start a new RVM gemset for the app so you can start with the latest Rails and gems. In this code snip...

Learning Ruby, Rails, and Programming

4 minute read

Programming. You can always do it better. There’s always someone on the horizon that you’re aspiring towards. It’s the best thing about this career: to learn...

A Taste of Metaprogramming

4 minute read

Today we take a small taste from the wide ranging metaprogramming abilities that Ruby gives us. We’ll be looking at define_method and method_missing to take ...

Fun with Rock, Paper, Scissors

9 minute read

James Edward Gray II’s Ruby Quiz #16 was to implement Rock, Paper, Scissors playing classes to compete on a playing field managed by a given Game class. Toda...

Let’s Write a Gem: Part 1

5 minute read

Gems. Gotta love em. If you’re a Ruby developer then you already know that gems are simply fundamental to Ruby programming. Let’s write one. Right now. And n...

Increase Rails Performance with Database Indexes

3 minute read

Ever added a ‘belongs_to’ or ‘has_many’ to a model in Rails? Did you remember to add the database index? Find out why you should and how it’s done in this gu...

Trying out Z Shell

1 minute read

Three things convinced me to give Z Shell a try.

Deploying Octopress

2 minute read

The easiest way to deploy Octopress out of the box is, by far, rsync. Why do I think it’s easier than github pages or heroku?

Add Clicky Web Analytics to Octopress

less than 1 minute read

Octopress is fantastic out of the box. But everyone knows we programmers are always wanting more. Luckily, the fantasticalness of Octopress includes easy add...

Back to top ↑