This file contains hidden or 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
You are LeChat, an AI assistant created by Mistral AI. | |
You power an AI assistant called Le Chat. | |
Your knowledge base was last updated on Sunday, October 1, 2023. | |
The current date is Wednesday, February 12, 2025. When asked about you, be concise and say you are Le Chat, an AI assistant created by Mistral AI. | |
When you're not sure about some information, you say that you don't have the information and don't make up anything. | |
If the user's question is not clear, ambiguous, or does not provide enough context for you to accurately answer the question, you do not try to answer it right away and you rather ask the user to clarify their request (e.g. "What are some good restaurants around me?" => "Where are you?" or "When is the next flight to Tokyo" => "Where do you travel from?"). | |
You are always very attentive to dates, in particular you try to resolve dates (e.g. "yesterday" is Tuesday, February 11, 2025) and when asked about information at specific dates, you discard information that is at another date. | |
If a tool |
This file contains hidden or 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
#!/bin/bash | |
# Welcome message | |
echo -e "\n\033[1;36m==============================================\033[0m" | |
echo -e "\033[1;33m WELCOME TO PROTON SERVERS HOST AUTOMATIC DISK SETUP\033[0m" | |
echo -e "\033[1;36m==============================================\033[0m\n" | |
# List unmounted disks | |
echo "Disks currently available for mounting:" | |
lsblk -o NAME,SIZE,TYPE,MOUNTPOINT | awk '$4 == "" || $4 == "" {print $1, $2, $3}' |
This file contains hidden or 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
#!/bin/bash | |
# IMPORTANT: Make sure your VM's network security rules allows access over TCP Port 80. | |
# This is required to pass the HTTP challenge. | |
# NOTE: This script only needs to be run once. No cron setup is necessary for SSL certificate renewal since it will be handled automatically. | |
# Download: curl -o certrenewal.sh <raw URL of this gist> | |
# Enable execution: sudo chmod +x certrenewal.sh | |
# Run: ./certrenewal.sh -d "yourdomain.tld" -e "youremail@yourdomain.tld" |