Site Map
- Site Map:
- bash
- zsh
- c-lang
- rust
- gdb
- css
- make
- elixir
- julia
- golang
- ruby
- java
- scala
- docker
- gradle
- python
- zig
- guile
- clojure
- linux
- windows-os
- mac-os
- kind
- emacs
- radarr
- sonarr
- prowlarr
- jellyfin
- ombi
- roku
- mpv
- wireguard
- rar
- podman
- zfs
- grub
- firefox
- searxng
- steam
- linux-distros
- index
- site-map
- ssh
- sqlite
- postgres
- netdata
- prometheus-tech
- guix
- ansible
- git
- github-stars
- software-contrib
- software-projects
- notes
- donate
- gpg
- tor
- i2p
- cryptocurrency
- systemd
- torrents
- usenet
- 2022-08-01 Monday
- Technology
- cooking
- dns
- firejail
- bpftrace
- bcc
- pihole
- archive-formats
- bootloaders
- browsers
- crypto
- databases
- desktop
- file-systems
- firewalls
- init-system
- machine-learning
- operating-systems
- programming-languages
- service-discovery
- shells
- software-license
- software-metrics
- software-packaging
- software-virt
- text-editors
- version-control
- video-encoding
- video-games
- video-playback
- vpns
- webserver
- android
- openwrt
- software
- webserver
- vpns
- video-playback
- video-games
- video-encoding
- version-control
- text-editors
- software-virt
- software-projects
- software-packaging
- software-metrics
- software-license
- software-contrib
- shells
- service-discovery
- programming-languages
- operating-systems
- machine-learning
- init-system
- firewalls
- file-systems
- desktop
- databases
- crypto
- browsers
- bootloaders
- archive-formats
- hardware
(defun collect-basenames (dir pattern) (mapcar #'file-name-base (directory-files-recursively dir pattern))) (ignore-errors (let* ((org-dir (file-name-directory (or load-file-name buffer-file-name))) (org-files (collect-basenames org-dir "\\.org$")) (html-dir (concat (file-name-as-directory user-emacs-directory) (file-name-as-directory "pages"))) (html-files (collect-basenames html-dir "\\.html$"))) (if (not (equal org-files html-files)) ; each org file is an html page (let* ((html-file (concat html-dir "site_map.html")) (html-ts (file-attribute-modification-time (file-attributes html-file))) (org-html-file (concat org-dir "site_map.html")) (org-html-ts (file-attribute-modification-time (file-attributes org-html-file)))) (if (or (time-less-p org-html-ts html-ts) (time-equal-p org-html-ts html-ts)) (progn (message "setting %s timestamp to %s's +1s" org-html-file html-file) (set-file-times org-html-file (time-add html-ts (seconds-to-time 1)))) (message "skipping timestamp update for site_map %s as it is already more recent than %s" org-html-file html-file))))) )