A collection of small snippets of mostly technical stuff that I learn and get back to regularly. Though, this repo feels more like a Note to Self than a collection of snippets.
24 TILs and counting...
- Consistent LF Endings in Git
- Delete remote and local remote-tracking branch
- A better Git log
- Uncommit last commit
- Undo changes of last commit
- Create an empty commit
- Navigating to other commits
- Split branch by files modified
- Merge a remote branch without checkout
- Store a Dictionary with Numpy Arrays as a JSON object
- Fix Dependency Errors in Conda
- Use Dataclass to automatically create special functions
- Default Dictionary Values
- Create and use a virtual environment
A pre-commit hook is configured to run the update_til_count.py
script before each commit to auto-updated the TIL count in this README.
I got the inspiration for this from Josh Branchaud's repository jbranchaud/til. I first read about the idea of documenting what I learn in Shawn Wang's blog Learn in Public.
This repository is licensed under the terms of the MIT license. See LICENSE
for details.