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
let localPath = '/storage/emulated/0/脚本/autoTrade.js' | |
if (files.exists(localPath) && !confirm("脚本已存在,是否覆盖?")) { | |
toastLog("下次再见") | |
exit() | |
} | |
let severPath = 'https://gitee.com/yechen21/autotrader/raw/master/autoTrade.js' | |
let rsp = http.get(severPath + "?v=" + random(0, 923456789)); | |
if (rsp && rsp.statusCode == 200) { |
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 | |
# apt-get install zip unzip | |
# apt-get install jq | |
set -e | |
name=my-ahks | |
version=v1.0 | |
currentTime=$(date +"%m-%d_%H_%M") | |
zipName=$name-$version-${currentTime}.zip |
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
# pip install opencv-python | |
# py3.11 使用没问题 | |
import cv2 | |
import numpy as np | |
import glob, os | |
# 抠图去背景脚本。 | |
# 参考:https://blog.csdn.net/my_name_is_learn/article/details/114364699 | |
# hsv 色彩模式。https://www.cnblogs.com/lfri/p/10426113.html |
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
#Requires AutoHotkey v2.0 | |
#SingleInstance Force | |
KeyHistory 0 | |
SendMode "Input" | |
global debug := False ;debug 输出开关 | |
getTextSelected() { | |
A_Clipboard := "" | |
Sleep 10 |
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
# -*- coding: utf-8 -*- | |
import cntext | |
from itchat.content import * | |
import itchat, time | |
import requests | |
# {'a': {'lastTime': 1701659203, 'banScore': 0}, 'b': {'lastTime': 1701659203, 'banScore': 0}, 'c': {'lastTime': 1701659201, 'banScore': 2}} | |
banStatistics = {} | |
cnDiction = cntext.load_pkl_dict("DUTIR.pkl")["DUTIR"] |
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.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/rarbg.py | |
https://gist.githubusercontent.com/BurningMop/fa750daea6d9fa86c8fe5d686f12ed35/raw/16397ff605b1e2f60c70379166c3e7f8df28867d/one337x.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/academictorrents.py | |
https://raw.githubusercontent.com/hannsen/qbittorrent_search_plugins/master/ali213.py | |
https://raw.githubusercontent.com/nindogo/qbtSearchScripts/master/anidex.py | |
https://raw.githubusercontent.com/nklido/qBittorrent_search_engines/master/engines/audiobookbay.py | |
https://raw.githubusercontent.com/kjjejones44/b4tg_search_plugin/master/bt4g.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/btetree.py | |
https://raw.githubusercontent.com/msagca/qbittorrent_plugins/main/btmulu.py | |
https://raw.githubusercontent.com/MaurizioRicci/qBittorrent_search_engine/master/cinecalidad.py |
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.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/academictorrents.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/btetree.py | |
https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/ettv.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/glotorrents.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/ilcorsaronero.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/kickasstorrents.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/nitro.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/engines/pirateiro.py | |
https://raw.githubusercontent.com/qbittorrent/search-plugins/master/nova3/engines/rarbg.py | |
https://raw.githubusercontent.com/LightDestory/qBittorrent-Search-Plugins/master/src/eng |
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/bash | |
set -e # if a command fails it stops the execution | |
set -u # script fails if trying to access to an undefined variable | |
################################ | |
# add draft:false if draft not exist | |
################################ | |
# this kind must excute by "xsh path/name.sh" ,due to $0 can get ./ if according ./xx.sh excute | |
EXCUTE_PATH=$(dirname "${0}")/ |
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/bash | |
#=================== | |
# clean imgs not used in *.md | |
#=================== | |
# if current sh locate in .github/reurces/scripts/clean_imgs.sh | |
# this kind must excute by "xsh path/name.sh" ,due to $0 can get ./ if according ./xx.sh excute | |
EXCUTE_PATH=$(dirname ${0})/ | |
# make both "bash ./a/x.sh" and "././a/x.sh" can excute | |
# but alse exist a little bug if same name sh scripts exist in nearby dir |
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
# enable color support of ls and also add handy aliases | |
if [ -x /usr/bin/dircolors ]; then | |
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" | |
alias ls='ls --color=auto' | |
#alias dir='dir --color=auto' | |
#alias vdir='vdir --color=auto' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' |
NewerOlder