Debian will eat less RAM and have all the features that we need.
nano /etc/apt/sources.list.d/*
#!/usr/bin/env python3 | |
""" | |
Send a single Telegram message via Bot API. | |
Made by: ChatGPT 5 Thinking | |
Notes | |
----- | |
- Requires the target user to have started a chat with the bot. | |
- Uses only Python's standard library (urllib) for zero dependencies. |
import os; | |
import sys; | |
from pypdf import PdfReader; | |
os.makedirs("attachments", exist_ok=True); | |
print([open(f"attachments/{name}", "wb").write(content) | |
for name, content_list in PdfReader(sys.argv[1]).attachments.items() | |
for content in content_list]) |
#!/usr/bin/env /bin/bash | |
echo "Installing VSCode rpm" | |
if [ "$EUID" -ne 0 ] | |
then echo "Please run as root" | |
exit 1 | |
fi | |
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc | |
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null | |
dnf check-update | |
sudo dnf -y install code |
class Locale: | |
greet: list[str] = [''] | |
success: str = '' |