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
    
  
  
    
  | /** | |
| * @author ebidel@ (Eric Bidelman) | |
| * License Apache-2.0 | |
| */ | |
| // Prints the bytes cached by service worker. Breaks out each cache | |
| // overall in-memory bytes used by the Cache Storage API for the site. | |
| async function getCacheStoragesAssetTotalSize() { | |
| // Note: opaque (i.e. cross-domain, without CORS) responses in the cache will return a size of 0. | 
  
    
      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 | |
| ## | |
| # Pure BASH interactive CLI/TUI menu (single and multi-select/checkboxes) | |
| # | |
| # Author: Markus Geiger <[email protected]> | |
| # Last revised 2019-09-11 | |
| # | |
| # ATTENTION! TO BE REFACTORED! FIRST DRAFT! | |
| # | 
  
    
      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 | |
| set -e | |
| # Extract hostname and port from DATABASE_URL | |
| DB_HOST=$(echo $DATABASE_URL | sed -n 's/^.*[^@]*@\([^:]*\):[0-9]*.*$/\1/p') | |
| DB_PORT=$(echo $DATABASE_URL | sed -n 's/^.*[^@]*@[^\:]*:\([0-9]*\).*$/\1/p') | |
| # Wait for the database to be ready before starting the application | |
| until nc -z -v -w30 $DB_HOST $DB_PORT; do | 
OlderNewer