These instructions have moved to https://github.com/emporia-vue-local/esphome
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
| #Window title | |
| $host.ui.RawUI.WindowTitle = "Cloudflared auto update" | |
| #Run as admin for start/stop service | |
| #Dependencies | |
| #PowerShellForGitHub module | |
| #BurntToast module | |
| ############################### |
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 | |
| helpText=" | |
| # Usage:\n | |
| #\n | |
| # ./monitor_albums.sh -k 'apiKey' -b 'http://host:port' -t [Single|EP|Album] [-m|u|A|h][-n 'artist name'][-i artistId]\n | |
| #\n | |
| # Required Options:\n | |
| # -k Your Lidarr API Key (defaults to \$apiKey env variable)\n | |
| # -b Your Lidarr instance URL (defaults to \$baseUrl env variable)\n |
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
| ### Quick and dirty command set to set basic security header on IIS | |
| ## Please adjust the values according to your requirements | |
| Add-WebConfigurationProperty //system.webServer/httpProtocol/customHeaders "IIS:\sites\" -AtIndex 0 -Name collection -Value @{name='Cache-Control';value='max-age=31536000'} | |
| Write-Host 'Cache-Control header is set.' #Please adjust as required | |
| Add-WebConfigurationProperty //system.webServer/httpProtocol/customHeaders "IIS:\sites\" -AtIndex 0 -Name collection -Value @{name='Permissions-Policy';value='fullscreen=(), geolocation=()'} | |
| Write-Host 'Permissions-Policy header is set.' #Please adjust as required | |
| Add-WebConfigurationProperty //system.webServer/httpProtocol/customHeaders "IIS:\sites\" -AtIndex 0 -Name collection -Value @{name='Referrer-Policy';value='strict-origin-when-cross-origin'} | |
| Write-Host 'Referrer-Policy header is set.' #Please adjust as required | |
| Add-WebConfigurationProperty //system.webServer/httpProtocol/customHeaders "IIS:\sites\" -AtIndex 0 -Name collection -Value @{na |
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
| #compdef chunkc | |
| # Note for plugin authors: | |
| # You can make your own zsh completions, and include these by calling `_chunkc' | |
| # in the top-level function of the new completions and defining your subcommand | |
| # with syntax: _chunkc_<plugin>_<subcmd> like so: | |
| # Fake chunkc plugin | |
| # | |
| # function _chunkc_plugin_set { return } |