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
# 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
#!/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
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
#Persistent | |
#NoEnv | |
#SingleInstance Force | |
; 快捷键配置 | |
hotkeyForAction:="^q" | |
; 创建GUI窗口 | |
Gui, Add, Text, x10 y10 w100 h20, Rule_X | |
Gui, Add, Edit, x120 y10 w50 h20 vMonthX, 1 |
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
"ui"; | |
ui.layout( | |
<frame w="*" h="*" bg="#F6FFE3" gravity="center"> | |
<vertical> | |
<appbar> | |
<toolbar | |
bg="#4EBFDD" | |
layout_height="50" | |
margin="-2" |
OlderNewer