git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| BUILDDATE=$(date +"%Y%m%d") | |
| scp -P 2222 out/target/product/primoc/"cm-9-"$BUILDDATE"-UNOFFICIAL-primoc.zip" [email protected]:public_html/primoc/CM9/nightlies/"cm-9-"$BUILDDATE"-UNOFFICIAL-primoc.zip" | |
| exit |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| // copy current children except a certain child while keeping all refs - a pain in the ass. | |
| let i = oldParent.childNodes.length - 1 | |
| for (; i >= 0; i -= 1) { | |
| const c = oldParent.childNodes[i] | |
| // whatever, your condition here | |
| if (c.nodeName.toLowerCase() !== "slot") { | |
| newParent.appendChild(c) |
I owe my very rapid learning journey in the world of ConfigFs to several key sources which aren't necessarily relevant to this result, but I feel deserve a mention anyway.