Skip to content

Instantly share code, notes, and snippets.

View flaviodelgrosso's full-sized avatar
👨‍💻
Coding...

Flavio Del Grosso flaviodelgrosso

👨‍💻
Coding...
View GitHub Profile

Install Docker and Colima on macOS

brew install docker docker-compose
brew install colima
colima start --cpu 4 --memory 8 --mount-type virtiofs --vm-type vz --mount-inotify

Connect symbolic link of docker-compose

@flaviodelgrosso
flaviodelgrosso / docker_install.sh
Last active June 7, 2024 16:11
Install Docker engine in WSL
# Install Docker, you can ignore the warning from Docker about using WSL
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
# Add your user to the Docker group
sudo usermod -aG docker $USER
sudo chmod 666 /var/run/docker.sock
# Install Docker Compose v2
sudo apt-get update && sudo apt-get install docker-compose-plugin
# Define variables
$nvmUrl = "https://github.com/coreybutler/nvm-windows/releases/latest/download/nvm-noinstall.zip"
$userFolder = [System.Environment]::GetFolderPath('UserProfile')
$nvmFolder = "$userFolder\nvm"
$nvmZipPath = "$userFolder\nvm-noinstall.zip"
$settingsFilePath = "$nvmFolder\settings.txt"
# Create NVM folder if it does not exist
if (-Not (Test-Path -Path $nvmFolder)) {
New-Item -ItemType Directory -Force -Path $nvmFolder
@flaviodelgrosso
flaviodelgrosso / insanely-fast-whisper.ipynb
Created June 6, 2024 19:46
insanely-fast-whisper.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@flaviodelgrosso
flaviodelgrosso / ollama_colab_ngrok.ipynb
Created June 8, 2024 14:49
ollama_colab_ngrok.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.