sudo snap install lxd && lxd initlxd init --preseed <<EOF| """ | |
| The most atomic way to train and inference a GPT in pure, dependency-free Python. | |
| This file is the complete algorithm. | |
| Everything else is just efficiency. | |
| @karpathy | |
| """ | |
| import os # os.path.exists | |
| import math # math.log, math.exp |
| #Requires -Version 5.1 | |
| <# | |
| .SYNOPSIS | |
| Converts a directory of Markdown files into a styled HTML documentation site with a navigation menu. | |
| .DESCRIPTION | |
| This script automates the process of generating a simple, clean HTML documentation website from a collection of Markdown (.md) files. | |
| It uses Pandoc to perform the conversion and supports Mermaid.js for diagrams. | |
| Features: |
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
| 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.
A custom JRE with Support for JCMD and Remote Debugging
# Java 11
JAVA_TARGET=custom-java-runtime
echo "Create trimmed down JDK" && \
$JAVA_HOME/bin/jlink \
--no-header-files \