Skip to content

Instantly share code, notes, and snippets.

# need to have conda installed
# these are instructions for macOS
git clone https://github.com/OpenBMB/ChatDev.git
conda create -n ChatDev_conda_env python=3.9 -y
conda activate ChatDev_conda_env
cd ChatDev
pip3 install -r requirements.txt
set OPENAI_API_KEY=your_key
python run.py --task "[description_of_your_idea]" --name "[project_name]"
python3 online_log/app.py
@ayyybe
ayyybe / ccdl.command
Last active April 9, 2024 09:04
Adobe Offline Package Builder v0.1.2 (macOS only) --- No longer being maintained.
#!/bin/bash
CYAN="$(tput bold; tput setaf 6)"
RESET="$(tput sgr0)"
clear
if command -v python3 > /dev/null 2>&1; then
if [ $(python3 -c "print('ye')") = "ye" ]; then
clear
@datagutten
datagutten / gist:8083549
Created December 22, 2013 14:44
A tool to convert map coordinates from UTM to Geographic Original javascript version found on http://www.uwgb.edu/dutchs/usefuldata/ConvertUTMNoOZ.HTM and converted to PHP.
<?Php
//Original version: http://www.uwgb.edu/dutchs/usefuldata/ConvertUTMNoOZ.HTM
function UTMtoGeog($Easting,$Northing,$UtmZone,$SouthofEquator=false) //Convert UTM Coordinates to Geographic
{
//Declarations
//Symbols as used in USGS PP 1395: Map Projections - A Working Manual
$k0 = 0.9996;//scale on central meridian
$a = 6378137.0;//equatorial radius, meters.
$f = 1/298.2572236;//polar flattening.
$b = $a*(1-$f);//polar axis.