This file contains hidden or 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
| function getRotation() { | |
| //1竖屏 2横屏 | |
| importPackage(android.content); | |
| return context.getResources().getConfiguration().orientation; | |
| } | |
| function getScreenHW() { | |
| // console.log(getRotation()); | |
| // 正常的手机,高度,是大于宽度的。但是,device.width,device.height,函数,有时候是会获取错误的。 | |
| // 强行扭正。 |
This file contains hidden or 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" |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
NewerOlder