This file contains hidden or 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
    
  
  
    
  | #!/bin/env sh | |
| url='git@github.com:nerd190/dots.git' | |
| if [[ ! -d $HOME/dots ]]; then | |
| if git clone $url $TMPDIR/dots --separate-git-dir=~/dots >/dev/null 2>&1; then | |
| if rsync --recursive --verbose --exclude '.git' $TMPDIR/dots $HOME/; then | |
| printf 'SUCCESS' | |
| else | |
| printf 'ERROR' | 
  
    
      This file contains hidden or 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
    
  
  
    
  | javascript:(async () => { /* while on the forks page, collect all the hrefs and pop off the first one (original repo) */ const aTags = [...document.querySelectorAll('div.repo a:last-of-type')].slice(1); for (const aTag of aTags) { /* fetch the forked repo as html, search for the "This branch is [n commits ahead,] [m commits behind]", print it directly onto the web page */ await fetch(aTag.href) .then(x => x.text()) .then(html => aTag.outerHTML += `${html.match(/This branch is.*/).pop().replace('This branch is', '').replace(/([0-9]+ commits? ahead)/, '<font color="#0c0">$1</font>').replace(/([0-9]+ commits? behind)/, '<font color="red">$1</font>')}` + " <a " + `${html.match(/href="[^"]*\.zip">/).pop() + "Download ZIP</a>"}`) .catch(console.error); } })(); | 
  
    
      This file contains hidden or 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
    
  
  
    
  | private gpg signing key > github | |
| public gpg authorisation key > ssh and github? | |
| break into individual? |