$ git clone https://gist.github.com/ryanmjacobs/50a7944e929c1329ad44 xkcd
$ cd xkcd
$ gem install colorize
$ chmod +x xkcd.rb
$ ./xkcd.rb
Some extra info if you're curious:
git clone ... xkcd
grabs these files and puts them in a directory called xkcd.cd xkcd
goes into that directory.gem install ...
installs a Ruby gem. Ruby gems are small libraries and you can find one for pretty much anything.chmod +x xkcd.rb
makes the file xkcd.rb executable. Notice that the file turns green after you do it../xkcd.rb
executes the file. Pretty simple.