Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit a167031

Browse files
committed
vault backup: 2025-01-07 20:39:12
1 parent a30b173 commit a167031

File tree

6 files changed

+33
-18
lines changed

6 files changed

+33
-18
lines changed

content/health/adhd/regret-and-adhd.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ tags:
33
- thoughts
44
title: Regret and ADHD
55
description: I got diagnosed with ADHD when I was 21 years old. I was illuminating, and extremely frustrating.
6+
draft: true
67
---
78

89
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.

content/programming/languages/cpp/things-i-hate-about-cpp/destructive-moves.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ Now, I'm gonna tell you the reason this surprised me is that I'm really used to
1313
Here's a toy example of the problem:
1414

1515
```cpp
16+
#include <iostream>
17+
1618
class MyVeryCoolObject {
1719
public:
1820
MyVeryCoolObject() {
@@ -22,7 +24,7 @@ public:
2224
std::cout << "I have been destroyed :(" << std::endl;
2325
}
2426
};
25-
27+
2628
int main() {
2729
auto verycoolobject = MyVeryCoolObject();
2830
{
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
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`.
2+
3+
If you keep your separate "identities" separated via subfolder, there's a nice solution.
4+
5+
In your main `.gitconfig`:
6+
7+
```ini
8+
[includeIf "gitdir:/my/path/"]
9+
path = /my/path/.gitconfig
10+
```
11+
12+
Now, in `/my/path`, create a `.gitconfig`:
13+
14+
```ini
15+
[user]
16+
name = "Your name"
17+
email = "youremail@email.com"
18+
```
19+
20+
Everything nested under `/my/path` will use those git configs.
21+
22+
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!
23+

content/sports/why-do-we-care-about-sports?.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
title: Why do we care so much about sports?
33
tags:
44
- thoughts
5+
draft: true
56
---

content/the-art-of-writing-fast.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
title: The art of writing fast
3+
tags:
4+
- thoughts
5+
---
16
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.
27

38
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.

content/why-i-want-to-write.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)