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
customization: | |
distribution_code_name: Weasel | |
distribution_version: 0.16.3 | |
generator: "Rime::SwitcherSettings" | |
modified_time: "Tue Jan 14 08:55:24 2025" | |
rime_version: 1.11.2 | |
patch: | |
schema_list: | |
- {schema: double_pinyin_flypy} | |
- {schema: radical_pinyin_flypy} |
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 | |
#SingleInstance, force | |
DetectHiddenWindows, On | |
; cmd示例: | |
; powercfg /devicequery wake_armed | |
; powercfg /devicedisablewake "设备名" | |
; powercfg /deviceenablewake "设备名" | |
; 检查程序是否以管理员权限运行 |
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
// 对比两个文件夹中的音乐文件,并移动 | |
const fs = require('fs'); | |
const Path = require('path'); | |
function padNum(num, len = 3) { | |
return num.toString().padStart(len, '0') | |
} | |
function ensureDirSync(path) { | |
if (!fs.existsSync(path)) { |
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
var url = new URL(location.href); | |
var v = url.searchParams.get("v"); | |
var obj = { | |
isIframe: true, | |
poster: $('meta[property="og:image"]').content, | |
avatar: $('.ytd-video-owner-renderer .style-scope.yt-img-shadow').src, | |
username: $('.ytd-channel-name').innerText, | |
src: `https://www.youtube.com/embed/${v}` | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>支持设置时区的日期选择器</title> | |
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script> | |
<script src="https://momentjs.com/downloads/moment.js"></script> | |
<script src="https://momentjs.com/downloads/moment-timezone-with-data.js"></script> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>倒计时Demo</title> | |
<script src="https://momentjs.com/downloads/moment.js"></script> | |
</head> |
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 bsd = new BarcodeScannerDetect() | |
* 开始检测:bsd.startDetect() | |
* 关闭检测:bsd.stopDetect() | |
* https://www.jianshu.com/p/3019858e3cad | |
* @param callback 扫码枪输入结束回调 | |
* @constructor | |
*/ | |
function BarcodeScannerDetect(callback) { |
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
// ==UserScript== | |
// @name Quick Click Copy | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description 点击复制表格中的文字 | |
// @author You | |
// @match file:///* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=undefined. | |
// @grant GM_addStyle | |
// @grant GM_getResourceText |
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
[General] | |
FileVersion=69 | |
NumberOfJoysticks=2 | |
NumberOfButtons=32 | |
DisplayMode=2 | |
UseDiagonalInput=0 | |
UseDiagonalInput2=0 | |
UsePOV8Way=0 | |
RepeatSameKeyInSequence=0 | |
Threshold=20 |
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
// ==UserScript== | |
// @name 阿里云视频点播(VOD)复制图片地址 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description 提供一键复制封面图的功能,并优化一些操作细节,提升效率! | |
// @author https://gist.github.com/canwdev/c164a39b37fc4ef59e3cfa0467f753da | |
// @match https://vod.console.aliyun.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=aliyun.com | |
// @grant none | |
// ==/UserScript== |
NewerOlder