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
# Install Miniconda to manage environments | |
!wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
!bash Miniconda3-latest-Linux-x86_64.sh -b -f -p /usr/local | |
import sys | |
sys.path.append('/usr/local/bin') | |
# Create a conda environment with Python 3.12.7 | |
!conda create -n py312 python=3.12.7 -y | |
# Activate the environment and install ipykernel (to use as a Jupyter kernel) |
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
Get-ChildItem -Recurse -File | Where-Object { $_.Length -gt 50MB } | ForEach-Object { $_.Name >> .gitignore; git rm --cached $_.FullName }; git commit -m "Stop tracking files >50MB" |