I hereby claim:
- I am zach-taylor on github.
- I am ztaylor (https://keybase.io/ztaylor) on keybase.
- I have a public key whose fingerprint is 88F5 1B8B 34E4 2870 25A5 E14A BAB5 DE6A 6BC3 AA7D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| var updateQueryParam = function(query_param, new_value) { | |
| var re = new RegExp('(' + query_param + '=)[^\\&]*'); | |
| if (re.test(location.href)) { | |
| location.href = location.href.replace(re, '$1' + new_value); | |
| } else { | |
| location.href = location.href + '?' + query_param + '=' + new_value; | |
| } | |
| }; |
| # gem install bitbucket_rest_api | |
| # gem install octokit | |
| require 'bitbucket_rest_api' | |
| require 'octokit' | |
| task :migrate do | |
| bitbucket = BitBucket.new login: '', password: '' | |
| bitbucket_owner = '' | |
| github = Octokit::Client.new login: '', password: '' | |
| github_org = '' |
| # frozen_string_literal: true | |
| require "bundler/inline" | |
| gemfile(true) do | |
| source "https://rubygems.org" | |
| git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
| gem "rails", github: "rails/rails" |