Skip to content

Commit

Permalink
vault backup: 2025-01-07 20:39:12
Browse files Browse the repository at this point in the history
  • Loading branch information
abhiaagarwal committed Jan 8, 2025
1 parent a30b173 commit a167031
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 18 deletions.
1 change: 1 addition & 0 deletions content/health/adhd/regret-and-adhd.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ tags:
- thoughts
title: Regret and ADHD
description: I got diagnosed with ADHD when I was 21 years old. I was illuminating, and extremely frustrating.
draft: true
---

I've always been a person who kinda, "does their own thing". You could call it selfishness. You could call it eccentricity. The truth is probably somewhere in the middle.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Now, I'm gonna tell you the reason this surprised me is that I'm really used to
Here's a toy example of the problem:

```cpp
#include <iostream>

class MyVeryCoolObject {
public:
MyVeryCoolObject() {
Expand All @@ -22,7 +24,7 @@ public:
std::cout << "I have been destroyed :(" << std::endl;
}
};

int main() {
auto verycoolobject = MyVeryCoolObject();
{
Expand Down
23 changes: 23 additions & 0 deletions content/programming/tools/git/multiple-git-accounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Imagine the scenario: you have multiple github accounts, one for personal stuff, one for school, one for work stuff. Managing this stuff becomes a nightmare, and I'm sure y'all can relate to pushing with the wrong email, frantically having to amend, then `git config user.email`.

If you keep your separate "identities" separated via subfolder, there's a nice solution.

In your main `.gitconfig`:

```ini
[includeIf "gitdir:/my/path/"]
path = /my/path/.gitconfig
```

Now, in `/my/path`, create a `.gitconfig`:

```ini
[user]
name = "Your name"
email = "[email protected]"
```

Everything nested under `/my/path` will use those git configs.

Note this doesn't solve the issue of "how do I authenticate to github with multiple accounts", which... is its own can of worms. Maybe someday!

1 change: 1 addition & 0 deletions content/sports/why-do-we-care-about-sports?.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
title: Why do we care so much about sports?
tags:
- thoughts
draft: true
---
5 changes: 5 additions & 0 deletions content/the-art-of-writing-fast.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: The art of writing fast
tags:
- thoughts
---
I really want to become a better writer. My whole life, I've been paralyzed by my own poor prose, jealous of people who can communicate, and desperate to be one of them. I started this mini-blog as a way to develop those writing skills.

Yet I don't write much. Well, I do. I write something, then I leave it in a half-finished state, then I scrap it. I get halfway through an idea, then discover something new about it, then leave it trapped in the prison of my mind, only to be forgotten and rediscovered a few months later.
Expand Down
17 changes: 0 additions & 17 deletions content/why-i-want-to-write.md

This file was deleted.

0 comments on commit a167031

Please sign in to comment.