Skip to content

Instantly share code, notes, and snippets.

View scbizu's full-sized avatar
🩷
Coding for open source with LOVE

Nace Sc scbizu

🩷
Coding for open source with LOVE
View GitHub Profile
@scbizu
scbizu / raft-pi-auth-issue.md
Created August 29, 2026 04:14
raft-pi-auth-issue.md

[Raft Computer 1.0.18][macOS arm64] Local Pi fails to use OpenAI Codex OAuth in the SEA build

Summary

An agent configured with the Local Pi runtime and an existing openai-codex OAuth credential cannot answer any prompt. The failure occurs before a provider request is made.

Raft Computer 1.0.18 improved the diagnostic compared with 1.0.13, but did not fix the failure. The current error shows that the Node SEA bundle attempts to dynamically import openai-codex.js from its temporary extraction directory, where that file does not exist.

The independently installed Pi CLI can derive an OpenAI Codex bearer from the same credential, so the credential itself is not the failing boundary.

@scbizu
scbizu / telegram_message.jsonl
Last active September 21, 2026 11:08
homepage
{"schema_version":1,"update_id":967899960,"event_type":"channel_post","received_at":"2026-06-13T08:42:04.234Z","chat":{"id":-1001325453259,"title":"Nace的碎碎念","username":"nace_in_public","type":"channel"},"message":{"message_id":119,"sender_chat":{"id":-1001325453259,"title":"Nace的碎碎念","username":"nace_in_public","type":"channel"},"chat":{"id":-1001325453259,"title":"Nace的碎碎念","username":"nace_in_public","type":"channel"},"date":1781339151,"text":"Test"}}
{"schema_version":1,"update_id":999007,"event_type":"channel_post","received_at":"2026-06-13T09:16:24.409Z","chat":{"id":-1001234567890,"title":"Test Channel","username":"test_channel","type":"channel"},"message":{"message_id":555007,"date":1781340360,"text":"#photo\n自动部署链路测试","chat":{"id":-1001234567890,"title":"Test Channel","username":"test_channel","type":"channel"}}}
{"schema_version":1,"update_id":999008,"event_type":"channel_post","received_at":"2026-06-13T09:24:29.166Z","chat":{"id":-1001234567890,"title":"Test Channel","username":"test_channel","type
@scbizu
scbizu / gkd.json5
Last active June 5, 2026 16:42
MagejiGKD
{id:142488,name:'MagejiSubscription',version:7,author:'scnace',checkUpdateUrl:'./gkd.version.json5',supportUri:'https://github.com/gkd-kit/subscription-template',categories:[],globalGroups:[],apps:[{id:'com.openai.chatgpt',name:'ChatGPT',groups:[{key:1,name:'通知提示-套餐限额提示',rules:[{key:0,activityIds:'.MainActivity',matches:'[text*="套餐限额"] + @View[clickable=true] > [desc="关闭"][visibleToUser=true]',snapshotUrls:'https://i.gkd.li/i/24996012'}]}]},{id:'com.android.chrome',name:'Chrome',groups:[{key:1,name:'功能类-文件可能有害-点击[仍然下载]',desc:'警告⚠️:会跳过有害文件警告,请谨慎开启',rules:[{fastQuery:true,activityIds:'org.chromium.chrome.browser.ChromeTabbedActivity',matches:['[text="文件可能有害"][visibleToUser=true]','[text="仍然下载"][visibleToUser=true]'],exampleUrls:'https://e.gkd.li/7fd28568-a614-4dea-8928-56a20c5780b6',snapshotUrls:'https://i.gkd.li/i/24863365'}]}]},{id:'cn.kaiheila',name:'kook',groups:[{key:-1,name:'开屏广告',fastQuery:true,matchTime:10000,actionMaximum:3,resetMatch:'app',actionMaximumKey:0,priorityTime:10000,rules:[{key:0,action:'cl
@scbizu
scbizu / umbreon_app_settings.toml
Last active September 6, 2026 04:21
umbreon-app
[feeds.dave_cheney]
tags = [ "StackLang:Go", "Role:Individual", "Lang:en-us" ]
name = "Dave Cheney"
url = "https://dave.cheney.net/feed/atom"
[feeds.rsc]
tags = [ "StackLang:Go", "Role:Individual", "Lang:en-us" ]
name = "rsc"
url = "https://research.swtch.com/feed.atom"
@scbizu
scbizu / #readme.md
Last active January 30, 2025 07:43 — forked from inkss/#readme.md
IPV6 直播源

个人向直播源

精简了上游直播源内容,仅保留个人所需的。

一、订阅地址

TVM3U

https://gist.githubusercontent.com/inkss/0cf33e9f52fbb1f91bc5eb0144e504cf/raw/ipv6.m3u
@scbizu
scbizu / danmaku.js
Last active June 4, 2022 14:06
douyu danmaku
// ==UserScript==
// @name Douyu Danmu
// @namespace http://tampermonkey.net/
// @version 0.0.3
// @description try to take over the world!
// @author You
// @match *douyu.com*
// @grant none
// @include *www.douyu.com*
// ==/UserScript==

Keybase proof

I hereby claim:

  • I am scbizu on github.
  • I am scnace (https://keybase.io/scnace) on keybase.
  • I have a public key ASBjBCRZ8h0L_Fh4QWlnjTRs6y0WkyoVduNoWDESPSk5ugo

To claim this, I am signing this object:

@scbizu
scbizu / crypto.go
Created May 29, 2019 14:02
crypto-js with go
package main
import (
"bytes"
"crypto/aes"
"crypto/cipher"
"crypto/md5"
crand "crypto/rand"
"encoding/base64"
"encoding/hex"
@scbizu
scbizu / gist:11c0a7276cefcece70d198ad34832804
Created April 25, 2019 02:10
Restore Chrome to light mode when Mac is set to Dark Mode
defaults write com.google.Chrome NSRequiresAquaSystemAppearance -bool yes
# more in https://support.google.com/chrome/thread/3395273?hl=en
@scbizu
scbizu / main.go
Last active March 14, 2019 18:40
A disque lock sample
package main
import (
"context"
"fmt"
"log"
"time"
"github.com/zencoder/disque-go/disque"
)