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 http://tampermonkey.net/ | |
// @version 2023-12-28 | |
// @description try to take over the world! | |
// @author Alan He | |
// @match https://mobile.yangkeduo.com/chat_detail.html* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=pinduoduo.com | |
// @grant none | |
// @run-at document-end |
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 http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://m.163.com/*/article/* | |
// @match https://www.baidu.com/bh/dict/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=163.com | |
// @grant none |
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 http://tampermonkey.net/ | |
// @version 2023-12-23 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.youtube.com/watch* | |
// @match https://peixun.amac.org.cn/** | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @run-at document-start |
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 http://tampermonkey.net/ | |
// @version 0.5 | |
// @description try to take over the world! | |
// @author You | |
// @match https://i.bank.ecitic.com/perbank6/gotomain.do | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ecitic.com | |
// @grant none | |
// ==/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 JD Review | |
// @namespace http://tampermonkey.net/ | |
// @version 2023-12-23 | |
// @description try to take over the world! | |
// @author Alan He | |
// @match https://club.jd.com/myJdcomments/myJdcomment.action | |
// @grant none | |
// @run-at context-menu | |
// ==/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
FROM alpine:3.14 | |
RUN apk add --no-cache mysql-client | |
ENTRYPOINT ["mysql"] |
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
1 # 维护者信息 | |
2 # 使用官方 CentOS 镜像为基础 | |
3 FROM centos:centos7 | |
4 | |
5 | |
6 # 安装 nginx 和 lrzsz | |
7 RUN yum -y update && \ | |
8 yum -y install epel-release && \ | |
9 yum -y install nginx lrzsz && \ | |
10 yum clean all |
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
# 安装code-server包,也可以使用官方脚本 https://raw.githubusercontent.com/coder/code-server/main/install.sh | |
VERSION=4.7.1 | |
PORT=8090 | |
mkdir -p ~/.local/lib ~/.local/bin | |
curl -fL https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-linux-amd64.tar.gz \ | |
| tar -C ~/.local/lib -xz |
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/sh | |
# sudo sh -c "$(curl -fsSL https://gist.githubusercontent.com/alanhg/b861c85afa1887daa053ad90fa930453/raw/b9abe224631981fafd184de4b5b87d3fe12d3eaa/install-package-certbot.sh)" | |
YUM_CMD=$(which yum) | |
APT_GET_CMD=$(which apt-get) | |
APT_CMD=$(which apt) | |
PACKAGE=certbot | |
if [ ! -z $YUM_CMD ]; then | |
yum install -y $PACKAGE |
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 "Uploading files to remote server...." | |
sshpass -p "xxx" scp -r ./build/** root@192.168.1.108:/var/www/mana | |
echo "File upload to remote server completed! ;)" |
NewerOlder