Skip to content

Instantly share code, notes, and snippets.

@gzlock
gzlock / glm-coding-plan-rush-helper.user.js
Last active June 22, 2026 20:31 — forked from LessUp/glm-coding-plan-rush-helper.user.js
⚡ GLM Coding Rush — 智谱编程助手一键抢购脚本 | Auto-Purchase Userscript for GLM Coding | 自动解锁售罄 · 高速重试 · 定时触发 · 支付保护 · 中英双语面板 | Auto-unlock sold-out · High-speed retry · Scheduled trigger · Payment guard · Bilingual panel | Tampermonkey/Violentmonkey | 点击 Raw 安装 · Click Raw to install
// ==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
@gzlock
gzlock / docker-compose.yml
Created February 24, 2026 21:29
自用的vaultwarden docker-compse设置,空着的参数请自行查阅文档。首次使用先把SIGNUPS_ALLOWED设置为true,注册账号后再设置false关闭注册。
services:
vaultwarden:
image: vaultwarden/server:latest-alpine
container_name: vaultwarden
restart: unless-stopped
environment:
SIGNUPS_ALLOWED: false
WEBSOCKET_ENABLED: true
PUSH_ENABLED: true
PUSH_INSTALLATION_ID:
@gzlock
gzlock / .dart
Last active March 15, 2021 09:24
Flutter Stacked Item ListView
import 'dart:ui';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@gzlock
gzlock / photoshop_flutter_ios_icon.js
Last active February 23, 2020 16:00
一键输出flutter iOS各种尺寸icon文件的photoshop脚本
/***
*
* rootscript copy from https://github.com/codearoni/generator-gizmo/blob/master/app/templates/jsx/rootscript.jsx
*
***/
/* jshint ignore:start */
/**
* Date.now - from: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
*/
@gzlock
gzlock / AutoLoadScene.cs
Last active March 11, 2019 15:06
Load the initial scene when the Unity3d editor mode state change to play
/**
Please checkout the first comment.
请查看第一个留言。
**/
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
[InitializeOnLoad]
public class AutoLoadScene