Posts tagged tricks

Dec23

iTerm2 tips & tricks

iterm2 tips tricks productivity | comments

Jumping to the start and end of the line

In case you didn't know, you can jump to the start or end of the line using Ctrl-a or Ctrl-e when you're in the command line.

Map Ctrl-a to Cmd ←

Continue reading »

Dec12

The Array function in Ruby

ruby array tricks chops | comments

I've seen code before that do the following:

collection = [ var ].flatten # where var might or might not be an array

This idiom is better expressed using

Continue reading »