Skip to content

Instantly share code, notes, and snippets.

View jsteinberg's full-sized avatar

Jeremy Steinberg jsteinberg

View GitHub Profile
@jsteinberg
jsteinberg / update_git_repos.sh
Created February 24, 2016 18:05 — forked from hcnguyen5/update_git_repos.sh
A shell script to update all git repositories in a folder
#!/bin/bash
# Let the person running the script know what's going on.
echo "\nPulling in latest changes for all repositories...\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" -maxdepth 2 | cut -c 3-); do
echo "";
echo $i;

Keybase proof

I hereby claim:

  • I am jsteinberg on github.
  • I am jeremysteinberg4 (https://keybase.io/jeremysteinberg4) on keybase.
  • I have a public key whose fingerprint is BE39 E546 1636 A1DB 83F9 8350 46D0 7E4E 93DA B600

To claim this, I am signing this object:

@jsteinberg
jsteinberg / numericality_validation_bug.rb
Last active October 12, 2015 22:09
Potential validation bug in validates numericality
begin
require 'bundler/inline'
rescue LoadError => e
$stderr.puts 'Bundler version 1.10 or later is required. Please update your Bundler'
raise e
end
gemfile(true) do
source 'https://rubygems.org'
# Activate the gem you are reporting the issue against.