When you are knee deep in Ruby and dealing with objects that you never created it's sometimes a little daunting to trace everything back and figure it all out. Luckly there are a couple techniques in Ruby that can aid you. In particular,
pry is an extreamly powerful tool that you should have in your toolbox.
In a large long-lived git repository there is a lot of history behind the current state of things.
git blame lets you scratch the surface, while
git log lets you dig deeper. The use of
git evolution provides a succient and yet comprhensive approach to understanding the evolution of a range of lines within a git repository.
As a developer its not uncommon to juggle multiple servers that interact with each other during development. Ensuring that each server has the correct port set while working off of
localhost is a cumbersome and error prone issue.
port_map is a ruby utility that provides a simple and almost automatic solution to this problem.
Developers who use the terminal on a daily basis have a wealth of knowledge stored in their shell's history. It is not uncommon to need a lengthy command you used a while back. Thankfully shells provide a built in history and the functionality to reverse search through it via
As developers we are constantly learning tips, tricks and new ways to accomplish our work. We continue to accumulate these tips daily, but at the same time we potentially forget the less used but relevant ones. A system is presented that ensures that these tips are remembered.