This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. |