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
// ==UserScript== | |
// @name Clean New Chat Conversations | |
// @version 1 | |
// @description Deletes all conversations with the title "New chat" in ChatGPT chat page | |
// @match https://chat.openai.com/* | |
// ==/UserScript== | |
const KEY_ACCESS_TOKEN = "chatgpt_access_token"; | |
(async function() { |
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 | |
# create a service account and bind it with cluster-admin role, then export as a kubeconfig | |
# typically used when creating a new minikube/kind cluster | |
set -ex | |
set -o pipefail | |
NAMESPACE=$1 | |
SA_ACCOUNT_NAME=$2 | |
EXPORT_KUBECONFIG_PATH=$3 |
OlderNewer