- loguru - Loguru is a library which aims to bring enjoyable logging in Python.
- more-itertools - More routines for operating on iterables, beyond itertools.
- pydantic - Data validation using Python type hints.
- msgspec - A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper.
- Advanced Alchemy - Advanced Alchemy is a carefully crafted, thoroughly tested, optimized companion library for SQLAlchemy, offering useful and easy-to-use features for your database projects.
- SQLModel - SQL databases in Python, designed for simplicity, compatibility, and robustness.
- [Tortoise ORM](https://github
Discover gists
Obsidian forum thread: https://forum.obsidian.md/t/plugin-for-bullet-threading/37317/22
Add these CSS files in Appearance settings.
Changelog:
- 2023-10-02
- highlight snippet
There is a well known issue where GPU drivers are crashing with multi-monitor setups due to an interaction with Windows MPO and both Nvidia and AMD GPUs.
Until this bug is fixed, the only solution is to disable MPO via the Windows Registry.
To apply the fix, simply run mpo_disable.reg
and reboot your computer.
Considering the lack of multi-threaded download support in the official huggingface-cli
, and the inadequate error handling in hf_transfer
, this command-line tool smartly utilizes wget
or aria2
for LFS files and git clone
for the rest.
- ⏯️ Resume from breakpoint: You can re-run it or Ctrl+C anytime.
- 🚀 Multi-threaded Download: Utilize multiple threads to speed up the download process.
- 🚫 File Exclusion: Use
--exclude
or--include
to skip or specify files, save time for models with duplicate formats (e.g.,*.bin
or*.safetensors
). - 🔐 Auth Support: For gated models that require Huggingface login, use
--hf_username
and--hf_token
to authenticate. - 🪞 Mirror Site Support: Set up with
HF_ENDPOINT
environment variable.
My objective is to have some production files ignored on specific branches. Git doesn't allow to do it.
My solution is to make a general .gitignore
file and add .gitignore.branch_name
files for the branches I want to add specific file exclusion.
I'll use post-checkout hook to copy those .gitignore.branch_name in place
of .git/info/exclude
each time I go to the branch with git checkout branch_name
.
# SGR color constants | |
# rene-d 2018 | |
class Colors: | |
""" ANSI color codes """ | |
BLACK = "\033[0;30m" | |
RED = "\033[0;31m" | |
GREEN = "\033[0;32m" | |
BROWN = "\033[0;33m" | |
BLUE = "\033[0;34m" |
# SGR color constants | |
# rene-d 2018 | |
class Colors: | |
""" ANSI color codes """ | |
BLACK = "\033[0;30m" | |
RED = "\033[0;31m" | |
GREEN = "\033[0;32m" | |
BROWN = "\033[0;33m" | |
BLUE = "\033[0;34m" |
- Download these 2 files
- Compile AOSP without fcm from stock and wait for check_vintf to error out
- Delete Python prefix from all lines (e.g.
checkvintf E 06-24 00:30:22 49120 49120 check_vintf.cpp:554]
) - Paste the result in fqnames.txt
- Launch the script