Skip to content

Instantly share code, notes, and snippets.

View lebeerman's full-sized avatar

dan beerman lebeerman

View GitHub Profile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 2, 2024 13:33
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@lfender6445
lfender6445 / gist:9919357
Last active June 23, 2024 09:14
Pry Cheat Sheet

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

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.


Effective Engineer - Notes

What's an Effective Engineer?

@DjjimmyHD
DjjimmyHD / codeWhetstone.md
Last active January 3, 2019 04:04
The Ultimate Skills Sharpening Gist

The Ultimate Skills Sharpening Gist

This Gist is designed to be the ultimate whetstone for your coding skills.

CSS All The Things

  • CSS Zen Garden

    The CSS Zen Garden invites you to relax and meditate on the important lessons of the masters

@amcaplan
amcaplan / life_world_wrap_gliders.rb
Created November 18, 2020 12:54
RubyConf 2020 demo code: Conway's Game of Life with and without caching intermediates
require 'get_process_mem'
require 'curses'
initial_map = <<~MAP
............................
............................
.....O......O......O......O.
......O......O......O......O
....OOO....OOO....OOO....OOO
............................