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
ref stackoverflow: | |
https://stackoverflow.com/questions/41283955/github-keeps-saying-this-branch-is-x-commits-ahead-y-commits-behind | |
works by | |
1. git remote add upstream https://github/upstream/repo.git | |
2. git pull --rebase upstream master | |
2.1 git rebase --skip (if the conflicts are not true, skip the patches) | |
3. git push --force-with-lease origin master | |
If there are branches to fix |
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
(function(){ | |
var amounts = document.querySelectorAll('#Posted tbody .amount'); | |
var balance = Number(document.querySelector('#AccountDetailTable .card-accountdetailcol tbody tr td:nth-child(2)').innerText.substr(1).replace(',','')); | |
var iii=0; | |
var amount = ''; | |
var element = null; | |
var elementsArray = []; | |
for(iii=0; iii < amounts.length; iii++) { | |
element = amounts[iii]; |