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
"""A sample to send message on Google Chat group with Python requests. | |
Prerequisites: | |
- Google API v1 | |
- A webhook URL taken | |
- Python 3 | |
- Requests (last tested with 2.31.0) | |
Usage: |
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
"""Simple https server for development.""" | |
import ssl | |
from http.server import HTTPServer, SimpleHTTPRequestHandler | |
CERTFILE = './localhost.pem' | |
def main(): | |
https_server(certfile=CERTFILE) |
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
"""Script to export Firestore collection as CSV.""" | |
import csv | |
import sys | |
from pathlib import Path | |
from firebase_admin import credentials, firestore, initialize_app | |
CRED_FILE = Path(__file__).resolve().parent / 'firebase-privateKey.json' | |
COLLECTION_NAME = 'XXX' |
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
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
"""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
name: Use Python Poetry cache on GitHub Actions workflow | |
on: | |
push: | |
branches: | |
- main | |
env: | |
PYTHON_VERSION: "3.11" | |
POETRY_VERSION: "1.4.2" |
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 |
NewerOlder