Skip to content

Instantly share code, notes, and snippets.

@queuebit
queuebit / pre-commit
Last active August 29, 2015 14:03 — forked from mileszs/pre-commit
Git pre-commit hook for prompting to remove binding.pry and debugger lines lines. (Includes a commented example of adding a check for focus in spec files.)
#!/usr/bin/env ruby
hits = []
checks = {
#'_spec\.rb$' => ['focus:[:space:]*true'],
'\.(rb|erb|haml)$' => ['binding\.pry', 'debugger'],
'\.(js|coffee)$' => ['debugger']
}
# Find the names of all the filenames that have been (A)dded (C)opied or (M)odified
javascript:(function(){var p=document.createElement("p");p.innerHTML="<strong>Loading&hellip;</strong>";p.id="loadingp";p.style.padding="20px";p.style.background="#fff";p.style.left="20px";p.style.top=0;p.style.position="fixed";p.style.zIndex="9999999";p.style.opacity=".85";document.body.appendChild(p);document.body.appendChild(document.createElement("script")).src="https://gist.github.com/queuebit/6118987/raw/SelectBullseye.js?x="+(Math.random());})();
@queuebit
queuebit / please_rate_the_show_in_iTunes.md
Last active December 20, 2015 07:29
Please rate the show in iTunes...

Please Rate The Show in iTunes

I am a huge podcast fan, and one of the things that podcasters always say would help them out the most is to rate the show in iTunes. So that is what I am going to do with some of my favorite shows over the next few weeks.

I will update this gist with each review and a link to the podcast. If you find this and write a review as well, feel free to comment below this gist.

Link to all of my reviews - link opens in iTunes

Geek Friday artwork