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/zsh | |
# you might need to call `chmod +x qUranai_ionq.sh` | |
# if you want to set the IONQ_API_KEY environment variable before run this script, you can do it like this: | |
# export IONQ_API_KEY="your_api_key" | |
set -e | |
# 🌟 必要な準備 | |
# APIキーの確認 | |
if [[ -z "$IONQ_API_KEY" ]]; then |
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 | |
# Get the project name from the argument, default to "react-vite-app" | |
PROJECT_NAME=${1:-react-vite-app} | |
REPO_NAME=${2:-repo-name} | |
USER_NAME=${3:-user-name} | |
# GitHub Pages URL | |
HOMEPAGE_URL="https://${USER_NAME}.github.io/${REPO_NAME}/" |
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 | |
set -e | |
echo "Setting up Docker for an existing FastAPI project..." | |
# List directories in the current folder | |
echo "Select a directory from the list below:" | |
select DIR in */; do | |
if [ -n "$DIR" ]; then |
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 | |
set -e | |
echo "Setting up a FastAPI project..." | |
# Input for project name | |
echo "Enter the project name:" | |
read -r PROJECT_NAME | |
# Making the project directory |
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
gist desu |