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 | |
curl -fsSL https://get.docker.com | bash -s docker | |
docker run -d \ | |
--name=qbittorrent \ | |
-e PUID=1000 \ | |
-e PGID=1000 \ | |
-e TZ=Asia/Shanghai \ | |
-e WEBUI_PORT=8080 \ |
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
import datetime | |
import json | |
import urllib.parse | |
import feedparser | |
import pymongo | |
import requests | |
client = pymongo.MongoClient("mongodb+srv://xxxx:[email protected]/default") | |
mongodb = client.torrent |
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 | |
## License: GPL | |
## It can reinstall Debian, Ubuntu, CentOS system with network. | |
## Default root password: MoeClub.org | |
## Blog: https://moeclub.org | |
## Written By MoeClub.org | |
export tmpVER='' |
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 | |
function test_ipv4() { | |
result=`curl -4sSL "https://www.netflix.com/" | grep "Not Available"`; | |
if [ "$result" != "" ];then | |
echo -e "\033[34m很遗憾 Netflix不服务此地区\033[0m"; | |
return; | |
fi | |
result=`curl -4sSL "https://www.netflix.com/title/80018499" | grep "page-404"`; | |
if [ "$result" != "" ];then |
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 flask import Flask,request | |
app = Flask(__name__) | |
@app.route('/pay') | |
def pay(): | |
return (''' | |
<head> | |
<title>Checkout</title> | |
<script src="https://js.stripe.com/v3/"></script> | |
<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 h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EtJQ0FpZGlJNklDSXlJaXdO |
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 "net.core.default_qdisc=fq" >> /etc/sysctl.conf | |
# echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf | |
# sysctl -p | |
apt update | |
apt upgrade -y | |
apt install unzip curl htop nload vnstat -y | |
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh) | |
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh) |
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 bash | |
# Colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
BLUE='\033[0;34m' | |
PURPLE="\033[0;35m" | |
CYAN='\033[0;36m' | |
PLAIN='\033[0m' |
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 bash | |
# | |
# Description: Auto test download & I/O speed script | |
# | |
# Copyright (C) 2015 - 2020 Teddysun <[email protected]> | |
# Thanks: LookBack <[email protected]> | |
# URL: https://teddysun.com/444.html | |
# | |
trap _exit INT QUIT TERM |
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 bash | |
# Colors | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
YELLOW='\033[0;33m' | |
BLUE='\033[0;34m' | |
PURPLE="\033[0;35m" | |
CYAN='\033[0;36m' | |
PLAIN='\033[0m' |