This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9458 | ・ | |
---|---|---|
11972 | ー | |
15024 | し | |
15682 | は | |
16073 | ン | |
16144 | の | |
16449 | ・・ | |
16556 | で | |
16995 | い | |
17129 | ま |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3022 | ー | |
---|---|---|
3385 | の | |
3826 | い | |
3829 | し | |
4025 | ン | |
4156 | ・ | |
4344 | で | |
4868 | す | |
5042 | ま | |
5205 | は |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Change multiple OpenAI Assistants' models""" | |
import click | |
from openai import OpenAI | |
EXCLUDED_IDS = [] | |
MODELS_MAP = { | |
"gpt-4-turbo-preview": "gpt-4o", | |
"gpt-4-turbo": "gpt-4o", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
material/templates/.icons/fontawesome | |
├── LICENSE.txt | |
├── brands | |
│ ├── 42-group.svg | |
│ ├── 500px.svg | |
│ ├── accessible-icon.svg | |
│ ├── accusoft.svg | |
│ ├── adn.svg | |
│ ├── adversal.svg | |
│ ├── affiliatetheme.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ab-testing.svg | |
abacus.svg | |
abjad-arabic.svg | |
abjad-hebrew.svg | |
abugida-devanagari.svg | |
abugida-thai.svg | |
access-point-check.svg | |
access-point-minus.svg | |
access-point-network-off.svg | |
access-point-network.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1001tracklists.svg | |
1password.svg | |
2k.svg | |
365datascience.svg | |
3m.svg | |
42.svg | |
4chan.svg | |
4d.svg | |
500px.svg | |
7zip.svg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""OpenAI の Assistant stream API を使う | |
Usage: | |
python -m pip install 'openai==1.14.0' | |
export OPENAI_API_KEY='...' | |
python openai_assistant_stream.py | |
See: https://platform.openai.com/docs/assistants/overview?context=with-streaming | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore | |
xattr -w 'com.apple.fileprovider.ignore#P' 1 my-directory | |
# Disable ignoring | |
xattr -d 'com.apple.fileprovider.ignore#P' my-directory | |
# My aliases | |
alias dropbox-exclude="xattr -w 'com.apple.fileprovider.ignore#P' 1" | |
alias dropbox-include="xattr -d 'com.apple.fileprovider.ignore#P'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
"""Prefix lines with natural numbers.""" | |
import sys | |
from typing import Literal | |
NUMBER_SUFFIX = "." | |
def main() -> str | Literal[0]: | |
if sys.stdin.isatty(): |
NewerOlder