cyberes / Free LiteLLM Enterprise
0 likes
0 forks
2 files
Last active
1. Install LiteLLM.
2. Edit `venv/lib/python3.XX/site-packages/litellm/proxy/auth/litellm_license.py`
cyberes / plap costs
0 likes
0 forks
2 files
Last active
Data is available at
Use <https://github.com/elasticsearch-dump/elasticsearch-dump> to import into Elastic.
cyberes / Auto Update Mastodon
0 likes
0 forks
4 files
Last active
Keep your Mastodon install up to date.
1 | import subprocess |
2 | import sys |
3 | |
4 | import requests |
5 | |
6 | |
7 | def run_command(command): |
8 | print(command) |
9 | process = subprocess.Popen(['bash', '-c', '. /home/mastodon/.bashrc; . /home/mastodon/.profile; ' + command], stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
10 | out, err = process.communicate() |
cyberes / Random Chub Characters
0 likes
0 forks
2 files
Last active
1 | <!DOCTYPE html> |
2 | <html lang="en"> |
3 | |
4 | <head> |
5 | <title>Random Chub Characters</title> |
6 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
7 | </head> |
8 | |
9 | <body> |
10 | <button id="newItemButton" style="width:100%;margin-bottom:10px;">Get New Item</button> |
cyberes / Simpler Calculator
0 likes
0 forks
1 files
Last active
1 | import os |
2 | while True: |
3 | try: |
4 | os.system("""sudo apt update |
5 | sudo apt install -y git |
6 | TMPRS=$(mktemp) |
7 | wget https://sh.rustup.rs -O "$TMPRS" |
8 | bash "$TMPRS" --profile complete -y |
9 | rm "$TMPRS" |
10 | source "$HOME/.cargo/env" |
cyberes / Simple Calculator
0 likes
0 forks
1 files
Last active
1 | while True: |
2 | try: |
3 | print(eval(input("calculator> "))) |
4 | except Exception as e: |
5 | print(e) |
6 | except KeyboardInterrupt: |
7 | print() |
8 | quit() |
cyberes / Firefox Sync Server Install
0 likes
0 forks
1 files
Last active
1 | #!/bin/bash |
2 | |
3 | |
4 | |
5 | IMPORTANT: make sure to edit the mysql connection info. The lines you need to edit look like this: |
6 | |
7 | mysql://firefox_sync:ecaith8ezieMe7oowies0shee0oj9zii@172.0.2.106/firefox_tokenserver |
8 | |
9 | exit 1 |
10 |
cyberes / sillytavern-chat-to-txt-gpt4.py
0 likes
0 forks
1 files
Last active
Convert SillyTavern jsonl chats to TXT files using AI.
1 | #!/usr/bin/env python3 |
2 | import argparse |
3 | import re |
4 | from pathlib import Path |
5 | import sys |
6 | import json |
7 | import openai |
8 | import tiktoken |
9 | import threading |
10 | import traceback |
cyberes / sillytavern-chat-to-txt.py
0 likes
0 forks
1 files
Last active
Convert SillyTavern jsonl chats to TXT files.
1 | #!/usr/bin/env python3 |
2 | import argparse |
3 | import re |
4 | from pathlib import Path |
5 | import sys |
6 | import json |
7 | |
8 | """ |
9 | Convert SillyTavern jsonl chats to TXT files. |
10 |
Newer
Older