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
    
  
  
    
  | proxy_http_version 1.1; | |
| proxy_cache_bypass $http_upgrade; | |
| # Proxy headers | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "upgrade"; | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header X-Forwarded-Proto $scheme; | 
  
    
      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 | |
| ROOT=$1 | |
| PORT=$2 | |
| DELETE=$3 | |
| free_space () { | |
| FREE_SPACE=$(df $1 | awk '{print $4}' | tail -n 1) | |
| #echo $FREE_SPACE | |
| echo $(($FREE_SPACE/1048576)) | 
  
    
      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 | |
| PWD=$1 | |
| echo "Monitoring $PWD" | |
| cd $PWD | |
| DEST=$2 | |
| PORT=$3 | |
| DELETE=$4 | 
  
    
      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 | |
| PWD=$1 | |
| echo "Monitoring $PWD" | |
| cd $PWD | |
| DEST=$2 | |
| PORT=$3 | 
  
    
      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 | |
| ROOT_DIR=$1 | |
| DRIVE_NUM=$2 | |
| PORT=$3 | |
| printf -v DNAME "%02d" $DRIVE_NUM | |
| cd $ROOT_DIR/$DNAME | |
| echo Listening in $ROOT_DIR/$DNAME | 
  
    
      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
    
  
  
    
  | include: | |
| - template: Auto-DevOps.gitlab-ci.yml | |
| .auto-deploy: | |
| image: registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:v2.7.0 | |
| variables: | |
| AUTO_DEVOPS_FORCE_DEPLOY_V2: 1 | |
| dependencies: [] | |
| .local: &local_template | 
  
    
      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 | |
| # Note: | |
| # I have not actually tested this installing into the | |
| # chia-blockchain `install.sh` venv as I did not use it | |
| # when I installed chia. I have only tested it in a | |
| # test venv. YMMV! | |
| if [ $# -eq 0 ] | |
| then | 
  
    
      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
    
  
  
    
  | #!/usr/bin/env bash | |
| OS_CODE="linux_amd64" | |
| # TODO: check the OS and architecture and make this work across platforms | |
| VERSION="v2.2.0" | |
| # TODO: scrape the GitHub README for the latest version | |
| TARGET=~/bin | |
| # TODO: accept command line options, and prompt if nothing is specified | 
  
    
      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 | |
| if [ -f $(which xcode-select) ]; then | |
| xcode-select --install | |
| fi | |
| if [ -f $(which brew) ]; then | |
| echo "install homebrew first!" | |
| echo '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"' | |
| exit 1 | 
  
    
      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
    
  
  
    
  | export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games | |
| script_dir=/var/root/scripts | |
| pattern=AccessPopup | |
| last_command="NoNe" | |
| if ps ax | grep $0 | grep -v $$ | grep bash | grep -v grep; then | |
| echo "The script is already running." | |
| exit 1 | |
| fi |