This Gist is designed to be the ultimate whetstone for your coding skills.
-
The CSS Zen Garden invites you to relax and meditate on the important lessons of the masters
require 'get_process_mem' | |
require 'curses' | |
initial_map = <<~MAP | |
............................ | |
............................ | |
.....O......O......O......O. | |
......O......O......O......O | |
....OOO....OOO....OOO....OOO | |
............................ |
This Gist is designed to be the ultimate whetstone for your coding skills.
The CSS Zen Garden invites you to relax and meditate on the important lessons of the masters
FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.
Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry sessionDebugger