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
# ref: https://wangfanggang.com/AWS/aws-cli-renew-ip/ | |
FilterStr="Name=tag-key,Values=ec2" | |
# get ec2 instance id by tag | |
InstanceId=$(aws ec2 describe-instances --filters $FilterStr --query "Reservations[*].Instances[*].[InstanceId]" --output text) | |
OldPublicIpAddress=$(aws ec2 describe-instances --filters $FilterStr --query "Reservations[*].Instances[*].[PublicIpAddress]" --output text) | |
# generate an elastic ip address | |
NewPublicIpAddress=$(aws ec2 allocate-address --domain vpc --query "PublicIp" --output text) |
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
getCode() { | |
this.isLoading = true | |
this.isDisable = true | |
let time = 10; | |
this.getCodeButtonValue = time + '秒后重试' | |
let task = setInterval(() => { | |
time--; | |
this.getCodeButtonValue = time + '秒后重试' | |
console.log("task - " + time) | |
}, 1000) |
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
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='461' viewBox='0 0 1440 461'%3E %3Cdefs%3E %3ClinearGradient id='a' x1='47.52%25' x2='105.613%25' y1='46.504%25' y2='40.293%25'%3E %3Cstop offset='0%25' stop-color='%23945DFF'/%3E %3Cstop offset='44.95%25' stop-color='%23C34CBB'/%3E %3Cstop offset='78.7%25' stop-color='%23E1418E'/%3E %3Cstop offset='95.7%25' stop-color='%23ED3D7D'/%3E %3C/linearGradient%3E %3ClinearGradient id='b' x1='103.217%25' x2='-128.059%25' y1='44.009%25' y2='67.169%25'%3E %3Cstop offset='0%25' stop-color='%23FCEE39'/%3E %3Cstop offset='100%25' stop-color='%23F37B3D'/%3E %3C/linearGradient%3E %3ClinearGradient id='c' x1='-48.456%25' x2='83.191%25' y1='84.04%25' y2='39.31%25'%3E %3Cstop offset='0%25' stop-color='%23FCEE39'/%3E %3Cstop offset='100%25' stop-color='%23F37B3D'/%3E %3C/linearGradient%3E %3ClinearGradient id='d' x1='0%25' y1='50%25' y2='50%25'%3E %3Cstop offset='0%25' stop-color='%23EF5A6B'/%3E %3Cstop offset='36.4%25' stop- |
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 | |
# This file is accessible as https://install.direct/go.sh | |
# Original source is located at github.com/v2ray/v2ray-core/release/install-release.sh | |
# If not specify, default meaning of return value: | |
# 0: Success | |
# 1: System error | |
# 2: Application error | |
# 3: Network error |
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
跃然纸上 |
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
https://raw.staticdn.net/ |
NewerOlder