- Change 
www-datahome dir to something like/var/lib/www-data - Generate ssh key pair and place in 
/var/lib/www-data/.ssh/id_rsa - Add ssh key to GH account
 - Configure git username and email
 - Set permissions on blog dir to allow 
www-datato write - Set git remote url to use ssh protocol
 
  
    
      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
    
  
  
    
  | import yaml | |
| from colormath.color_objects import sRGBColor, LabColor | |
| from colormath.color_conversions import convert_color | |
| from colormath.color_diff import delta_e_cie2000 | |
| import numpy | |
| def patch_asscalar(a): | |
| return a.item() | |
| setattr(numpy, "asscalar", patch_asscalar) | 
  
    
      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/sh | |
| mount -o remount,rw / | |
| curl -fsSL https://tailscale.com/install.sh | sh | |
| mkdir -p /etc/systemd/system/tailscaled.service.d | |
| mkdir -p /data/tailscale | |
| cat <<EOF >/etc/systemd/system/tailscaled.service.d/override.conf | 
  
    
      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/sh | |
| while :; do | |
| echo "Proxy run" | |
| ssh -NT -o ServerAliveInterval=30 -o ServerAliveCountMax=3 -o ExitOnForwardFailure=yes -i $SSH_KEY -R 1234:localhost:22 USER@REMOTE | |
| echo "End loop backoff (30s)" | |
| sleep 30 | |
| done | 
  
    
      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/bash | |
| function findInArray() { | |
| local n=$# | |
| local value=${!n} | |
| for ((i=1;i < $#;i++)) { | |
| if [[ ${!i} == ${value} ]]; then # was == ${value}:* | |
| echo "${!i}" | |
| return 0 | |
| fi | 
  
    
      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
    
  
  
    
  | // Disable bold. | |
| term_.prefs_.set('enable-bold', false) | |
| // Solarized Dark | |
| term_.prefs_.set('background-color', "#002b36"); | |
| term_.prefs_.set('foreground-color', "#839496"); | |
| term_.prefs_.set('cursor-color', "rgba(147, 161, 161, 0.5)"); | |
| // Solarized Light | |
| //term_.prefs_.set('background-color', "#fdf6e3"); | 
  
    
      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
    
  
  
    
  | .terminal { | |
| background-color: #300A24 !important; | |
| border: #300A24 solid 5px; | |
| } | 
  
    
      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
    
  
  
    
  | " set noautofocus | |
| let searchalias g = "google" | |
| let blacklists = ["https://mail.google.com/*","*://mail.google.com/*","@https://mail.google.com/mail/*","https://koding.com/*"] | |
| let mapleader = "," |