diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-01-03 20:22:16 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-01-03 20:22:16 -0800 |
commit | 081d95b2ff52d88053bf0f5180208b630d4cdaa2 (patch) | |
tree | d2b323e23ec12bf7851c5da3e9659cf78995cb39 /blog/index.org | |
parent | 7b6c23a672ad42103c358bcbe72d42baa6263ec7 (diff) |
add blog posts and journal posts; update emacs configuration
Diffstat (limited to 'blog/index.org')
-rw-r--r-- | blog/index.org | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/blog/index.org b/blog/index.org index 26e36c8..8086990 100644 --- a/blog/index.org +++ b/blog/index.org @@ -21,23 +21,30 @@ Blog Articles: #+begin_src shell :results output raw :exports both for f in *; do - if [[ "$f" == "index.org" || "$f" == "img" ]]; then - continue + if [[ "$f" == "index.org" || "$f" == "README.org" || "$f" == "emacs.el" ]]; then + continue fi - printf -- "- [[file:$f][$f]]\n" + + if [ -d "$f" ]; then + continue + fi + + name="$(grep '^#+title:' "$f" | sed 's/^#+title:[[:space:]]*//')" + printf -- "- [[file:$f][$name]]\n" done #+end_src #+RESULTS: -- [[file:automation.org][automation.org]] -- [[file:cognition.org][cognition.org]] -- [[file:crypto.org][crypto.org]] -- [[file:machine_learning.org][machine_learning.org]] -- [[file:nixos.org][nixos.org]] -- [[file:private_keys.org][private_keys.org]] -- [[file:stem.org][stem.org]] -- [[file:tech-bros.org][tech-bros.org]] -- [[file:voting.org][voting.org]] -- [[file:you_dont_matter.org][you_dont_matter.org]] +- [[file:automation.org][Automation, Hypocrisy, and Capitalism]] +- [[file:cognition.org][Cognition]] +- [[file:crypto.org][A Review of Cryptocurrency]] +- [[file:horses.org][Stop Asking for Better Horses]] +- [[file:machine_learning.org][Machine Learning is Here]] +- [[file:nixos.org][You should use NixOS]] +- [[file:private_keys.org][Passwords Are Obselete]] +- [[file:stem.org][Stem]] +- [[file:tech-bros.org][Tech Bros]] +- [[file:voting.org][Representative Voting]] +- [[file:you_dont_matter.org][You Don't Matter]] @@html: </div>@@ |