Skip to content

Commit 84d263c

Browse files
author
GitHub Actions
committed
Deploy confusedalex/blog to confusedalex/blog:gh-pages
0 parents  commit 84d263c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+2342
-0
lines changed

.nojekyll

Whitespace-only changes.

100 Days of journaling/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><meta charset=utf-8><link href=https://confusedalex.dev/blog/100-days-of-journaling/ rel=canonical><meta content="0; url=https://confusedalex.dev/blog/100-days-of-journaling/" http-equiv=refresh><title>Redirect</title><p><a href=https://confusedalex.dev/blog/100-days-of-journaling/>Click here</a> to be redirected.

404.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><title>404 Not Found</title><h1>404 Not Found</h1>

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
confusedalex.dev

atom.xml

Lines changed: 242 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><meta content=@[email protected] name=fediverse:creator><link href=https://indieauth.com/auth rel=authorization_endpoint><link href=https://tokens.indieauth.com/token rel=token_endpoint><link href=https://webmention.io/confusedalex.dev/webmention rel=webmention><link href=https://webmention.io/confusedalex.dev/xmlrpc rel=pingback><title>100 Days of journaling</title><meta content="100 Days of journaling" name=title><meta content=confusedalex name=author><meta content=website property=og:type><meta content=https://confusedalex.dev/blog/100-days-of-journaling/ property=og:url><meta content=confusedalex property=og:site_name><meta content="100 Days of journaling" property=og:title><meta content=https://confusedalex.dev/icon.png property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://confusedalex.dev/blog/100-days-of-journaling/ property=twitter:url><meta content="100 Days of journaling" property=twitter:title><meta content=https://confusedalex.dev/icon.png property=twitter:image><link href=https://confusedalex.dev/blog/100-days-of-journaling/ rel=canonical><link rel="shortcut icon" href=https://confusedalex.dev/favicon.ico type=image/x-icon><link href="https://confusedalex.dev/ atom.xml" rel=alternate title=RSS type=application/atom+xml><link href=/css/reset.css rel=stylesheet><link href=/css/suCSS.css rel=stylesheet><link href=https://confusedalex.dev/css/style.css rel=stylesheet><script defer src=https://confusedalex.dev/js/script.js></script><script data-website-id=7282c6fc-1b4a-4c34-80a0-af8d70c64587 defer src=https://stats.confusedalex.dev/script.js></script><body><header><nav id=nav-bar><a href=/> /home/ </a><a href=/blog> /blog/ </a><a href=/atom.xml> /rss/ </a></nav></header><main><article class=h-entry><div><a href=..>..</a>/<span class=accent-data><a class=u-url href=https://confusedalex.dev/blog/100-days-of-journaling/>100-days-of-journaling</a></span></div><time class=dt-published datetime=2025-01-01>Published on: <span class=accent-data>2025-01-01</span></time><address rel=author>By <span class=accent-data><a class="p-author h-card" href=https://confusedalex.dev>confusedalex</a></span></address><h1 class=p-name>100 Days of journaling</h1><div class=e-content><p>Today marks my 100th day of journaling. It helped me overcome a crisis and enhanced my life in ways I never expected.<h2 id=the-beginning>the beginning</h2><p>But why did I even start journaling? The end of September this year was very hard for me. Many bad things happened that put me into a personal crisis. My mental health suffered immensely, and I needed a way of documenting what I’ve felt (and didn’t feel), what I’ve eaten and what thoughts I had that day. Getting used to journaling wasn’t hard, because I needed to journal. I wrote down thoughts that I had, so they couldn’t keep me away at night. Without journaling, I would have slept much, much less.<br> Once journaling became part of my routine, I started exploring the best format to suit my needs.<h2 id=physical-digital-or-something-in-between>physical, digital, or something in between?</h2><p>Honestly, I didn’t think about this until weeks later. At first, I just needed a way to write. I didn’t have the mental capacity to think of such questions, so I just downloaded the first open source note-taking app that I could find, <a href="https://play.google.com/store/apps/details?id=com.omgodse.notally" rel=noopener target=_blank>Notally</a>. It’s a great app for local notes, but wasn’t that great for journaling. When I didn’t have my phone on me, I couldn’t access my journal. I also was afraid of losing my journal, one big note in the app didn’t feel that safe to me, so I started looking for alternatives.<h3 id=the-appeal-of-a-physical-journal>the appeal of a physical journal</h3><p>The idea of a physical notebook had a romantic appeal. But for someone as forgetful as me, it wasn’t practical. If I ever misplaced it during a mental breakdown, I’d lose my way to cope with it. That’s a risk I couldn’t take. So, I decided against it.<h3 id=finding-the-right-digital-solution>finding the right digital solution</h3><p>But what digital app could be a good replacement? I want to access my journal anytime and everywhere. From my phone, laptop, desktop or even my Steam Deck. Also, I didn’t want to fall victim to vendor lock-in. Ideally my notes would be saved in plain text, so I chose my favorite markdown note-taking program <a href=https://obsidian.md/ rel=noopener target=_blank>Obsidian</a>. It’s free, though not open-source, but that’s okay because my notes are still stored as plain text markdown files. The Daily Notes plugin automatically creates a note for the current day. And I can even link notes, to connect things together. This is great because I witnessed other improvements that journaling gave me.<h2 id=why-i-still-journal>why i still journal</h2><p>The initial crisis I mentioned in the beginning is over. I still sometimes cry, but my last breakdown was some weeks ago and I feel mentally stable. But I experienced other great benefits from journaling that really improved my life. The crisis may be over, but negative thoughts or haunting questions are still occasionally present. Trusting my journal with these things helped me to distance myself from them and get a new perspective on some problems. It also helped me let go of these things. But the most important benefit I’ve experienced is, that my memory has improved. If I wrote about a talk I had with a friend, an activity I did or a thought that I had, I could remember that. This is a game changer for me, because I am really, really forgetful. If we combine this benefit with the ability to link things together, I could, for example, keep track of every meeting (not the business type of meeting) I had with a person, because I can now see on which day I last linked to a person.<p><img alt=obsidian-graph.png src=https://confusedalex.dev/blog/100-days-of-journaling/./obsidian-graph.png><p>This is my graph, every point represents a note. The yellow notes are my daily notes, red notes are people. These notes now interconnect and form a web. This is not only incredibly cool to look at, but also incredibly useful. I can now open a note of a friend of mine and see the last time I mentioned them. This helps me reach out to friends more regularly, because I can see when I reached out to them the last time.<p><img alt=mentioned-example.png src=https://confusedalex.dev/blog/100-days-of-journaling/./mentioned-example.png><h2 id=conclusion>conclusion</h2><p>100 days in, journaling has done more than just help me through tough times. It helped me understand myself better, cope with negative emotions and improved my memory. I’ll keep up the habit of journaling for the now-fresh year of 2025</div><p class=tags-data><a href=/tags/emotional>/emotional/</a> <a href=/tags/obsidian>/obsidian/</a><hr><section class=box><strong>Reply via email</strong><p>Thoughts, feedback, questions? I would like to hear about them! Just drop me an email at <a href=mailto:[email protected]> hello[at]confusedalex.dev</a></section><br><section class=box><h2>Webmentions</h2><div><span>Discuss this post on </span><a class="capitalize u-syndication" href=https://indieweb.social/@confusedalex/113760369110698625 rel=syndication> mastodon</a>, <a class="capitalize u-syndication" href="https://news.ycombinator.com/item?id=42569332" rel=syndication> hackernews</a></div><details open><summary><span>1 Like</span></summary> <div class=webmention-like><a href=https://mastodon.social/@iamrobin rel=noopener><img src=https://avatars.webmention.io/cdn.masto.host/94943b1c4865d2ca158fae73e08f2c2ad25087898b83a6879dd6bd815571a192.jpg title=Robin></a></div></details></section><footer><hr><div id=footer-container></div><div><div class=retro-buttons-container><a href=https://512kb.club><img alt="a proud member of the green team of 512KB club" class=retro-button sizes=88x31 src=https://512kb.club/assets/images/green-team.gif></a><a href=https://neovim.io/><img alt="A button that indicated that this site was edited with VIM" class=retro-button sizes=88x31 src=/buttons/vim-button.gif></a><a href=https://transkidsdeservebetter.org/><img alt="A button that advocates for trans rights" class=retro-button sizes=88x31 src=/buttons/trans-rights-now.gif></a><a href=https://www.gnu.org/software/emacs/><img alt="A button that states, that this website was created with EMACS" class=retro-button sizes=88x31 src=/buttons/created-with-emacs.gif></a><a href=https://confusedalex.dev><img class=retro-button sizes=88x31 src=/buttons/confusedalex.gif></a></div></div></footer>
7.05 KB
Loading
139 KB
Loading
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<!doctype html><html lang=en><head><meta charset=UTF-8><meta content="IE=edge" http-equiv=X-UA-Compatible><meta content="text/html; charset=UTF-8" http-equiv=content-type><meta content="width=device-width,initial-scale=1,user-scalable=no" name=viewport><meta content="index, follow" name=robots><meta content=@[email protected] name=fediverse:creator><link href=https://indieauth.com/auth rel=authorization_endpoint><link href=https://tokens.indieauth.com/token rel=token_endpoint><link href=https://webmention.io/confusedalex.dev/webmention rel=webmention><link href=https://webmention.io/confusedalex.dev/xmlrpc rel=pingback><title>TIL: git conditional config with and without home-manager</title><meta content="TIL: git conditional config with and without home-manager" name=title><meta content=confusedalex name=author><meta content=website property=og:type><meta content=https://confusedalex.dev/blog/git-conditional-config/ property=og:url><meta content=confusedalex property=og:site_name><meta content="TIL: git conditional config with and without home-manager" property=og:title><meta content=https://confusedalex.dev/icon.png property=og:image><meta content=summary_large_image property=twitter:card><meta content=https://confusedalex.dev/blog/git-conditional-config/ property=twitter:url><meta content="TIL: git conditional config with and without home-manager" property=twitter:title><meta content=https://confusedalex.dev/icon.png property=twitter:image><link href=https://confusedalex.dev/blog/git-conditional-config/ rel=canonical><link rel="shortcut icon" href=https://confusedalex.dev/favicon.ico type=image/x-icon><link href="https://confusedalex.dev/ atom.xml" rel=alternate title=RSS type=application/atom+xml><link href=/css/reset.css rel=stylesheet><link href=/css/suCSS.css rel=stylesheet><link href=https://confusedalex.dev/css/style.css rel=stylesheet><script defer src=https://confusedalex.dev/js/script.js></script><script data-website-id=7282c6fc-1b4a-4c34-80a0-af8d70c64587 defer src=https://stats.confusedalex.dev/script.js></script><body><header><nav id=nav-bar><a href=/> /home/ </a><a href=/blog> /blog/ </a><a href=/atom.xml> /rss/ </a></nav></header><main><article class=h-entry><div><a href=..>..</a>/<span class=accent-data><a class=u-url href=https://confusedalex.dev/blog/git-conditional-config/>git-conditional-config</a></span></div><time class=dt-published datetime=2025-02-19>Published on: <span class=accent-data>2025-02-19</span></time><address rel=author>By <span class=accent-data><a class="p-author h-card" href=https://confusedalex.dev>confusedalex</a></span></address><h1 class=p-name>TIL: git conditional config with and without home-manager</h1><div class=e-content><p>Today I learnt how to use git conditional config to use multiple identities easily.<br> I use git for my private project and the projects I need to work at my day job.<br> To keep these two projects apart, I have a <code>~/projects</code> folder in my home directory with the two subfolder <code>~/projects/work</code> and <code>~/projects/personal</code>. Now we can tell git to always use the one identity for all projects under <code>~/projects/personal</code> and another for <code>~/projects/work</code>. We just add two includeIfs in our git config. With includeIf we can specify other files to source if the condition is met. The prepended “gitdir:” just means every git repository under this directory. <sup class=footnote-reference id=fr-1-1><a href=#fn-1>[1]</a></sup><pre style=color:#fdf4c1aa;background-color:#282828><code><span>[includeIf "gitdir:~/projects/personal/"]
2+
</span><span> path = "./personal"
3+
</span><span>
4+
</span><span>[includeIf "gitdir:~/projects/work/"]
5+
</span><span> path = "./work"
6+
</span></code></pre><p>In the personal config, we specify our personal identity<pre style=color:#fdf4c1aa;background-color:#282828><code><span>[user]
7+
</span><span> email = "[email protected]"
8+
</span><span> name = "confusedalex"
9+
</span><span> signingKey = "05AF71643F6E2ED3"
10+
</span></code></pre><p>and do the same for the work config.<h2 id=integrating-with-home-manager>Integrating with home-manager</h2><p>Because I use <a href=https://nix-community.github.io/home-manager/index.xhtml rel=noopener target=_blank>home-manager</a> I want to specify these conditionals with nix. We just need to add a list we attributes sets for every include.<blockquote><p>Everything under contents must follow the structure as in git-config.</blockquote><pre class=language-nix data-lang=nix style=color:#fdf4c1aa;background-color:#282828><code class=language-nix data-lang=nix><span>{
11+
</span><span> </span><span style=color:#8ec07c>programs</span><span>.</span><span style=color:#8ec07c>git </span><span style=color:#fe8019>= </span><span>{
12+
</span><span> </span><span style=color:#8ec07c>enable </span><span style=color:#fe8019>= </span><span style=color:#d3869b>true</span><span>;
13+
</span><span> </span><span style=color:#928374;font-style:italic># ...
14+
</span><span> </span><span style=color:#8ec07c>includes </span><span style=color:#fe8019>= </span><span>[
15+
</span><span> {
16+
</span><span> </span><span style=color:#8ec07c>condition </span><span style=color:#fe8019>= </span><span style=color:#b8bb26>"gitdir:~/projects/personal/"</span><span>;
17+
</span><span> </span><span style=color:#8ec07c>contents </span><span style=color:#fe8019>= </span><span>{
18+
</span><span> </span><span style=color:#8ec07c>user </span><span style=color:#fe8019>= </span><span>{
19+
</span><span> </span><span style=color:#8ec07c>name </span><span style=color:#fe8019>= </span><span style=color:#b8bb26>"confusedalex"</span><span>;
20+
</span><span> </span><span style=color:#8ec07c>email </span><span style=color:#fe8019>= </span><span style=color:#b8bb26>"[email protected]"</span><span>;
21+
</span><span> </span><span style=color:#8ec07c>signingKey </span><span style=color:#fe8019>= </span><span style=color:#b8bb26>"05AF71643F6E2ED3"</span><span>;
22+
</span><span> };
23+
</span><span> </span><span style=color:#8ec07c>gpg</span><span>.</span><span style=color:#8ec07c>format </span><span style=color:#fe8019>= </span><span style=color:#b8bb26>"openpgp"</span><span>;
24+
</span><span> };
25+
</span><span> }
26+
</span><span> {
27+
</span><span> </span><span style=color:#8ec07c>condition </span><span style=color:#fe8019>= </span><span style=color:#b8bb26>"gitdir:~/projects/work/"</span><span>;
28+
</span><span> </span><span style=color:#8ec07c>contents </span><span style=color:#fe8019>= </span><span>{
29+
</span><span> </span><span style=color:#928374;font-style:italic>#...
30+
</span><span> };
31+
</span><span> }
32+
</span><span> ];
33+
</span><span> };
34+
</span><span>}
35+
</span></code></pre><hr><ol class=footnotes-list><li id=fn-1><p><a href=https://git-scm.com/docs/git-config#_includes rel=noopener target=_blank> https://git-scm.com/docs/git-config#_includes </a> <a href=#fr-1-1></a></p></ol></div><p class=tags-data><a href=/tags/til>/til/</a> <a href=/tags/git>/git/</a> <a href=/tags/nix>/nix/</a><hr><section class=box><strong>Reply via email</strong><p>Thoughts, feedback, questions? I would like to hear about them! Just drop me an email at <a href=mailto:[email protected]> hello[at]confusedalex.dev</a></section><br><section class=box><h2>Webmentions</h2><div><span>Discuss this post on </span><a class="capitalize u-syndication" href="https://news.ycombinator.com/item?id=43100630" rel=syndication> hackernews</a>, <a class="capitalize u-syndication" href=https://indieweb.social/@confusedalex/114030084197782234 rel=syndication> mastodon</a></div><div class=webmention><p>No webmentions yet. Be the first to comment, like or repost!</div></section><footer><hr><div id=footer-container></div><div><div class=retro-buttons-container><a href=https://512kb.club><img alt="a proud member of the green team of 512KB club" class=retro-button sizes=88x31 src=https://512kb.club/assets/images/green-team.gif></a><a href=https://neovim.io/><img alt="A button that indicated that this site was edited with VIM" class=retro-button sizes=88x31 src=/buttons/vim-button.gif></a><a href=https://transkidsdeservebetter.org/><img alt="A button that advocates for trans rights" class=retro-button sizes=88x31 src=/buttons/trans-rights-now.gif></a><a href=https://www.gnu.org/software/emacs/><img alt="A button that states, that this website was created with EMACS" class=retro-button sizes=88x31 src=/buttons/created-with-emacs.gif></a><a href=https://confusedalex.dev><img class=retro-button sizes=88x31 src=/buttons/confusedalex.gif></a></div></div></footer>

0 commit comments

Comments
 (0)