All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Login


All New Login

All gists

Recently created
Least recently created
Recently updated
Least recently updated
travisshears's Avatar

travisshears / nostr-rs-relay json logging

0 likes
0 forks
1 files
Last active 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 likes
0 forks
1 files
Last active 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 likes
0 forks
2 files
Last active 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"
Newer Older

Powered by Opengist ⋅ Load: 62ms⋅

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