List, add or delete Wireguard peers. Also show client configuration for already added peers.
wg-peer [add [<desc>]|show <peer>|del <peer> ...|list]
where:
a[dd]add a new peer
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Required Chrome version can be found here: | |
| # https://www.ubuntuupdates.org/package/google_chrome/stable/main/base/google-chrome-stable | |
| CHROME_VERSION="" | |
| wget --no-check-certificate \ |
| <?php | |
| // | |
| // executeRequest | |
| // | |
| // uses cURL to run a http(s) request. | |
| // data, contentType, user, password are all optional | |
| // | |
| function executeRequest($target, $data, $contentType, $user, $password, &$http_status) { | |
| //try to send request to remote |
| scriptencoding utf-8 | |
| let s:calendar_list = [ | |
| \ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'], | |
| \ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'], | |
| \ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'], | |
| \ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'], | |
| \ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'], | |
| \ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'], | |
| \ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'], |