Skip to content

Instantly share code, notes, and snippets.

View Praful932's full-sized avatar
💜
Learning

Praful Praful932

💜
Learning
View GitHub Profile
@Praful932
Praful932 / run_pod_setup.sh
Last active April 14, 2024 07:45
Runpod env setup
#!/bin/bash
# run pod command
# bash -c 'curl -s https://gist.githubusercontent.com/Praful932/246173142223a0495565dcb7b163ab5d/raw/46f73902027b0e44d1c114f71cd7b27893487164/run_pod_setup.sh | bash && /start.sh'
# Step 1: Create a directory for Miniconda
mkdir -p ~/miniconda3
# Step 2: Download Miniconda installer script
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
@Praful932
Praful932 / run_pod_post_start_setup.sh
Last active April 11, 2024 06:06
Runpod post start setup
# cd into directory after running conda init
cd /workspace
# Define the Personal Access Token and repo name
pat="$GITHUB_PAT"
repo_name="$GITHUB_REPO"
username="praful932"
repo_url="https://github.com/Praful932/${repo_name}.git"