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 | |
| _APISERVER=127.0.0.1:10085 | |
| _V2CTL=/usr/bin/v2ray/v2ctl | |
| apidata () { | |
| local ARGS= | |
| if [[ $1 == "reset" ]]; then | |
| ARGS="reset: true" | |
| fi |
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 python | |
| import sys | |
| import pandas as pd | |
| df = pd.read_csv(sys.argv[1]) | |
| last = '' | |
| for row in df[df['Vpc名称'].notna()][df['主IPv4公网IP'].notna()].sort_values(by=['Vpc名称']).iterrows(): | |
| if last != row[1]['Vpc名称']: |
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
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: filebeat-config | |
| namespace: kube-system | |
| labels: | |
| k8s-app: filebeat | |
| data: | |
| filebeat.yml: |- |
OlderNewer