This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cl-defun ap/feed-for-url (url &key (prefer 'atom) (all nil)) | |
"Return RSS/ATOM feed URLs for web page at URL." | |
(cl-flet ((add-protocol (protocol url) | |
(unless (s-starts-with? protocol url) | |
(setq url (if (s-starts-with? "//" url) | |
(concat protocol ":" url) | |
(concat protocol "://" url)))) | |
url)) | |
(let* ((protocol (second (s-match (rx (group "http" (optional "s")) "://") | |
url))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; elfeed configuration | |
(use-package elfeed | |
;;;; Keymaps | |
:general | |
(:keymaps '(shr-map) | |
"a" 'pocket-reader-shr-add-link) | |
(:keymaps '(elfeed-show-mode-map elfeed-search-mode-map) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; nano-emacs.el --- NANO Emacs (minimal version) -*- lexical-binding: t -*- | |
;; Copyright (c) 2025 Nicolas P. Rougier | |
;; Released under the GNU General Public License 3.0 | |
;; Author: Nicolas P. Rougier <[email protected]> | |
;; URL: https://github.com/rougier/nano-emacs | |
;; This is NANO Emacs in 256 lines, without any dependency | |
;; Usage (command line): emacs -Q -l nano.el -[light|dark] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to override the defaults | |
[ | |
// The following are Kevin's keybindings for VSCode | |
// They are made available under CC BY 4.0 | |
// | |
// To navigate | |
// `==` denote sections | |
// `---` denotes subsections | |
// | |
// == Dendron |