Posts by Tag

ruby

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...

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 ...

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...

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...

Back to top ↑

command line

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.

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...

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 ...

Trying out Z Shell

1 minute read

Three things convinced me to give Z Shell a try.

Back to top ↑

gems

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...

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...

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...

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...

Back to top ↑

rails

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...

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...

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...

Back to top ↑

git

Deliberate Git

14 minute read

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

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.

Back to top ↑

programming

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...

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...

Back to top ↑

tools

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.

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 ↑

shell scripting

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?

Back to top ↑

clicky

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 ↑

octopress

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?

Back to top ↑

zsh

Trying out Z Shell

1 minute read

Three things convinced me to give Z Shell a try.

Back to top ↑

coffeescript

Back to top ↑

javascript

Back to top ↑

osx

Back to top ↑

career

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...

Back to top ↑

irb

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 ...

Back to top ↑