ahenk-docs/dev/resources.md

128 lines
5.3 KiB
Markdown
Raw Normal View History

2023-07-22 14:15:05 +03:00
# All Development Resources
### Index
- [General](#general)
2023-07-26 22:31:21 +03:00
- [Linux Daemon](#linux-daemon)
- [New Style Daemons](#new-style-daemons)
- [Useful Stackexchange pages](#useful-stackexchange-pages)
- [Daemon Examples in Other Projects](#daemon-examples-in-other-projects)
2023-07-22 14:15:05 +03:00
- [XMPP](#xmpp)
- [XMPP Info](#xmpp-info)
- [Security / Privacy / Encryption](#security-privacy-encryption)
- [XMPP Servers&Clients written in Go](#xmpp-servers-clients-written-in-go)
2023-07-22 14:15:05 +03:00
- [GO](#go)
2023-07-24 06:35:47 +03:00
- [External Git Repos](#external-git-repos)
2023-07-22 14:15:05 +03:00
- [Useful Go Libraries](#useful-go-labraries)
- [Agent Market Search](#agent-market-search)
<br>
<br>
---
<br>
<br>
2023-07-19 10:00:59 +03:00
# General
- https://liderahenk.
- https://docs.liderahenk.
- https://gonullu.pardus.org.tr/merkezi-yonetim-sistemi/
2023-07-22 14:15:05 +03:00
<br>
2023-07-19 10:00:59 +03:00
---
2023-07-22 14:15:05 +03:00
<br>
2023-07-26 22:32:06 +03:00
# Linux Daemon
2023-07-19 10:00:59 +03:00
- https://github.com/sevlyar/go-daemon | Ready-to-use Go Daemon
- https://www.makeuseof.com/create-daemons-on-linux/ | Step-by-Step Daemon Guideline
2023-07-26 22:31:21 +03:00
- [Wikipedia/init](https://en.wikipedia.org/wiki/Init)
- [FreeDesktop.org/man/systemd/daemon](https://www.freedesktop.org/software/systemd/man/daemon.html)
2023-07-27 12:10:00 +03:00
- [ArchWiki/SysVinit](https://wiki.archlinux.org/title/SysVinit)
2023-07-31 16:11:18 +03:00
### New Style Daemons / Systemd
- [superuser/systemd-forking-vs-simple](https://superuser.com/questions/1274901/systemd-forking-vs-simple)
- [ArchWiki/systemd](https://wiki.archlinux.org/title/Systemd)
- [FreeDesktop.org/man/systemd/systemd](https://www.freedesktop.org/software/systemd/man/systemd.html)
- [#new-style](https://www.freedesktop.org/software/systemd/man/daemon.html#New-Style%20Daemons)
2023-07-26 22:31:21 +03:00
### Useful Stackexchange pages
2023-07-26 10:11:54 +03:00
- [stackoverflow/creating-a-daemon-in-linux](https://stackoverflow.com/questions/17954432/creating-a-daemon-in-linux)
- [unix.stackexchange/proper-way-to-run-shell-script-as-a-daemon](https://unix.stackexchange.com/questions/426862/proper-way-to-run-shell-script-as-a-daemon)
2023-07-19 10:00:59 +03:00
- [stackoverflow/how-to-start-a-go-program-as-a-daemon-in-ubuntu](https://stackoverflow.com/questions/10067295/how-to-start-a-go-program-as-a-daemon-in-ubuntu)
- [stackoverflow/how-to-create-a-daemon-process-in-golang](https://stackoverflow.com/questions/23736046/how-to-create-a-daemon-process-in-golang)
2023-07-26 22:31:21 +03:00
- [unix.stackexchange/creating-a-demon-using-systemd](https://unix.stackexchange.com/questions/377483/what-are-ways-of-creating-a-daemon-using-systemd#377498)
2023-07-27 12:10:00 +03:00
- [unix.stackexchange/sysv-upstart-systemd](https://unix.stackexchange.com/questions/196166/how-to-find-out-if-a-system-uses-sysv-upstart-or-systemd-initsystem)
2023-07-26 22:31:21 +03:00
### Old resources or references
- https://web.archive.org/web/20230630212904/http://www.enderunix.org/docs/eng/daemon.php (2001)
2023-07-27 11:34:28 +03:00
- https://ww2.cs.fsu.edu/~bogdanov/private/2013-LIS4488/agenda/week04/daemons-n-services.pdf (2013) | Overview - Daemons and Services
2023-07-27 11:51:35 +03:00
- https://flylib.com/books/en/1.393.1.20/1/ (2011) | BSD Sytle vs SysV daemon
2023-07-27 11:58:43 +03:00
- https://refspecs.linuxbase.org/LSB_3.1.1/LSB-Core-generic/LSB-Core-generic/tocsysinit.html | LSB System Init Scripts
2023-07-31 16:08:15 +03:00
### Signal Handling / Restart
- https://www.developer.com/languages/os-signals-go/
2023-07-31 16:08:58 +03:00
- https://stackoverflow.com/questions/68201595/how-to-restart-itself-in-go-daemon-process
2023-07-31 16:08:15 +03:00
- https://github.com/kylelemons/daemon/blob/master/restart.go
- https://golang.howtos.io/managing-os-signals-in-go/
- https://golang.howtos.io/working-with-system-signals-in-go-using-the-os-signal-package/
2023-07-26 22:31:21 +03:00
### Daemon Examples in Other Projects
- SSH
- [openssh/sshd.c](https://github.com/openssh/openssh-portable/blob/master/sshd.c)
- [openssh/daemon.c](https://github.com/openssh/openssh-portable/blob/master/openbsd-compat/daemon.c#L52)
- Ahenk
- [ahenk/ahenkd.py](https://github.com/Pardus-LiderAhenk/ahenk/blob/master/src/ahenkd.py)
- [ahenk/base_daemon.py](https://github.com/Pardus-LiderAhenk/ahenk/blob/master/src/base/deamon/base_daemon.py)
2023-07-19 10:00:59 +03:00
2023-07-22 14:15:05 +03:00
<br>
2023-07-19 10:00:59 +03:00
---
2023-07-22 14:15:05 +03:00
<br>
2023-07-19 10:00:59 +03:00
# XMPP
2023-07-22 14:15:05 +03:00
### XMPP Info
2023-07-19 10:00:59 +03:00
- https://xmpp.org/ | Official Page
- https://en.wikipedia.org/wiki/XMPP | Wiki
- https://xmpp.org/extensions/ | Specification List
- https://xmpp.org/about/technology-overview/ | Technology Overview and Basic Technical Info
### Security / Privacy / Encryption
- https://wiki.xmpp.org/web/XMPP_E2E_Security | OMEMO, OpenPGP comparison and Info
2023-07-22 14:15:05 +03:00
### XMPP servers/clients written in Go
- https://github.com/ortuman/jackal
- https://github.com/daneharrigan/hipchat
<br>
2023-07-19 10:00:59 +03:00
---
2023-07-22 14:15:05 +03:00
<br>
2023-07-19 10:00:59 +03:00
# Go
2023-07-22 14:15:05 +03:00
- https://github.com/golang/go | Go Source Code
2023-07-24 06:57:15 +03:00
- https://google.github.io/styleguide/go/ | Google, Go Style Guide
- https://go.dev/doc/effective_go | Official Effective Go (old doc)
2023-07-24 06:35:47 +03:00
### External Git Repos
- [asandikci/go-learning](https://git.aliberksandikci.com.tr/asandikci/go-learning) | Go Learning Resources
- [asandikci/go-organization](https://git.aliberksandikci.com.tr/asandikci/go-organization) | Project Structure Resources
- [asandikci/go-exercise](https://git.aliberksandikci.com.tr/asandikci/go-exercise) | Go Exercise Resources and Solutions
2023-07-19 10:00:59 +03:00
### Useful GO Labraries
- https://github.com/kirsle/configdir | Get User Config and Cache Directories
- https://github.com/shibukawa/configdir | Get User Config and Cache Directories
2023-07-26 22:31:21 +03:00
- https://github.com/sevlyar/go-daemon | Go Daemon
2023-07-19 10:00:59 +03:00
2023-07-22 14:15:05 +03:00
<br>
2023-07-19 10:00:59 +03:00
---
2023-07-22 14:15:05 +03:00
<br>
# Agent Market Search
2023-07-24 06:35:47 +03:00
- [grafana/agent](https://github.com/grafana/agent) #golang
- [buildkite/agent](https://github.com/buildkite/agent) #golang
- [open-falcon-archive/agent](https://github.com/open-falcon-archive/agent) #golang
- [jenssegers/agent](https://github.com/jenssegers/agent) #php