summaryrefslogtreecommitdiff
path: root/about
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-07-09 15:06:53 +0300
committerPaul Buetow <paul@buetow.org>2025-07-09 15:06:53 +0300
commit072e836ec89c56510341a71e96d99f0ee6be3c2e (patch)
tree05c01372ee9decf6b56ac3ab9332119bf5e8e78d /about
parentd6bfc66551382011ef1ca8364d49935094ecb32e (diff)
Update content for md
Diffstat (limited to 'about')
-rw-r--r--about/resources.md186
-rw-r--r--about/showcase.md1103
-rw-r--r--about/showcase/debroid/image-1.png59
3 files changed, 650 insertions, 698 deletions
diff --git a/about/resources.md b/about/resources.md
index 54eb2382..50b7fc84 100644
--- a/about/resources.md
+++ b/about/resources.md
@@ -36,104 +36,104 @@ You won't find any links on this site because, over time, the links will break.
In random order:
* Leanring eBPF; Liz Rice; O'Reilly
-* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
+* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
+* Ultimate Go Notebook; Bill Kennedy
* Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly
-* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
* The Docker Book; James Turnbull; Kindle
-* Modern Perl; Chromatic ; Onyx Neon Press
-* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+* Systemprogrammierung in Go; Frank Müller; dpunkt
+* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
* Raku Recipes; J.J. Merelo; Apress
+* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
+* Modern Perl; Chromatic ; Onyx Neon Press
* Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly
-* Terraform Cookbook; Mikael Krief; Packt Publishing
-* The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional
-* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly
-* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
+* Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications
+* Site Reliability Engineering; How Google runs production systems; O'Reilly
+* DNS and BIND; Cricket Liu; O'Reilly
+* Funktionale Programmierung; Peter Pepper; Springer
* Effective awk programming; Arnold Robbins; O'Reilly
+* Higher Order Perl; Mark Dominus; Morgan Kaufmann
+* Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly
+* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt
* Polished Ruby Programming; Jeremy Evans; Packt Publishing
-* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
-* Concurrency in Go; Katherine Cox-Buday; O'Reilly
-* The Pragmatic Programmer; David Thomas; Addison-Wesley
+* 100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications
* Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner
-* Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers
+* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf
* Effective Java; Joshua Bloch; Addison-Wesley Professional
-* Perl New Features; Joshua McAdams, brian d foy; Perl School
-* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible
* Java ist auch eine Insel; Christian Ullenboom;
+* Terraform Cookbook; Mikael Krief; Packt Publishing
* C++ Programming Language; Bjarne Stroustrup;
-* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
* 97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly
-* Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly
-* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
-* Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt
+* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
+* Raku Fundamentals; Moritz Lenz; Apress
+* Concurrency in Go; Katherine Cox-Buday; O'Reilly
+* Perl New Features; Joshua McAdams, brian d foy; Perl School
+* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook
* Data Science at the Command Line; Jeroen Janssens; O'Reilly
-* Site Reliability Engineering; How Google runs production systems; O'Reilly
+* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly
+* 21st Century C: C Tips from the New School; Ben Klemens; O'Reilly
+* Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press
+* Pro Puppet; James Turnbull, Jeffrey McCune; Apress
+* Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press
* Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers
-* The Kubernetes Book; Nigel Poulton; Unabridged Audiobook
-* Ultimate Go Notebook; Bill Kennedy
-* Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf
-* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress
+* Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson
* Developing Games in Java; David Brackeen and others...; New Riders
-* Raku Fundamentals; Moritz Lenz; Apress
-* Pro Puppet; James Turnbull, Jeffrey McCune; Apress
-* Systemprogrammierung in Go; Frank Müller; dpunkt
-* DNS and BIND; Cricket Liu; O'Reilly
-* Funktionale Programmierung; Peter Pepper; Springer
-* DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible
-* Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly
-* Higher Order Perl; Mark Dominus; Morgan Kaufmann
+* The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress
+* The Pragmatic Programmer; David Thomas; Addison-Wesley
+* The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton
+* The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible
## Technical references
I didn't read them from the beginning to the end, but I am using them to look up things. The books are in random order:
* Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly
-* Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley
* The Linux Programming Interface; Michael Kerrisk; No Starch Press
-* BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley
-* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly
-* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
-* Go: Design Patterns for Real-World Projects; Mat Ryer; Packt
+* Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley
* Relayd and Httpd Mastery; Michael W Lucas
+* Go: Design Patterns for Real-World Projects; Mat Ryer; Packt
+* Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly
+* Implementing Service Level Objectives; Alex Hidalgo; O'Reilly
+* BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley
## Self-development and soft-skills books
In random order:
-* Ultralearning; Anna Laurent; Self-published via Amazon
-* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
-* Deep Work; Cal Newport; Piatkus
-* Psycho-Cybernetics; Maxwell Maltz; Perigee Books
-* Getting Things Done; David Allen
-* The Joy of Missing Out; Christina Crook; New Society Publishers
* The Good Enough Job; Simone Stolzoff; Ebury Edge
-* Atomic Habits; James Clear; Random House Business
-* The Power of Now; Eckhard Tolle; Yellow Kite
-* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
+* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
* 101 Essays that change the way you think; Brianna Wiest; Audiobook
-* Digital Minimalism; Cal Newport; Portofolio Penguin
-* Soft Skills; John Sommez; Manning Publications
-* Eat That Frog!; Brian Tracy; Hodder Paperbacks
-* Meditation for Mortals, Oliver Burkeman, Audiobook
-* Influence without Authority; A. Cohen, D. Bradford; Wiley
-* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
-* The Bullet Journal Method; Ryder Carroll; Fourth Estate
+* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
+* Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook
+* The Power of Now; Eckhard Tolle; Yellow Kite
+* Never Split the Difference; Chris Voss, Tahl Raz; Random House Business
* Stop starting, start finishing; Arne Roock; Lean-Kanban University
+* Getting Things Done; David Allen
+* The Bullet Journal Method; Ryder Carroll; Fourth Estate
* Slow Productivity; Cal Newport; Penguin Random House
-* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
-* So Good They Can't Ignore You; Cal Newport; Business Plus
-* Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press
-* Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook
* The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books
-* Solve for Happy; Mo Gawdat (RE-READ 1ST TIME)
-* The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME)
-* Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook
-* Eat That Frog; Brian Tracy
* Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne
-* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
-* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
+* So Good They Can't Ignore You; Cal Newport; Business Plus
+* Deep Work; Cal Newport; Piatkus
+* Ultralearning; Anna Laurent; Self-published via Amazon
* Ultralearning; Scott Young; Thorsons
+* Soft Skills; John Sommez; Manning Publications
+* The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook
* The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd
-* The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select
+* Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing
+* Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly
+* Solve for Happy; Mo Gawdat (RE-READ 1ST TIME)
+* Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion
+* Eat That Frog!; Brian Tracy; Hodder Paperbacks
+* The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME)
+* The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK
+* Influence without Authority; A. Cohen, D. Bradford; Wiley
+* The Joy of Missing Out; Christina Crook; New Society Publishers
+* Eat That Frog; Brian Tracy
+* Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook
+* Atomic Habits; James Clear; Random House Business
+* Meditation for Mortals, Oliver Burkeman, Audiobook
+* Digital Minimalism; Cal Newport; Portofolio Penguin
+* Psycho-Cybernetics; Maxwell Maltz; Perigee Books
[Here are notes of mine for some of the books](../notes/index.md)
@@ -141,22 +141,22 @@ In random order:
Some of these were in-person with exams; others were online learning lectures only. In random order:
+* Structure and Interpretation of Computer Programs; Harold Abelson and more...;
+* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon
+* Functional programming lecture; Remote University of Hagen
+* AWS Immersion Day; Amazon; 1-day interactive online training
+* F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
+* Apache Tomcat Best Practises; 3-day on-site training
+* Ultimate Go Programming; Bill Kennedy; O'Reilly Online
* MySQL Deep Dive Workshop; 2-day on-site training
* Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online
* The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online
-* Scripting Vim; Damian Conway; O'Reilly Online
-* Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon
* Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need)
-* Apache Tomcat Best Practises; 3-day on-site training
* Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training
-* Structure and Interpretation of Computer Programs; Harold Abelson and more...;
-* Developing IaC with Terraform (with Live Lessons); O'Reilly Online
-* F5 Loadbalancers Training; 2-day on-site training; F5, Inc.
-* AWS Immersion Day; Amazon; 1-day interactive online training
-* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
+* Scripting Vim; Damian Conway; O'Reilly Online
* Protocol buffers; O'Reilly Online
-* Functional programming lecture; Remote University of Hagen
-* Ultimate Go Programming; Bill Kennedy; O'Reilly Online
+* The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online
+* Developing IaC with Terraform (with Live Lessons); O'Reilly Online
## Technical guides
@@ -173,55 +173,55 @@ These are not whole books, but guides (smaller or larger) which I found very use
In random order:
* Pratical AI
-* The ProdCast (Google SRE Podcast)
-* Maintainable
-* Modern Mentor
-* Dev Interrupted
* The Pragmatic Engineer Podcast
* The Changelog Podcast(s)
-* Hidden Brain
* Fallthrough [Golang]
-* Backend Banter
-* Deep Questions with Cal Newport
+* Fork Around And Find Out
+* Dev Interrupted
+* Hidden Brain
+* The ProdCast (Google SRE Podcast)
* Cup o' Go [Golang]
+* Deep Questions with Cal Newport
+* Modern Mentor
* BSD Now [BSD]
-* Fork Around And Find Out
+* Maintainable
+* Backend Banter
### Podcasts I liked
I liked them but am not listening to them anymore. The podcasts have either "finished" (no more episodes) or I stopped listening to them due to time constraints or a shift in my interests.
-* Go Time (predecessor of fallthrough)
-* CRE: Chaosradio Express [german]
* FLOSS weekly
* Java Pub House
+* CRE: Chaosradio Express [german]
* Ship It (predecessor of Fork Around And Find Out)
* Modern Mentor
+* Go Time (predecessor of fallthrough)
## Newsletters I like
This is a mix of tech and non-tech newsletters I am subscribed to. In random order:
-* Monospace Mentor
-* The Imperfectionist
-* Changelog News
-* VK Newsletter
-* The Pragmatic Engineer
-* byteSizeGo
-* Register Spill
-* Ruby Weekly
* Golang Weekly
-* The Valuable Dev
+* Register Spill
+* The Pragmatic Engineer
+* Changelog News
* Andreas Brandhorst Newsletter (Sci-Fi author)
+* The Imperfectionist
* Applied Go Weekly Newsletter
+* The Valuable Dev
+* Monospace Mentor
+* byteSizeGo
+* Ruby Weekly
+* VK Newsletter
## Magazines I like(d)
This is a mix of tech I like(d). I may not be a current subscriber, but now and then, I buy an issue. In random order:
+* Linux User
* Linux Magazine
* freeX (not published anymore)
-* Linux User
* LWN (online only)
# Formal education
diff --git a/about/showcase.md b/about/showcase.md
index 9c15acd6..7a7b5941 100644
--- a/about/showcase.md
+++ b/about/showcase.md
@@ -13,7 +13,6 @@ This page showcases my side projects, providing an overview of what each project
* [⇢ ⇢ ⇢ timr](#timr)
* [⇢ ⇢ ⇢ tasksamurai](#tasksamurai)
* [⇢ ⇢ ⇢ rexfiles](#rexfiles)
-* [⇢ ⇢ ⇢ foo.zone](#foozone)
* [⇢ ⇢ ⇢ dtail](#dtail)
* [⇢ ⇢ ⇢ wireguardmeshgenerator](#wireguardmeshgenerator)
* [⇢ ⇢ ⇢ ior](#ior)
@@ -26,17 +25,18 @@ This page showcases my side projects, providing an overview of what each project
* [⇢ ⇢ ⇢ quicklogger](#quicklogger)
* [⇢ ⇢ ⇢ docker-gpodder-sync-server](#docker-gpodder-sync-server)
* [⇢ ⇢ ⇢ terraform](#terraform)
-* [⇢ ⇢ ⇢ gogios](#gogios)
* [⇢ ⇢ ⇢ docker-radicale-server](#docker-radicale-server)
* [⇢ ⇢ ⇢ docker-anki-sync-server](#docker-anki-sync-server)
* [⇢ ⇢ ⇢ gorum](#gorum)
+* [⇢ ⇢ ⇢ guprecords](#guprecords)
+* [⇢ ⇢ ⇢ gogios](#gogios)
* [⇢ ⇢ ⇢ randomjournalpage](#randomjournalpage)
* [⇢ ⇢ ⇢ sway-autorotate](#sway-autorotate)
* [⇢ ⇢ ⇢ photoalbum](#photoalbum)
* [⇢ ⇢ ⇢ algorithms](#algorithms)
* [⇢ ⇢ ⇢ geheim](#geheim)
+* [⇢ ⇢ ⇢ foo.zone](#foozone)
* [⇢ ⇢ ⇢ perl-c-fibonacci](#perl-c-fibonacci)
-* [⇢ ⇢ ⇢ guprecords](#guprecords)
* [⇢ ⇢ ⇢ ioriot](#ioriot)
* [⇢ ⇢ ⇢ staticfarm-apache-handlers](#staticfarm-apache-handlers)
* [⇢ ⇢ ⇢ dyndns](#dyndns)
@@ -60,35 +60,35 @@ This page showcases my side projects, providing an overview of what each project
* [⇢ ⇢ ⇢ awksite](#awksite)
* [⇢ ⇢ ⇢ jsmstrade](#jsmstrade)
* [⇢ ⇢ ⇢ netcalendar](#netcalendar)
-* [⇢ ⇢ ⇢ hsbot](#hsbot)
* [⇢ ⇢ ⇢ ychat](#ychat)
* [⇢ ⇢ ⇢ vs-sim](#vs-sim)
+* [⇢ ⇢ ⇢ hsbot](#hsbot)
* [⇢ ⇢ ⇢ fype](#fype)
## Overall Statistics
* 📦 Total Projects: 55
-* 📊 Total Commits: 10,379
-* 📈 Total Lines of Code: 252,969
-* 📄 Total Lines of Documentation: 24,167
-* 💻 Languages: Java (22.4%), Go (17.6%), HTML (14.0%), C++ (8.9%), C (7.3%), Perl (6.3%), Shell (6.3%), C/C++ (5.8%), XML (4.6%), Config (1.5%), Ruby (1.1%), HCL (1.1%), Make (0.7%), Python (0.6%), CSS (0.6%), JSON (0.3%), Raku (0.3%), Haskell (0.2%), YAML (0.2%), TOML (0.1%)
-* 📚 Documentation: Text (47.4%), Markdown (38.4%), LaTeX (14.2%)
-* 🤖 AI-Assisted Projects: 8 out of 55 (14.5% AI-assisted, 85.5% human-only)
+* 📊 Total Commits: 10,405
+* 📈 Total Lines of Code: 231,007
+* 📄 Total Lines of Documentation: 24,381
+* 💻 Languages: Java (23.7%), Go (19.2%), C++ (16.1%), C/C++ (8.9%), C (8.3%), Perl (7.3%), Shell (6.4%), Config (2.0%), HTML (2.0%), Ruby (1.2%), HCL (1.2%), Make (0.8%), Python (0.7%), CSS (0.6%), Raku (0.4%), JSON (0.3%), XML (0.3%), Haskell (0.3%), YAML (0.2%), TOML (0.1%)
+* 📚 Documentation: Text (46.3%), Markdown (39.6%), LaTeX (14.1%)
+* 🤖 AI-Assisted Projects: 6 out of 55 (10.9% AI-assisted, 89.1% human-only)
* 🚀 Release Status: 31 released, 24 experimental (56.4% with releases, 43.6% experimental)
## Projects
### gitsyncer
-* 💻 Languages: Go (86.0%), Shell (11.9%), YAML (1.5%), JSON (0.5%)
+* 💻 Languages: Go (86.7%), Shell (11.4%), YAML (1.4%), JSON (0.5%)
* 📚 Documentation: Markdown (100.0%)
-* 📊 Commits: 56
-* 📈 Lines of Code: 6241
-* 📄 Lines of Documentation: 2306
+* 📊 Commits: 60
+* 📈 Lines of Code: 6548
+* 📄 Lines of Documentation: 2338
* 📅 Development Period: 2025-06-23 to 2025-07-09
-* 🔥 Recent Activity: 4.7 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 3.4 days (avg. age of last 42 commits)
* ⚖️ License: BSD-2-Clause
-* 🏷️ Latest Release: v0.4.0 (2025-07-09)
+* 🏷️ Latest Release: v0.5.0 (2025-07-09)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -99,44 +99,19 @@ The tool is implemented in Go with a clean architecture that supports both indiv
[View on Codeberg](https://codeberg.org/snonux/gitsyncer)
[View on GitHub](https://github.com/snonux/gitsyncer)
-Go from `internal/github/github.go`:
+Go from `internal/cli/handlers.go`:
```AUTO
-func (c *Client) RepoExists(repoName string) (bool, error) {
- if c.token == "" {
- return false, fmt.Errorf("GitHub token required")
- }
-
- url := fmt.Sprintf("https://api.github.com/repos/%s/%s", c.org, repoName)
- fmt.Printf(" Checking URL: %s\n", url)
- fmt.Printf(" Token present: %v (length: %d)\n", c.token != "", len(c.token))
-
- req, err := http.NewRequest("GET", url, nil)
- if err != nil {
- return false, err
- }
-
- req.Header.Set("Authorization", "Bearer "+c.token)
- req.Header.Set("Accept", "application/vnd.github.v3+json")
-
- resp, err := http.DefaultClient.Do(req)
- if err != nil {
- return false, err
- }
- defer resp.Body.Close()
-
- if resp.StatusCode == 200 {
- return true, nil
- } else if resp.StatusCode == 404 {
- return false, nil
- } else if resp.StatusCode == 401 {
- body, _ := io.ReadAll(resp.Body)
- fmt.Printf(" 401 Unauthorized - Response: %s\n", string(body))
- fmt.Printf(" Authorization header: %s\n", req.Header.Get("Authorization"))
- return false, fmt.Errorf("authentication failed (401): %s", string(body))
+func LoadConfig(configPath string) (*config.Config, error) {
+ if configPath == "" {
+ configPath = findDefaultConfigPath()
+ if configPath == "" {
+ return nil, fmt.Errorf("no configuration file found")
+ }
}
-
- return false, fmt.Errorf("unexpected status code: %d", resp.StatusCode)
+
+ fmt.Printf("Loaded configuration from: %s\n", configPath)
+ return config.Load(configPath)
}
```
@@ -150,7 +125,7 @@ func (c *Client) RepoExists(repoName string) (bool, error) {
* 📈 Lines of Code: 873
* 📄 Lines of Documentation: 135
* 📅 Development Period: 2025-06-25 to 2025-06-29
-* 🔥 Recent Activity: 12.7 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 12.9 days (avg. age of last 42 commits)
* ⚖️ License: BSD-2-Clause
* 🧪 Status: Experimental (no releases yet)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -163,19 +138,10 @@ The project is implemented using a clean modular architecture with the CLI entry
[View on Codeberg](https://codeberg.org/snonux/timr)
[View on GitHub](https://github.com/snonux/timr)
-Go from `cmd/timr/main.go`:
+Go from `internal/version.go`:
```AUTO
-func main() {
- if len(os.Args) < 2 {
- printUsage()
- os.Exit(1)
- }
-
- var err error
- var output string
-
- switch os.Args[1] {
+const Version = "v0.0.0"
```
---
@@ -188,7 +154,7 @@ func main() {
* 📈 Lines of Code: 6160
* 📄 Lines of Documentation: 162
* 📅 Development Period: 2025-06-19 to 2025-07-08
-* 🔥 Recent Activity: 13.1 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 13.3 days (avg. age of last 42 commits)
* ⚖️ License: BSD-2-Clause
* 🏷️ Latest Release: v0.9.2 (2025-07-02)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -205,39 +171,38 @@ The implementation follows a clean architecture with clear separation of concern
[View on Codeberg](https://codeberg.org/snonux/tasksamurai)
[View on GitHub](https://github.com/snonux/tasksamurai)
-Go from `internal/ui/handlers.go`:
+Go from `internal/ui/table.go`:
```AUTO
-func (m *Model) handleAnnotationMode(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
- onEnter := func(value string) error {
- if !m.replaceAnnotations && strings.TrimSpace(value) == "" {
- return fmt.Errorf("annotation cannot be empty")
+func editDescriptionCmd(description string) tea.Cmd {
+ return func() tea.Msg {
+ tmpFile, err := os.CreateTemp("", "tasksamurai-desc-*.txt")
+ if err != nil {
+ return descEditDoneMsg{err: err, tempFile: ""}
}
+ tmpPath := tmpFile.Name()
- if m.replaceAnnotations {
- if err := task.ReplaceAnnotations(m.annotateID, value); err != nil {
- return err
- }
- m.replaceAnnotations = false
- } else {
- if err := task.Annotate(m.annotateID, value); err != nil {
- return err
- }
+ _, err = tmpFile.WriteString(description)
+ tmpFile.Close()
+ if err != nil {
+ os.Remove(tmpPath)
+ return descEditDoneMsg{err: err, tempFile: ""}
}
- m.reload()
- return nil
- }
-
- onExit := func() {
- m.annotating = false
- m.replaceAnnotations = false
- }
-
- model, cmd := m.handleTextInput(msg, &m.annotateInput, onEnter, onExit)
- if msg.Type == tea.KeyEnter && m.annotateInput.Value() != "" {
- return model, m.startBlink(m.annotateID, false)
+
+ editor := os.Getenv("EDITOR")
+ if editor == "" {
+ editor = "vi"
+ }
+
+ c := exec.Command(editor, tmpPath)
+ c.Stdin = os.Stdin
+ c.Stdout = os.Stdout
+ c.Stderr = os.Stderr
+
+ return tea.ExecProcess(c, func(err error) tea.Msg {
+ return descEditDoneMsg{err: err, tempFile: tmpPath}
+ })()
}
- return model, cmd
}
```
@@ -245,13 +210,13 @@ func (m *Model) handleAnnotationMode(msg tea.KeyMsg) (tea.Model, tea.Cmd) {
### rexfiles
-* 💻 Languages: Shell (34.8%), Perl (32.9%), Config (8.4%), CSS (8.3%), TOML (7.3%), Ruby (6.0%), Lua (1.8%), JSON (0.5%), INI (0.2%)
+* 💻 Languages: Shell (34.7%), Perl (32.8%), Config (8.4%), CSS (8.2%), TOML (7.3%), Ruby (6.0%), Lua (1.8%), JSON (0.7%), INI (0.2%)
* 📚 Documentation: Text (97.3%), Markdown (2.7%)
-* 📊 Commits: 871
-* 📈 Lines of Code: 3947
+* 📊 Commits: 875
+* 📈 Lines of Code: 3956
* 📄 Lines of Documentation: 854
-* 📅 Development Period: 2021-12-28 to 2025-07-07
-* 🔥 Recent Activity: 20.4 days (avg. age of last 42 commits)
+* 📅 Development Period: 2021-12-28 to 2025-07-09
+* 🔥 Recent Activity: 16.4 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -273,45 +238,6 @@ TOP=20
---
-### foo.zone
-
-* 💻 Languages: HTML (73.9%), XML (25.9%), CSS (0.2%)
-* 📚 Documentation: Text (91.8%), Markdown (8.2%)
-* 📊 Commits: 2892
-* 📈 Lines of Code: 42772
-* 📄 Lines of Documentation: 159
-* 📅 Development Period: 2021-04-29 to 2025-07-01
-* 🔥 Recent Activity: 26.8 days (avg. age of last 42 commits)
-* ⚖️ License: No license found
-* 🧪 Status: Experimental (no releases yet)
-* 🤖 AI-Assisted: This project was partially created with the help of generative AI
-
-
-This is **foo.zone**, a personal blog and technical website belonging to Paul Buetow, a Site Reliability Engineer based in Sofia, Bulgaria. The project is a static website that serves as a comprehensive platform for sharing technical knowledge, book notes, and personal experiences in the fields of system administration, DevOps, and programming.
-
-The site is built using **Gemtexter**, a static site generator that creates both HTML and Gemini protocol content from markdown sources. The architecture is refreshingly simple and follows KISS principles, with content organized into several key sections: a main blog feed (gemfeed) with over 100 technical posts dating back to 2008, detailed book notes and summaries, project documentation (including tools like DTail for distributed log tailing), and personal resources. The website is served by OpenBSD using relayd and httpd, demonstrating the author's preference for robust, security-focused Unix systems. The project emphasizes clean, semantic HTML, custom CSS styling, and accessibility, while maintaining both web and Gemini protocol compatibility for broader reach across different internet communities.
-
-[View on Codeberg](https://codeberg.org/snonux/foo.zone)
-[View on GitHub](https://github.com/snonux/foo.zone)
-
-HTML from `notes/index.html`:
-
-```AUTO
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-<title>Notes on foo.zone</title>
-<link rel="shortcut icon" type="image/gif" href="/favicon.ico" />
-<link rel="stylesheet" href="../style.css" />
-<link rel="stylesheet" href="style-override.css" />
-</head>
-<body>
-```
-
----
-
### dtail
* 💻 Languages: Go (93.9%), JSON (2.8%), C (2.0%), Make (0.5%), C/C++ (0.3%), Config (0.2%), Shell (0.2%), Docker (0.1%)
@@ -320,7 +246,7 @@ HTML from `notes/index.html`:
* 📈 Lines of Code: 20091
* 📄 Lines of Documentation: 5674
* 📅 Development Period: 2020-01-09 to 2025-06-20
-* 🔥 Recent Activity: 52.2 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 52.4 days (avg. age of last 42 commits)
* ⚖️ License: Apache-2.0
* 🏷️ Latest Release: v4.2.0 (2023-06-21)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -337,18 +263,37 @@ The system uses a client-server architecture where dtail servers run on target m
[View on Codeberg](https://codeberg.org/snonux/dtail)
[View on GitHub](https://github.com/snonux/dtail)
-Go from `internal/io/fs/directprocessor.go`:
+Go from `internal/io/signal/signal.go`:
```AUTO
-func NewDirectProcessor(processor LineProcessor, output io.Writer, globID
- string, ltx lcontext.LContext) *DirectProcessor {
- return &DirectProcessor{
- processor: processor,
- output: output,
- stats: &stats{},
- ltx: ltx,
- sourceID: globID,
- }
+func InterruptCh(ctx context.Context) <-chan string {
+ sigIntCh := make(chan os.Signal, 10)
+ gosignal.Notify(sigIntCh, os.Interrupt)
+ sigOtherCh := make(chan os.Signal, 10)
+ gosignal.Notify(sigOtherCh, syscall.SIGHUP, syscall.SIGTERM, syscall.SIGQUIT)
+ statsCh := make(chan string)
+
+ go func() {
+ for {
+ select {
+ case <-sigIntCh:
+ select {
+ case statsCh <- "Hint: Hit Ctrl+C again to exit":
+ select {
+ case <-sigIntCh:
+ os.Exit(0)
+ case <-time.After(time.Second * time.Duration(config.InterruptTimeoutS)):
+ }
+ default:
+ }
+ case <-sigOtherCh:
+ os.Exit(0)
+ case <-ctx.Done():
+ return
+ }
+ }
+ }()
+ return statsCh
}
```
@@ -362,7 +307,7 @@ func NewDirectProcessor(processor LineProcessor, output io.Writer, globID
* 📈 Lines of Code: 396
* 📄 Lines of Documentation: 24
* 📅 Development Period: 2025-04-18 to 2025-05-11
-* 🔥 Recent Activity: 71.5 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 71.7 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2025-05-11)
@@ -395,7 +340,7 @@ def initialize(myself)
* 📈 Lines of Code: 9835
* 📄 Lines of Documentation: 559
* 📅 Development Period: 2024-01-18 to 2025-06-14
-* 🔥 Recent Activity: 83.6 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 83.7 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -413,13 +358,20 @@ The architecture combines kernel-level tracing with user-space analysis: eBPF pr
[View on Codeberg](https://codeberg.org/snonux/ior)
[View on GitHub](https://github.com/snonux/ior)
-C from `internal/c/maps.h`:
+C from `tools/forktest.c`:
```AUTO
-struct {
- __uint(type, BPF_MAP_TYPE_RINGBUF);
- __uint(max_entries, 1 << 24);
-} event_map SEC(".maps");
+int main() {
+ int fd = open("testfile", O_WRONLY| O_CREAT, 0644);
+ if (fd < 0) {
+ perror("open");
+ return 1;
+ }
+ int flags = fcntl(fd, F_GETFL);
+ printf("Parent: File access mode is O_RDWR|O_CREAT (%d %d %d)\n", flags,
+ O_RDWR|O_CREAT, O_WRONLY|O_CREAT);
+
+ pid_t pid = fork();
```
---
@@ -432,7 +384,7 @@ struct {
* 📈 Lines of Code: 25762
* 📄 Lines of Documentation: 3101
* 📅 Development Period: 2008-05-15 to 2025-06-27
-* 🔥 Recent Activity: 84.9 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 85.0 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -447,24 +399,28 @@ The project is built on an event-driven architecture with clear component separa
[View on Codeberg](https://codeberg.org/snonux/ds-sim)
[View on GitHub](https://github.com/snonux/ds-sim)
-Java from `src/main/java/core/VSTaskManager.java`:
+Java from `src/main/java/simulator/VSCreateTask.java`:
```AUTO
-private VSSimulatorVisualization simulatorVisualization;
+private String eventClassname;
+
+private String menuText;
-private PriorityQueue<VSTask> globalTasks;
+private String protocolClassname;
-private LinkedList<VSTask> fullfilledProgrammedTasks;
+private String shortname;
-public final static boolean PROGRAMMED = true;
+private boolean isProtocolActivation;
-public final static boolean ONLY_ONCE = false;
+private boolean isProtocolDeactivation;
-private VSPrefs prefs;
+private boolean isClientProtocol;
-public VSTaskManager(VSPrefs prefs,
- VSSimulatorVisualization simulatorVisualization) {
- init(prefs, simulatorVisualization);
+private boolean isRequest;
+
+public VSCreateTask(String menuText, String eventClassname) {
+ this.menuText = menuText;
+ this.eventClassname = eventClassname;
}
```
@@ -478,7 +434,7 @@ public VSTaskManager(VSPrefs prefs,
* 📈 Lines of Code: 33
* 📄 Lines of Documentation: 3
* 📅 Development Period: 2025-04-03 to 2025-04-03
-* 🔥 Recent Activity: 97.4 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 97.6 days (avg. age of last 42 commits)
* ⚖️ License: No license found
* 🧪 Status: Experimental (no releases yet)
@@ -508,7 +464,7 @@ func main() {
* 📈 Lines of Code: 3967
* 📄 Lines of Documentation: 411
* 📅 Development Period: 2024-05-04 to 2025-06-12
-* 🔥 Recent Activity: 114.4 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 114.5 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🏷️ Latest Release: v1.0.0 (2025-03-04)
* 🤖 AI-Assisted: This project was partially created with the help of generative AI
@@ -525,29 +481,16 @@ The tool is architected around a file-based queueing system where posts progress
[View on Codeberg](https://codeberg.org/snonux/gos)
[View on GitHub](https://github.com/snonux/gos)
-Go from `internal/config/args.go`:
+Go from `internal/platforms/linkedin/linkedin.go`:
```AUTO
-func (a *Args) ParsePlatforms(platformStrs string) error {
- a.Platforms = make(map[string]int)
-
- for _, platformInfo := range strings.Split(platformStrs, ",") {
- parts := strings.Split(platformInfo, ":")
- platformStr := parts[0]
-
- if len(parts) > 1 {
- var err error
- a.Platforms[platformStr], err = strconv.Atoi(parts[1])
- if err != nil {
- return err
- }
- } else {
- colour.Infoln("No message length specified for", platformStr, "so assuming
- 500")
- a.Platforms[platformStr] = 500
- }
+func postImageToLinkedInAPI(ctx context.Context, personURN, accessToken,
+ imagePath string) (string, error) {
+ uploadURL, imageURN, err := initializeImageUpload(ctx, personURN, accessToken)
+ if err != nil {
+ return imageURN, err
}
- return nil
+ return imageURN, performImageUpload(ctx, imagePath, uploadURL, accessToken)
}
```
@@ -557,11 +500,11 @@ func (a *Args) ParsePlatforms(platformStrs string) error {
* 💻 Languages: Perl (100.0%)
* 📚 Documentation: Markdown (85.1%), Text (14.9%)
-* 📊 Commits: 67
-* 📈 Lines of Code: 1299
+* 📊 Commits: 68
+* 📈 Lines of Code: 1556
* 📄 Lines of Documentation: 154
-* 📅 Development Period: 2023-01-02 to 2025-07-07
-* 🔥 Recent Activity: 133.9 days (avg. age of last 42 commits)
+* 📅 Development Period: 2023-01-02 to 2025-07-09
+* 🔥 Recent Activity: 128.9 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -598,7 +541,7 @@ sub write ( $path, $content ) {
* 📈 Lines of Code: 1373
* 📄 Lines of Documentation: 48
* 📅 Development Period: 2024-12-05 to 2025-02-28
-* 🔥 Recent Activity: 138.1 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 138.3 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Status: Experimental (no releases yet)
@@ -610,29 +553,29 @@ The system is implemented with a modular architecture centered around a DSL clas
[View on Codeberg](https://codeberg.org/snonux/rcm)
[View on GitHub](https://github.com/snonux/rcm)
-Ruby from `lib/dslkeywords/notify.rb`:
+Ruby from `lib/dslkeywords/package.rb`:
```AUTO
-def notify(message = nil, &block)
+def package(name, &block)
return unless @conds_met
- n = Notify.new(message.nil? ? '' : message)
- n.message(n.instance_eval(&block)) if block
- self << n
- n
+ f = Package.new(name)
+ f.packages(f.instance_eval(&block))
+ self << f
+ f
```
---
### gemtexter
-* 💻 Languages: Shell (67.9%), CSS (28.9%), Config (2.0%), HTML (1.3%)
-* 📚 Documentation: Text (76.8%), Markdown (23.2%)
-* 📊 Commits: 461
-* 📈 Lines of Code: 2253
-* 📄 Lines of Documentation: 1170
-* 📅 Development Period: 2021-05-21 to 2025-06-11
-* 🔥 Recent Activity: 230.9 days (avg. age of last 42 commits)
+* 💻 Languages: Shell (68.1%), CSS (28.7%), Config (1.9%), HTML (1.3%)
+* 📚 Documentation: Text (76.1%), Markdown (23.9%)
+* 📊 Commits: 465
+* 📈 Lines of Code: 2268
+* 📄 Lines of Documentation: 1180
+* 📅 Development Period: 2021-05-21 to 2025-07-09
+* 🔥 Recent Activity: 200.7 days (avg. age of last 42 commits)
* ⚖️ License: GPL-3.0
* 🏷️ Latest Release: 3.0.0 (2024-10-01)
@@ -644,17 +587,18 @@ The implementation is built entirely in Bash (version 5.x+) using a modular libr
[View on Codeberg](https://codeberg.org/snonux/gemtexter)
[View on GitHub](https://github.com/snonux/gemtexter)
-Shell from `lib/log.source.sh`:
+Shell from `lib/generate.source.sh`:
```AUTO
-log () {
- local -r level="$1"; shift
- local message
+done < <(find "$CONTENT_BASE_DIR/gemtext" -type f -name \*.gmi)
- for message in "$@"; do
- echo "$message"
- done | log::_pipe "$level" $$
-}
+wait
+log INFO "Converted $num_gmi_files Gemtext files"
+
+log VERBOSE "Adding other docs to $*"
+
+while read -r src; do
+ num_doc_files=$(( num_doc_files + 1 ))
```
---
@@ -667,7 +611,7 @@ log () {
* 📈 Lines of Code: 917
* 📄 Lines of Documentation: 33
* 📅 Development Period: 2024-01-20 to 2025-07-06
-* 🔥 Recent Activity: 448.1 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 448.3 days (avg. age of last 42 commits)
* ⚖️ License: MIT
* 🏷️ Latest Release: v0.0.3 (2025-07-06)
@@ -738,7 +682,7 @@ func createPreferenceWindow(a fyne.App) fyne.Window {
* 📈 Lines of Code: 12
* 📄 Lines of Documentation: 3
* 📅 Development Period: 2024-03-24 to 2024-03-24
-* 🔥 Recent Activity: 471.9 days (avg. age of last 42 commits)
+* 🔥 Recent Activity: 472.1 days (avg. age of last 42 commits)
* ⚖️ License: Custom License
* 🧪 Stat