commit 307b396d7b331f118987fa87fa8173ed5c257f06
parent 3318442766afdb790212c94ac490e7e27a7d68a8
Author: Andrew Laack <andrew@laack.co>
Date: Sun, 12 Oct 2025 16:21:27 -0500
Mergeed changes
Diffstat:
9 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/docs/ComputerScience.md b/docs/ComputerScience.md
@@ -18,3 +18,8 @@ This is the index for my Computer Science related notes.
- [Linux Stuff](LinuxStuff.md)
- [CPP](CPP.md)
- [C](C.md)
+- [Developer Tooling](DeveloperTooling.md)
+
+## Forced to Take Notes on
+
+- [Python](Python.md)
diff --git a/docs/DeveloperTooling.md b/docs/DeveloperTooling.md
@@ -0,0 +1,7 @@
+# Developer Tooling
+
+Index for links to notes on developer tooling
+
+## Tools
+
+- [Git](Git.md)
diff --git a/docs/Git.md b/docs/Git.md
@@ -0,0 +1,7 @@
+# Git
+
+Index for links to notes on git.
+
+## Links
+
+- [Worktrees](Worktrees.md)
diff --git a/docs/Hasattr.md b/docs/Hasattr.md
@@ -0,0 +1,5 @@
+# hasattr()
+
+**Source:** [hasattr()](https://docs.python.org/3.9/library/functions.html?highlight=hasattr#hasattr)
+
+hasattr() is a built-in method to check if an object has a specified attribute. Given that Python doesn't enforce the definition of atributes for objects, this is sometimes necessary.
diff --git a/docs/LinuxStuff.md b/docs/LinuxStuff.md
@@ -17,3 +17,5 @@ These are links to linux stuff that I want to remember, but sometimes forget. Co
# Storage Concepts
- [RAID](RAID.md)
+- [Rsync](Rsync.md)
+- [Git](Git.md)
diff --git a/docs/Python.md b/docs/Python.md
@@ -0,0 +1,11 @@
+# Python
+
+This index tracks Python related concepts.
+
+# Packages
+
+- [Watchdog](Watchdog.md)
+
+# Built-ins
+
+- [Hasattr](Hasattr.md)
diff --git a/docs/Watchdog.md b/docs/Watchdog.md
@@ -0,0 +1,11 @@
+# Watchdog
+
+**Source:** [Watchdog Documentation](https://python-watchdog.readthedocs.io/en/stable/index.html)
+
+## Details
+
+The `watchdog` package is used to monitor changes to the filesystem, using inotify on Linux, but the specifics don't matter too much as it works across platforms.
+
+The usage of the module is primry done with `Observer` objects which accept a function and path, amongst other optional arguments, and calls the function when files are observed to have changed.
+
+NOTE: By default, an `Observer` does not listen for updates in subdirectories, and thus requires passing in the `recursive=True` input to listen for them.
diff --git a/docs/Worktrees.md b/docs/Worktrees.md
@@ -0,0 +1,27 @@
+# Git Worktrees
+
+**Reference:** [Documentation](https://git-scm.com/docs/git-worktree)
+
+## Usage
+
+Git worktrees allow multiple trees to be attached to the same repository. In essence, this allows for checking out multiple branches concurrently.
+
+### Getting Started
+
+To create a worktree run:
+
+`git worktree add /path/to/worktree`
+
+NOTE: This automatically creates a new branch called `worktree` where `worktree` is the final part of the path.
+
+To list worktrees run:
+
+`git worktree list`
+
+To delete a worktree run:
+
+`git worktree remove /path/to/prune`
+
+### Advantages
+
+The primary reason to use worktrees instead of copying the entire directory is to have synchronization between branches.
diff --git a/docs/sed.md b/docs/sed.md