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
#!/bin/bash | |
export DEBIAN_FRONTEND="noninteractive" | |
export KUBERNETES_VERSION="1.24.10-00" | |
export DPKG_LOCK_TIMOUT="-1" | |
############################################# | |
# Update && upgrade && install docker.io # | |
############################################# | |
sudo apt-get update && sudo apt-get upgrade -y |
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 sys | |
import requests | |
API_KEY = "YOUR_API_KEY" | |
ENDPOINT = "https://api.openai.com/v1/engines/davinci-codex/completions" | |
HEADERS = { | |
"Content-Type": "application/json", | |
"Authorization": f"Bearer {API_KEY}" | |
} | |
SESSION_ID = "your_session_id" |
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
# !/bin/bash | |
# Remove all files in these directories. | |
rm -rf ~/.helm/cache/archive/* | |
rm -rf ~/.helm/repository/cache/* | |
# Refreash repository configurations | |
helm repo update | |
#That's all. | |
#If you "helm search" next time, you can find newest stable charts in repository. |
OlderNewer