Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
![Screenshot 2023-12-18 at 10 40 27 PM](https://private-user-images.githubusercontent.com/3837836/291468646-4c30ad72-76ee-4939-a5fb-16b570d38cf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MjEzNzUsIm5iZiI6MTcxOTcyMTA3NSwicGF0aCI6Ii8zODM3ODM2LzI5MTQ2ODY0Ni00YzMwYWQ3Mi03NmVlLTQ5MzktYTVmYi0xNmI1NzBkMzhjZjIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYzMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MzBUMDQxNzU1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MTZmYTFiNTM5ZDFkZjA1MjZjYTljNTNiZDMwNGJhNWRhN2MzZDhkZWQxMzYzZWYzYzM4YTQ1YmIzZjA0NzUwZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.Rf8qgokxh3gm_l9vNqbw9lYogy5-bkin6CroPTUvxCg)
# prompt: "write a snake game for me in python" | |
import random | |
import pygame | |
pygame.init() | |
white = (255, 255, 255) | |
black = (0, 0, 0) |
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 |
#!/bin/sh | |
if [ $# -lt 2 ]; then | |
echo "usage: $0 name zone [time]" | |
exit 1 | |
fi | |
# TODO: check if authenticated and suggest 'gcloud auth login' | |
name=$1 |
# path | |
# C:\Program Files\PowerShell\7 | |
function set_proxy_variable { | |
$proxy = 'http://127.0.0.1:10809' | |
# temporary | |
$env:HTTP_PROXY = $proxy | |
$env:HTTPS_PROXY = $proxy |
# Precondition: Git for Windows 2.9.0 + Windows 7, other version of Git for Windows & Windows XP and Windows 10 should also be supported | |
# In /etc/ssh/sshd_config, set UsePrivilegeSeparation to no | |
# You can also change other settings of SSHD like port in this file | |
# Generate key pairs | |
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -q -N "" | |
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -q -N "" | |
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key -q -N "" | |
ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key -q -N "" |