This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# all the branches: https://github.com/bokobza/StratisBitcoinFullNode/network/members | |
$stratis="https://github.com/stratisproject/StratisBitcoinFullNode.git","stratis" | |
$aleksei="https://github.com/kogot/StratisBitcoinFullNode.git","aleksei" | |
$andy="https://github.com/majikandy/StratisBitcoinFullNode.git","andy" | |
$apro="https://github.com/Aprogiena/StratisBitcoinFullNode.git","aprogiena" | |
$carlton="https://github.com/carlton355/StratisBitcoinFullNode.git","carlton" | |
$danger="https://github.com/dangershony/StratisBitcoinFullNode.git","danger" | |
$dangould="https://github.com/dangould/StratisBitcoinFullNode.git","dangould" | |
$devotion="https://github.com/dev0tion/StratisBitcoinFullNode.git","devotion" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Repo = "https://github.com/stratisproject/StratisBitcoinFullNode.git" | |
$Configuration = "release" # or "debug" | |
$Folder_name = "StratisBitcoinFullNode3" # can be any name that you want, this will create a folder and put the code in it | |
$Network = "stratis" # replace with "bitcoin" for bitcoin | |
Write-Host "Cloning the repo..." -foregroundcolor "magenta" | |
git clone $Repo $Folder_name | |
cd $Folder_name | |
Write-Host "Getting submodule dependencies..." -foregroundcolor "magenta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This script will update a submodule imported in a repo to its latest commit and push the updated repo to a new branch. | |
# Following that, you should be able to create a pull request and merge into your main branch. | |
# start configurable variables | |
$upstream_repo = "https://github.com/stratisproject/Breeze.git" # the repo containing the submodule | |
$branch = "master" # the branch to clone | |
$submodule_name = "StratisBitcoinFullNode" # the name of the repo that is imported as a submodule | |
$temp_branch_name = "submodule-update" # the name of the new branch that will be created (can leave it as is) | |
$temp_folder = 'submodule-update-temp-branch' # the folder where the work will be done (can leave it as is) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ================================================================ | |
This code expands the files in pull requests on GitHub so that | |
the comparison can be made on the entire files and not just on the | |
lines of code that has changed. | |
Open developer tools in your browser and paste the following code. | |
This snippet look for diff expanders and clicks on them. | |
It takes a few seconds to run. Enjoy! | |
=================================================================== */ | |
a = setInterval(function () { | |
var items = document.getElementsByClassName("diff-expander"); |