Skip to content

Instantly share code, notes, and snippets.

Pry Cheat Sheet

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 session

Debugger

@churtado
churtado / .tmux.conf
Created March 28, 2020 14:28 — forked from tsl0922/.tmux.conf
vim style tmux config
# vim style tmux config
# use C-a, since it's on the home row and easier to hit than C-b
set-option -g prefix C-a
unbind-key C-a
bind-key C-a send-prefix
set -g base-index 1
# Easy config reload
bind-key R source-file ~/.tmux.conf \; display-message "tmux.conf reloaded."
@churtado
churtado / ubuntu_agnoster_install.md
Created February 23, 2018 20:09 — forked from renshuki/ubuntu_agnoster_install.md
Ubuntu 16.04 + Terminator + Oh My ZSH with Agnoster Theme

Install Terminator (shell)

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

Terminator should be setup as default now. Restart your terminal (shortcut: "Ctrl+Alt+T").

Install ZSH

@churtado
churtado / .block
Created June 13, 2017 21:57 — forked from domoritz/.block
Vega-Lite block example
license: bsd-3-clause
@churtado
churtado / introrx.md
Created May 5, 2017 15:45 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing