From b75cb4b1706b3abd5aa824d6e8b7779a8daa14c3 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Mon, 8 Sep 2025 15:43:20 -0700 Subject: [PATCH] update org-habit to display graph --- agenda.org | 34 ++++++++++++++++++---------------- config/emacs.el | 6 +++++- config/emacs.org | 6 +++++- config/nix.org | 7 ++++--- journal/20250908.org | 15 +++++++++++++++ nix/flake.nix | 5 ++--- nix/modules/znc.nix | 2 ++ 7 files changed, 51 insertions(+), 24 deletions(-) create mode 100644 journal/20250908.org diff --git a/agenda.org b/agenda.org index 2704851..5b37104 100644 --- a/agenda.org +++ b/agenda.org @@ -46,6 +46,7 @@ I want to make an analogue computer. ** TODO QFT ** TODO GM ** TODO Complex Analysis +** TODO Topology ** TODO Measure Theory ** TODO Category Theory ** TODO ZK Proof Deep Dive @@ -55,22 +56,17 @@ schedules. ** Friends These are tasks related to seeing my friends. There will be tasks listed here when I schedule something. -*** TODO Transhuman meetup -SCHEDULED: <2025-07-26 Sat 16:00> -I signed up for one with some random people. Meeting Andrei. -*** TODO Camping with David -SCHEDULED: <2025-08-03 Sun> -Camping with several people on this day. -*** TODO Friend coming over -SCHEDULED: <2025-08-09 Sat> * Habits These are some habits I want to track. They are repeated according to a calendar schedule in general. ** TODO Supplements -SCHEDULED: <2025-08-28 Thu .+1d> +SCHEDULED: <2025-09-09 Tue .+1d> :PROPERTIES: -:LAST_REPEAT: [2025-08-27 Wed 21:46] +:LAST_REPEAT: [2025-09-08 Mon 15:39] +:STYLE: habit :END: +- State "DONE" from "TODO" [2025-09-08 Mon 15:39] +- State "DONE" from "TODO" [2025-09-08 Mon 04:35] - State "DONE" from "TODO" [2025-08-27 Wed 21:46] - State "DONE" from "TODO" [2025-08-25 Mon 21:17] - State "DONE" from "TODO" [2025-03-21 Fri 04:48] @@ -83,10 +79,12 @@ Current stack: - Vitamin D3 - EPA/DHA ** TODO Pushups -SCHEDULED: <2025-08-28 Thu .+1d> +SCHEDULED: <2025-09-09 Tue .+1d> :PROPERTIES: -:LAST_REPEAT: [2025-08-27 Wed 21:46] +:LAST_REPEAT: [2025-09-08 Mon 04:35] +:STYLE: habit :END: +- State "DONE" from "TODO" [2025-09-08 Mon 04:35] - State "DONE" from "TODO" [2025-08-27 Wed 21:46] - State "DONE" from "TODO" [2025-08-25 Mon 21:16] - State "DONE" from "TODO" [2025-03-21 Fri 04:49] @@ -101,18 +99,22 @@ SCHEDULED: <2025-08-26 Tue .+1d> - State "DONE" from "TODO" [2025-06-26 Thu 23:22] I want to be able to run or bike every day so that I get my exercise in. ** TODO Stretch -SCHEDULED: <2025-02-12 Wed .+1d> +SCHEDULED: <2025-09-09 Tue .+1d> :PROPERTIES: -:LAST_REPEAT: [2025-02-11 Tue 04:01] +:LAST_REPEAT: [2025-09-08 Mon 04:47] +:STYLE: habit :END: +- State "DONE" from "TODO" [2025-09-08 Mon 04:47] - State "DONE" from "TODO" [2025-02-11 Tue 04:01] - State "DONE" from "TODO" [2025-01-11 Sat 02:26] I want to stretch every day so that I can become more flexible. ** TODO Journal -SCHEDULED: <2025-07-21 Mon .+1d> +SCHEDULED: <2025-09-09 Tue .+1d> :PROPERTIES: -:LAST_REPEAT: [2025-07-20 Sun 21:28] +:LAST_REPEAT: [2025-09-08 Mon 04:35] +:STYLE: habit :END: +- State "DONE" from "TODO" [2025-09-08 Mon 04:35] - State "DONE" from "TODO" [2025-07-20 Sun 21:28] - State "DONE" from "TODO" [2025-06-26 Thu 23:21] - State "DONE" from "TODO" [2025-03-21 Fri 04:49] diff --git a/config/emacs.el b/config/emacs.el index 76948b5..7ab37be 100644 --- a/config/emacs.el +++ b/config/emacs.el @@ -119,7 +119,11 @@ (preview-image-type 'png "Use PNGs") (org-format-latex-options (plist-put org-format-latex-options :scale 1.5) "space latex better") (org-return-follows-link t "be able to follow links without mouse") - (org-habit-preceding-days 1 "See org habit entries") + (org-habit-preceding-days 7 "See org habit entries") + (org-habit-following-days 35 "See org habit entries") + (org-habit-show-habits t "See org habit entries") + (org-habit-show-habits-only-for-today nil "See org habit entries") + (org-habit-show-all-today t "Show org habit graph") (org-startup-indented t "Indent the headings") (org-image-actual-width '(300) "Cap width") (org-startup-with-latex-preview t "see latex previews on opening file") diff --git a/config/emacs.org b/config/emacs.org index dab81d6..07320dc 100644 --- a/config/emacs.org +++ b/config/emacs.org @@ -153,7 +153,11 @@ This is my org mode configuration, which also configures latex. (preview-image-type 'png "Use PNGs") (org-format-latex-options (plist-put org-format-latex-options :scale 1.5) "space latex better") (org-return-follows-link t "be able to follow links without mouse") - (org-habit-preceding-days 1 "See org habit entries") + (org-habit-preceding-days 7 "See org habit entries") + (org-habit-following-days 35 "See org habit entries") + (org-habit-show-habits t "See org habit entries") + (org-habit-show-habits-only-for-today nil "See org habit entries") + (org-habit-show-all-today t "Show org habit graph") (org-startup-indented t "Indent the headings") (org-image-actual-width '(300) "Cap width") (org-startup-with-latex-preview t "see latex previews on opening file") diff --git a/config/nix.org b/config/nix.org index 2a882a3..828363b 100644 --- a/config/nix.org +++ b/config/nix.org @@ -131,10 +131,9 @@ so that adding new configurations that add modifications is made simple. fira-code python3 poetry + statix + deadnix ]; - shellHook = '' - poetry shell - ''; }; packages."${system}" = { @@ -629,6 +628,8 @@ for users: passBlock = '' Method = sha256 + Hash = d4abdd69aa24de69693885c5bd83a4a0e9ee989e1a69a905041b0dad9abc06ea + Salt = sDY,?H5AxC-!gH3a.:)D Hash = ${config.sops.secrets.znc_password_hash} Salt = ${config.sops.secrets.znc_password_salt} diff --git a/journal/20250908.org b/journal/20250908.org new file mode 100644 index 0000000..3ed11d7 --- /dev/null +++ b/journal/20250908.org @@ -0,0 +1,15 @@ +#+TITLE: Daily Journal +#+STARTUP: showeverything +#+DESCRIPTION: My daily journal entry +#+AUTHOR: Preston Pan +#+HTML_HEAD: +#+html_head: +#+html_head: +#+options: broken-links:t +* Monday, 08 September 2025 +** 04:34 +I am working on my monorepo again. I'm almost done, but I want to add impermanence and I want to add a +tmpfs in order to make everything not in certain directories temporary. I hope I'll be able to do that! +** 15:40 +I need to change my sleep schedule. Anyways, I'm going to be working on some topology today hopefully, +and I'm starting to use my org agenda more often now. diff --git a/nix/flake.nix b/nix/flake.nix index 21b5613..326809b 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -111,10 +111,9 @@ fira-code python3 poetry + statix + deadnix ]; - shellHook = '' -poetry shell - ''; }; packages."${system}" = { diff --git a/nix/modules/znc.nix b/nix/modules/znc.nix index 5570802..d32d564 100644 --- a/nix/modules/znc.nix +++ b/nix/modules/znc.nix @@ -8,6 +8,8 @@ passBlock = '' Method = sha256 + Hash = d4abdd69aa24de69693885c5bd83a4a0e9ee989e1a69a905041b0dad9abc06ea + Salt = sDY,?H5AxC-!gH3a.:)D Hash = ${config.sops.secrets.znc_password_hash} Salt = ${config.sops.secrets.znc_password_salt} -- 2.50.1