Skip to content

Instantly share code, notes, and snippets.

View davetorbeck's full-sized avatar
🔨
Building

David Torbeck davetorbeck

🔨
Building
View GitHub Profile
@davetorbeck
davetorbeck / pre-commit
Created October 19, 2017 20:53 — forked from Lycisca/pre-commit
Git pre-commit hook to detect some words like binding.pry, debugger...
#!/bin/sh
# Redirect output to stderr.
exec 1>&2
# enable user input
exec < /dev/tty
consoleregexp='console.log|debugger|binding.pry'
# CHECK
if test $(git diff --cached | grep -E $consoleregexp | wc -l) != 0
then
@davetorbeck
davetorbeck / technical_books_to_read.md
Last active October 17, 2017 21:56
List of technical books I have read/am reading/will read.
  • The Pragamatic Programmer
  • The Passionate Programmer
  • Programming Elixir
  • Grokking Algorithms
  • The Art of Readable Code
  • Practical Object-Oriented Design in Ruby
  • Rails 4 Test Prescriptions
  • Ruby Performance Optimization
  • Eloquent Ruby
  • Design Patterns in Ruby
@davetorbeck
davetorbeck / bash-up-arrow.ps1
Created April 15, 2017 07:18
command to open bash on windows that allows for up arrow naviagation
C:\windows\system32\bash.exe -l -i -cur_console:p1 -new_console:p:n