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
| // (1) function to get KV variables | |
| const _ENV = () => [replace-with-namespace-name].get('_ENV'); | |
| let ENV={}; | |
| // (2) listen for a request | |
| addEventListener('fetch', event => { | |
| event.respondWith(handleRequest(event.request)) | |
| }) | |
| // (3) function to log to LOGDNA |
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.integrated.profiles.windows": { | |
| "PowerShell": { | |
| "source": "PowerShell", | |
| "icon": "terminal-powershell" | |
| }, | |
| "Command Prompt": { | |
| "path": [ | |
| "${env:windir}\\Sysnative\\cmd.exe", | |
| "${env:windir}\\System32\\cmd.exe" |
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/bash | |
| # CWP - Custom backup script | |
| # Modified for external Amazon S3 buckets | |
| # based on a backup script by ejsolutions/Teo/cynique | |
| # | |
| # Set the following 3 items to suit | |
| tmp_dir=/home/backups_tmp/ | |
| s3_bucket=YOUR-BUCKET-NAME-HERE | |
| retention=1 | |
| # ------------------- |
OlderNewer
