全部 新建

user:thomas 由用户创建的 Gists

title:mygist 包含指定标题的 Gists

filename:myfile.txt 包含指定文件名的 Gists

extension:yml 包含指定扩展名的 Gists

language:go 包含指定编程语言的 Gists

topic:homelab 具有给定主题的 Gists

登录


全部 新建 登录

所有 Gists

最近 创建
最早 创建
最近 更新
最早 更新
travisshears's Avatar

travisshears / nostr-rs-relay json logging

0 喜欢
0 派生
1 文件
最后活跃于 1755689769
Patch to add JSON logging to nostr-rs-relay so logs can be parsed by loki
1 bf6abd3 (HEAD -> master, homelab/master) feat: json logging
2 diff --git a/Cargo.lock b/Cargo.lock
3 index c8354d2..3ca8556 100644
4 --- a/Cargo.lock
5 +++ b/Cargo.lock
6 @@ -3671,6 +3671,16 @@ dependencies = [
7 "tracing-core",
8 ]
9
10 +[[package]]
travisshears's Avatar

travisshears / kelvin_versioning.txt

0 喜欢
0 派生
1 文件
最后活跃于 1755329791
1 # Kelvin Versioning Examples for gum-utils
2
3 ## Early Development Phase
4 - 50K: Initial experimental version, many breaking changes expected
5 - 45K: Core API taking shape, still major changes possible
6 - 40K: Basic functionality working, API stabilizing
7
8 ## Maturing Phase
9 - 25K: Feature-complete, minor API changes possible
10 - 20K: Production-ready, only bug fixes and small improvements
travisshears's Avatar

travisshears / is_tech?

0 喜欢
0 派生
2 文件
最后活跃于 1755323272
1 (ns micro-blog.is-tech
2 (:require
3 [micro-blog.config :refer [config]]
4 [taoensso.telemere :as tel]
5 [clj-http.client :as client]))
6
7 (defn is-tech? [post-text]
8 (let [url (str (:mistral-host @config) "/v1/conversations")
9 headers {"Content-Type" "application/json"
10 "Accept" "application/json"
上一页 下一页

由 Opengist 强力驱动 ⋅ Load: 62ms⋅

中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文