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 zsh | |
# List all bindkey mappings | |
# | |
# @see https://neg-serg.github.io/2017/03/zargs-howto/ | |
autoload -U zargs | |
zargs -i{} $(bindkey -l) -- bindkey -L -M {} |
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
import openai | |
import urllib.parse | |
import peewee as pw | |
from flask import Flask, request | |
from .local_env import LocalEnv | |
TOTAL_MESSAGES = 10 | |
db = pw.SqliteDatabase(LocalEnv.DATABASE_URL) | |
OlderNewer