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
# This is intended to be copied and pasted to a console, not executed as a script... for now. | |
# Install some stuff, I use yay, you may use something else | |
sudo pacman -S keepassxc rclone curl | |
mkdir -p ~/.local/bin | |
mkdir -p ~/.local/lib/private | |
chmod 0700 ~/.local/lib/private | |
# CREATE YOUR KEEPASSXC BASE IN ~/.local/lib/private/ |
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
// SPDX-License-Identifier: MIT | |
// | |
// This code will add a GPT3() function in your Google Sheets | |
// This code is originally inspired from https://twitter.com/fabianstelzer/status/1572926883179778050 | |
// To use it, insert your API key below, open Google Sheets -> Extensions -> Apps Script -> Copy & Paste this -> Save | |
// | |
// Usage: =GPT3(prompt, max_tokens (default=15), model (default=davinci)) | |
// Example usage: =GPT3("Once upon a time,", 1000, "davinci") | |
var API_KEY = "your-API-key"; |
OlderNewer