Skip to content

Instantly share code, notes, and snippets.

@ethanp
ethanp / last_page.rb
Created August 13, 2015 22:46
Find the last page of commits to master for a given github repository
#!/usr/bin/env ruby
user, repo = ARGV
if `which curl`.length == 0
puts "please install curl"
exit 1
end
repo_loc = "https://github.com/#{user}/#{repo}"