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 GLM Coding Rush - 智谱编程助手抢购脚本 | |
| // @namespace https://gist.github.com/LessUp | |
| // @version 1.1.0 | |
| // @description 智谱 GLM Coding 一键抢购脚本 — 自动解锁售罄按钮 / 高速重试引擎 / bizId 双重校验 / 错误弹窗自动恢复 / 支付弹窗保护 / 秒级定时触发 / 可拖拽浮动面板 | |
| // @author LessUp | |
| // @match *://www.bigmodel.cn/* | |
| // @match https://bigmodel.cn/glm-coding* | |
| // @run-at document-start | |
| // @grant none |
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 | |
| # 默认参数 | |
| fps=10 | |
| width=-1 | |
| output="" | |
| # 打印使用说明 | |
| usage() { | |
| local exe=$(basename $0) |
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 | |
| # 将 mp3 文件中的繁体字转换为简体字 | |
| # 依赖:opencc mid3v2 | |
| # 用法:hant2hans.sh [-d dir] [-f file] | |
| set -e | |
| function get_by_id() { | |
| mid3v2 -l "$1" | grep "$2" | cut -d= -f2 | sed 's/^[ \t]*//' |
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
| #include <stdio.h> | |
| #include <stdbool.h> | |
| #include <stdlib.h> | |
| #include <ctype.h> | |
| #include <string.h> | |
| #define SIZE 6 | |
| const char comp_c = '@'; | |
| const char player_c = 'O'; |