sudo snap install lxd && lxd init
lxd init --preseed <<EOF
git clone https://github.com/OpenDevin/OpenDevin.git | |
cd OpenDevin | |
conda create -n od python=3.10 | |
conda activate od | |
docker ps | |
(optional) install docker if not already installed | |
docker pull ghcr.io/opendevin/sandbox | |
export OPENAI_API_KEY={your key} | |
(optional I had to install rust) curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs/) | sh | |
(optional) restart terminal |
# Source: https://gist.github.com/f744313878391196ae9aea5b9dc17071 | |
########################################################################## | |
# Container (Docker) Images Without Dockerfile With Buildpacks and kpack # | |
# https://youtu.be/fbSoKu8NGSU # | |
########################################################################## | |
# Additional Info: | |
# - Cloud Native Buildpacks: https://buildpacks.io | |
# - Paketo Buildpacks: https://paketo.io |
Install MySQL-8.0 from [here].
Open Terminal and go to /MySQL-8.0/bin
directory.
Run mysqld --initialize
.
This will initialize the mysql data directory at location specified in /MySQL-8.0/my.ini
file;
if not, it will initialize the data directory inside /MySQL-8.0/data
.
Run mysqld --console
command.
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
*.pid.lock |
package main | |
import ( | |
"bufio" | |
"context" | |
"fmt" | |
"log" | |
"os" | |
"time" | |
) |