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
''' | |
需要 Python 3.6 + requests | |
''' | |
import requests | |
from math import ceil | |
from urllib import parse | |
import time | |
class favlist(): |
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
""" | |
模拟 Gwifi 网页版,登陆 Gwifi | |
""" | |
from typing import Any | |
from re import compile | |
from random import randint | |
from base64 import b64encode | |
from socket import socket, AF_INET, SOCK_DGRAM | |
from time import sleep |
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
// ==UserScript== | |
// @name 去他妈的转载狗 | |
// @namespace Violentmonkey Scripts | |
// @match https://cn.bing.com/search* | |
// @grant GM_xmlhttpRequest | |
// @version 1.0 | |
// @author chen_null | |
// @description 2021/1/21 下午4:14:58 | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Stackoverflow 的 Ciro Santilli 你🐴死了 | |
// @namespace Violentmonkey Scripts | |
// @match https://stackoverflow.com/* | |
// @match https://serverfault.com/* | |
// @match https://superuser.com/* | |
// @match https://meta.stackexchange.com/* | |
// @match https://webapps.stackexchange.com/* | |
// @match https://webmasters.stackexchange.com/* | |
// @match https://gamedev.stackexchange.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
#!/usr/bin/env python3 | |
""" | |
Simple Wireguard config generator | |
sysctl config: | |
export PATH=/usr/sbin:$PATH | |
sysctl net.ipv4.ip_forward=1 | |
resolveconf: | |
sudo apt install resolvconf |