sequenceDiagram
participant User
participant ApiServer
participant Etcd
participant ControllerManager
participant ReplicaSetController
participant Scheduler
participant Kubelet
participant Docker
This file contains 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
# Shadowrocket: 2020-12-13 10:10:56 | |
[General] | |
bypass-system = true | |
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, e.crashlytics.com, captive.apple.com | |
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32 | |
#dns-server = 119.29.29.29,114.114.114.114,223.5.5.5,8.8.8.8 | |
ipv6 = false | |
[Rule] | |
DOMAIN-SUFFIX,rfi.fr,PROXY |
This file contains 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 | |
# generate-script.sh | |
# Based on an idea by Albert Reiner. | |
OUTFILE=generated.sh # Name of the file to generate. | |
# ----------------------------------------------------------- | |
# 'Here document containing the body of the generated script. | |
( |
This file contains 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
name: mkdoc-release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 |
This file contains 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
@echo off | |
pushd "%~dp0" | |
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt | |
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt |
This file contains 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
222.211.64.122 se.itunes.apple.com | |
222.211.64.122 su.itunes.apple.com | |
222.211.64.122 upp.itunes.apple.com | |
222.211.64.122 play.itunes.apple.com | |
222.211.64.122 client-api.itunes.apple.com | |
# API-2-ChinaCache [ChinaNet] (Avg RTT: 15.339ms) | |
125.65.247.14 itunes.apple.com | |
125.65.247.14 init.itunes.apple.com | |
# API-HK-Akamai-1 [HongKong0] (Avg RTT: 52.706ms) | |
184.87.97.50 search.itunes.apple.com |
This file contains 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
JKS=mykeystore | |
JKS_PASS=changeit | |
JKS_ALIAS=tomcat | |
OUTPASS=$(cat /dev/urandom |env LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 8 |head -n1) | |
PK12_KEY=mykeystore.pk12 | |
PEM=server.pem | |
KEY=server.key | |
keytool -importkeystore -srckeystore $JKS -destkeystore $PK12_KEY -srcstoretype JKS -deststoretype PKCS12 -srcstorepass $JKS_PASS -deststorepass $OUTPASS -srcalias $JKS_ALIAS -destalias $JKS_ALIAS -srckeypass $JKS_PASS -destkeypass $OUTPASS -noprompt |
This file contains 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 | |
# encoding:utf8 | |
__Author__ = 'zhaoweiguo<wgzhao@gmail.com>' | |
''' | |
create zabbix screen,specified graph name,rows x cols | |
script will get all hosts whose include graph name ,then write screens and screens_items table | |
Usage: $0 -s <screen name> -g <graph name> [ -c <cols> ] [-d ] [ -t ] | |
''' | |
from optparse import OptionParser |
This file contains 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
from bs4 import BeautifulSoup as bs | |
import pandas as pd | |
import numpy as np | |
import requests | |
from urllib.parse import quote | |
""" | |
从北京新发地(xinfadi.com.cn) 获取每个类目中有典型代表的商品(SKU)的2018年历史价格,然后验证是否出于上涨趋势 | |
""" | |
# 索引与品类的映射关系 |
NewerOlder