Skip to content

Instantly share code, notes, and snippets.

View canwdev's full-sized avatar
🐟
Fishing

Canwdev canwdev

🐟
Fishing
View GitHub Profile
@canwdev
canwdev / move-musics.js
Created April 27, 2024 08:21
对比两个文件夹中的音乐文件,并移动
// 对比两个文件夹中的音乐文件,并移动
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)) {
@canwdev
canwdev / wake_device.ahk
Last active August 14, 2024 23:56
设备唤醒电脑 (无效)
#Persistent
#SingleInstance, force
DetectHiddenWindows, On
; cmd示例:
; powercfg /devicequery wake_armed
; powercfg /devicedisablewake "设备名"
; powercfg /deviceenablewake "设备名"
; 检查程序是否以管理员权限运行
@canwdev
canwdev / default.custom.yaml
Last active January 14, 2025 09:11
RIME 输入法配置:小鹤双拼、现代蓝主题、横向布局、候选词个数8
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}