基于 2026-04-11 一加 15 (PLK110) BL 解锁备份/还原实战总结。 下次执行前通读本文档,避免踩坑。
This document describes the JSON configuration file format for gost v2.12.0.
The configuration file is a JSON object with the following structure:
{feishu/lark oauth skill
name: feishu-auth description: 飞书 OAuth2 + JWT 鉴权实现指南。当需要为 Web 应用添加飞书登录、OAuth2 授权、JWT cookie 鉴权时使用此 skill。涵盖飞书 v2 OAuth 流程的所有坑点(opaque token、userinfo 接口路径、token 换取)。即使用户只提到"飞书登录"或"飞书鉴权",也应触发。
从实战项目中提炼的飞书 OAuth2 登录 + JWT cookie 鉴权的完整模式。核心价值在于避坑——飞书的 OAuth2 有几个与标准 OAuth2 不同的地方,踩一次能浪费半天。
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
| #!/usr/bin/python3 | |
| import sys | |
| import re | |
| try: | |
| import pandas as pd | |
| except: | |
| print("Please install pandas using 'pip3 install --user pandas'") |
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
| 0 0x0000000008fc153f in runtime.asyncPreempt2 | |
| at /opt/tiger/tango1_19_stretch/src/runtime/preempt.go:310 | |
| 1 0x0000000008ff92db in runtime.asyncPreempt | |
| at /opt/tiger/tango1_19_stretch/src/runtime/preempt_amd64.s:50 | |
| 2 0x000000000a423309 in github.com/chenzhuoyu/iasm/x86_64.(*Label).offset | |
| at /opt/tiger/compile_path/pkg/mod/github.com/chenzhuoyu/iasm@v0.9.1/x86_64/operands.go:99 | |
| 3 0x000000000a423309 in github.com/chenzhuoyu/iasm/x86_64.(*Program).Assemble | |
| at /opt/tiger/compile_path/pkg/mod/github.com/chenzhuoyu/iasm@v0.9.1/x86_64/program.go:509 | |
| 4 0x000000000a45bbe5 in github.com/cloudwego/frugal/internal/atm/pgen.(*CodeGen).Generate | |
| at /opt/tiger/compile_path/pkg/mod/github.com/cloudwego/frugal@v0.1.8/internal/atm/pgen/pgen_amd64.go:399 |
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 | |
| # USAGE: register in crontab with "*/10 0 0 0 0" | |
| YourSSID="YOUR WIFI SSID" | |
| YourDevice="MacBook Pro Speakers" | |
| source /etc/profile | |
| which AdjustVolume &>/dev/null |
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
| package main | |
| import ( | |
| "crypto/md5" | |
| "crypto/rand" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "log" |
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
| package main | |
| import ( | |
| "crypto/md5" | |
| "crypto/rand" | |
| "errors" | |
| "flag" | |
| "fmt" | |
| "io" | |
| "net" |
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
| #!/usr/bin/env python | |
| # Copyright (c) 2013 clowwindy | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
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
| package main | |
| import ( | |
| "encoding/binary" | |
| "errors" | |
| "fmt" | |
| "io" | |
| "net" | |
| ) |