echo "Using conditional statement to create a project directory and project"

# Variable section
export project_dir=$HOME/vscode  # change vscode to different name to test git clone
export project=$project_dir/APCSP  # change APCSP to name of project from git clone
export project_repo="https://github.com/nighthawkcoders/APCSP.git"  # change to project of choice

cd ~    # start in home directory

# Conditional block to make a project directory
if [ ! -d $project_dir ]
then 
    echo "Directory $project_dir does not exists... makinng directory $project_dir"
    mkdir -p $project_dir
fi
echo "Directory $project_dir exists." 

# Conditional block to git clone a project from project_repo
if [ ! -d $project ]
then
    echo "Directory $project does not exists... cloning $project_repo"
    cd $project_dir
    git clone $project_repo
    cd ~
fi
echo "Directory $project exists."
Using conditional statement to create a project directory and project
Directory /Users/advayshindikar/vscode exists.
Directory /Users/advayshindikar/vscode/APCSP exists.
echo "Navigate to project, then navigate to area wwhere files were cloned"
cd $project
pwd

echo ""
echo "list top level or root of files with project pulled from github"
ls

echo ""
echo "list again with hidden files pulled from github"
ls -a   # hidden files flag, many shell commands have flags

echo ""
echo "list all files in long format"
ls -al   # all files and long listing
Navigate to project, then navigate to area wwhere files were cloned
/Users/advayshindikar/vscode/APCSP

list top level or root of files with project pulled from github
Gemfile			_includes		_word
LICENSE			_layouts		assets
Makefile		_notebooks		docker-compose.yml
README.md		_pages			images
_action_files		_plugins		index.html
_config.yml		_posts			python
_fastpages_docs		_sass

list again with hidden files pulled from github
.			Makefile		_posts
..			README.md		_sass
.devcontainer.json	_action_files		_word
.git			_config.yml		assets
.gitattributes		_fastpages_docs		docker-compose.yml
.github			_includes		images
.gitignore		_layouts		index.html
.vscode			_notebooks		python
Gemfile			_pages
LICENSE			_plugins

list all files in long format
total 96
drwxr-xr-x  28 advayshindikar  staff    896 Oct  6 15:44 .
drwxr-xr-x   8 advayshindikar  staff    256 Nov 15 13:00 ..
-rw-r--r--   1 advayshindikar  staff    420 Oct  6 15:44 .devcontainer.json
drwxr-xr-x  14 advayshindikar  staff    448 Nov  1 21:06 .git
-rw-r--r--   1 advayshindikar  staff     84 Oct  6 15:44 .gitattributes
drwxr-xr-x   4 advayshindikar  staff    128 Oct  6 15:44 .github
-rw-r--r--   1 advayshindikar  staff   1503 Oct  6 15:44 .gitignore
drwxr-xr-x   3 advayshindikar  staff     96 Oct  6 15:44 .vscode
-rwxr-xr-x   1 advayshindikar  staff   1304 Oct  6 15:44 Gemfile
-rw-r--r--   1 advayshindikar  staff  11351 Oct  6 15:44 LICENSE
-rwxr-xr-x   1 advayshindikar  staff   1422 Oct  6 15:44 Makefile
-rwxr-xr-x   1 advayshindikar  staff   3614 Oct  6 15:44 README.md
drwxr-xr-x  18 advayshindikar  staff    576 Oct  6 15:44 _action_files
-rw-r--r--   1 advayshindikar  staff   3717 Oct  6 15:44 _config.yml
drwxr-xr-x  24 advayshindikar  staff    768 Oct  6 15:44 _fastpages_docs
drwxr-xr-x  29 advayshindikar  staff    928 Oct  6 15:44 _includes
drwxr-xr-x   6 advayshindikar  staff    192 Oct  6 15:44 _layouts
drwxr-xr-x  17 advayshindikar  staff    544 Nov  3 22:15 _notebooks
drwxr-xr-x   9 advayshindikar  staff    288 Oct  6 15:44 _pages
drwxr-xr-x   4 advayshindikar  staff    128 Oct  6 15:44 _plugins
drwxr-xr-x  46 advayshindikar  staff   1472 Oct  6 15:44 _posts
drwxr-xr-x   3 advayshindikar  staff     96 Oct  6 15:44 _sass
drwxr-xr-x   3 advayshindikar  staff     96 Oct  6 15:44 _word
drwxr-xr-x   4 advayshindikar  staff    128 Oct  6 15:44 assets
-rwxr-xr-x   1 advayshindikar  staff   1136 Oct  6 15:44 docker-compose.yml
drwxr-xr-x  88 advayshindikar  staff   2816 Oct  6 15:44 images
-rw-r--r--   1 advayshindikar  staff   1059 Oct  6 15:44 index.html
drwxr-xr-x   3 advayshindikar  staff     96 Oct  6 15:44 python
echo "Look for posts"
export posts=$project/_posts  # _posts inside project
cd $posts  # this should exist per fastpages
pwd  # present working directory
ls -l  # list posts
Look for posts
/Users/advayshindikar/vscode/APCSP/_posts
total 672
-rw-r--r--  1 advayshindikar  staff   7305 Oct  6 15:44 2022-06-01-computer_systems_networks.md
-rw-r--r--  1 advayshindikar  staff   5557 Oct  6 15:44 2022-06-01-legal_ethics.md
-rw-r--r--  1 advayshindikar  staff   5858 Oct  6 15:44 2022-07-07-PBL-binary.md
-rw-r--r--  1 advayshindikar  staff   3082 Oct  6 15:44 2022-07-08-PBL-grade_calc.md
-rw-r--r--  1 advayshindikar  staff   3695 Oct  6 15:44 2022-07-08-PBL-graph.md
-rw-r--r--  1 advayshindikar  staff   5726 Oct  6 15:44 2022-07-08-PBL-life.md
-rw-r--r--  1 advayshindikar  staff  14384 Oct  6 15:44 2022-07-08-PBL-snake.md
-rw-r--r--  1 advayshindikar  staff   2593 Oct  6 15:44 2022-07-10-PBL-database.md
-rw-r--r--  1 advayshindikar  staff   5660 Oct  6 15:44 2022-07-10-PBL-jokes.md
-rw-r--r--  1 advayshindikar  staff   4043 Oct  6 15:44 2022-07-10-PBL-rapidapi.md
-rw-r--r--  1 advayshindikar  staff   6682 Oct  6 15:44 2022-07-19-PBL-calculator.md
-rw-r--r--  1 advayshindikar  staff  23316 Oct  6 15:44 2022-07-25-CSP-workshop.md
-rw-r--r--  1 advayshindikar  staff   4371 Oct  6 15:44 2022-08-15-AP-pseudo_code.md
-rw-r--r--  1 advayshindikar  staff   2348 Oct  6 15:44 2022-08-15-HM-student_score_history.md
-rw-r--r--  1 advayshindikar  staff  15419 Oct  6 15:44 2022-08-15-PBL-tools.md
-rw-r--r--  1 advayshindikar  staff   8050 Oct  6 15:44 2022-08-15-PT-tool_setup.md
-rw-r--r--  1 advayshindikar  staff   5586 Oct  6 15:44 2022-08-15-TT101-vscode-wsl.md
-rw-r--r--  1 advayshindikar  staff   5186 Oct  6 15:44 2022-08-22-PBL-fastpages.md
-rw-r--r--  1 advayshindikar  staff   2237 Oct  6 15:44 2022-08-22-PT-intro_python.md
-rw-r--r--  1 advayshindikar  staff   6500 Oct  6 15:44 2022-08-29-PBL-html_fragments.md
-rw-r--r--  1 advayshindikar  staff   2667 Oct  6 15:44 2022-08-29-PT-data_abstraction.md
-rw-r--r--  1 advayshindikar  staff   2332 Oct  6 15:44 2022-08-29-PT120-data_abstract.md
-rw-r--r--  1 advayshindikar  staff   9050 Oct  6 15:44 2022-09-05-AP-create_performance_task.md
-rw-r--r--  1 advayshindikar  staff   8013 Oct  6 15:44 2022-09-05-HM-create-task-bria.md
-rw-r--r--  1 advayshindikar  staff   3905 Oct  6 15:44 2022-09-05-PBL-applab.md
-rw-r--r--  1 advayshindikar  staff   3165 Oct  6 15:44 2022-09-05-PT-creative_dev.md
-rw-r--r--  1 advayshindikar  staff   8168 Oct  6 15:44 2022-09-05-PT-creative_development.md
-rw-r--r--  1 advayshindikar  staff   1587 Oct  6 15:44 2022-09-12-AP-colaboration.md
-rw-r--r--  1 advayshindikar  staff   3205 Oct  6 15:44 2022-09-12-HM-focus.md
-rw-r--r--  1 advayshindikar  staff   5422 Oct  6 15:44 2022-09-12-PBL-fastpages-docker.md
-rw-r--r--  1 advayshindikar  staff   3580 Oct  6 15:44 2022-09-12-PBL-python_flask.md
-rw-r--r--  1 advayshindikar  staff   2658 Oct  6 15:44 2022-09-12-PT-python_server.md
-rw-r--r--  1 advayshindikar  staff   1124 Oct  6 15:44 2022-09-19-AP-program_purpose.md
-rw-r--r--  1 advayshindikar  staff  10871 Oct  6 15:44 2022-09-19-HM-agile.md
-rw-r--r--  1 advayshindikar  staff   2467 Oct  6 15:44 2022-09-19-PT-frontend_starters.md
-rw-r--r--  1 advayshindikar  staff   6048 Oct  6 15:44 2022-09-26-AP-program_design.md
-rw-r--r--  1 advayshindikar  staff   4890 Oct  6 15:44 2022-09-26-HM-github-sociology.md
-rw-r--r--  1 advayshindikar  staff  35454 Oct  6 15:44 2022-09-26-PBL-deploy.md
-rw-r--r--  1 advayshindikar  staff   1160 Oct  6 15:44 2022-09-26-PT-deployment.md
-rw-r--r--  1 advayshindikar  staff   3053 Oct  6 15:44 2022-09-27-VPNs.md
-rw-r--r--  1 advayshindikar  staff   1209 Oct  6 15:44 2022-10-03-PT-api.md
-rw-r--r--  1 advayshindikar  staff   4757 Oct  6 15:44 2022-10-10-AP-binary_logic.md
-rw-r--r--  1 advayshindikar  staff    720 Oct  6 15:44 README.md
-rw-r--r--  1 advayshindikar  staff    376 Oct  6 15:44 sample.md
echo "Look for posts"
export posts=$project/_posts  # _posts inside project
cd $posts  # this should exist per fastpages
pwd  # present working directory
ls -l  # list posts
Look for posts
/Users/advayshindikar/vscode/APCSP/_posts
total 672
-rw-r--r--  1 advayshindikar  staff   7305 Oct  6 15:44 2022-06-01-computer_systems_networks.md
-rw-r--r--  1 advayshindikar  staff   5557 Oct  6 15:44 2022-06-01-legal_ethics.md
-rw-r--r--  1 advayshindikar  staff   5858 Oct  6 15:44 2022-07-07-PBL-binary.md
-rw-r--r--  1 advayshindikar  staff   3082 Oct  6 15:44 2022-07-08-PBL-grade_calc.md
-rw-r--r--  1 advayshindikar  staff   3695 Oct  6 15:44 2022-07-08-PBL-graph.md
-rw-r--r--  1 advayshindikar  staff   5726 Oct  6 15:44 2022-07-08-PBL-life.md
-rw-r--r--  1 advayshindikar  staff  14384 Oct  6 15:44 2022-07-08-PBL-snake.md
-rw-r--r--  1 advayshindikar  staff   2593 Oct  6 15:44 2022-07-10-PBL-database.md
-rw-r--r--  1 advayshindikar  staff   5660 Oct  6 15:44 2022-07-10-PBL-jokes.md
-rw-r--r--  1 advayshindikar  staff   4043 Oct  6 15:44 2022-07-10-PBL-rapidapi.md
-rw-r--r--  1 advayshindikar  staff   6682 Oct  6 15:44 2022-07-19-PBL-calculator.md
-rw-r--r--  1 advayshindikar  staff  23316 Oct  6 15:44 2022-07-25-CSP-workshop.md
-rw-r--r--  1 advayshindikar  staff   4371 Oct  6 15:44 2022-08-15-AP-pseudo_code.md
-rw-r--r--  1 advayshindikar  staff   2348 Oct  6 15:44 2022-08-15-HM-student_score_history.md
-rw-r--r--  1 advayshindikar  staff  15419 Oct  6 15:44 2022-08-15-PBL-tools.md
-rw-r--r--  1 advayshindikar  staff   8050 Oct  6 15:44 2022-08-15-PT-tool_setup.md
-rw-r--r--  1 advayshindikar  staff   5586 Oct  6 15:44 2022-08-15-TT101-vscode-wsl.md
-rw-r--r--  1 advayshindikar  staff   5186 Oct  6 15:44 2022-08-22-PBL-fastpages.md
-rw-r--r--  1 advayshindikar  staff   2237 Oct  6 15:44 2022-08-22-PT-intro_python.md
-rw-r--r--  1 advayshindikar  staff   6500 Oct  6 15:44 2022-08-29-PBL-html_fragments.md
-rw-r--r--  1 advayshindikar  staff   2667 Oct  6 15:44 2022-08-29-PT-data_abstraction.md
-rw-r--r--  1 advayshindikar  staff   2332 Oct  6 15:44 2022-08-29-PT120-data_abstract.md
-rw-r--r--  1 advayshindikar  staff   9050 Oct  6 15:44 2022-09-05-AP-create_performance_task.md
-rw-r--r--  1 advayshindikar  staff   8013 Oct  6 15:44 2022-09-05-HM-create-task-bria.md
-rw-r--r--  1 advayshindikar  staff   3905 Oct  6 15:44 2022-09-05-PBL-applab.md
-rw-r--r--  1 advayshindikar  staff   3165 Oct  6 15:44 2022-09-05-PT-creative_dev.md
-rw-r--r--  1 advayshindikar  staff   8168 Oct  6 15:44 2022-09-05-PT-creative_development.md
-rw-r--r--  1 advayshindikar  staff   1587 Oct  6 15:44 2022-09-12-AP-colaboration.md
-rw-r--r--  1 advayshindikar  staff   3205 Oct  6 15:44 2022-09-12-HM-focus.md
-rw-r--r--  1 advayshindikar  staff   5422 Oct  6 15:44 2022-09-12-PBL-fastpages-docker.md
-rw-r--r--  1 advayshindikar  staff   3580 Oct  6 15:44 2022-09-12-PBL-python_flask.md
-rw-r--r--  1 advayshindikar  staff   2658 Oct  6 15:44 2022-09-12-PT-python_server.md
-rw-r--r--  1 advayshindikar  staff   1124 Oct  6 15:44 2022-09-19-AP-program_purpose.md
-rw-r--r--  1 advayshindikar  staff  10871 Oct  6 15:44 2022-09-19-HM-agile.md
-rw-r--r--  1 advayshindikar  staff   2467 Oct  6 15:44 2022-09-19-PT-frontend_starters.md
-rw-r--r--  1 advayshindikar  staff   6048 Oct  6 15:44 2022-09-26-AP-program_design.md
-rw-r--r--  1 advayshindikar  staff   4890 Oct  6 15:44 2022-09-26-HM-github-sociology.md
-rw-r--r--  1 advayshindikar  staff  35454 Oct  6 15:44 2022-09-26-PBL-deploy.md
-rw-r--r--  1 advayshindikar  staff   1160 Oct  6 15:44 2022-09-26-PT-deployment.md
-rw-r--r--  1 advayshindikar  staff   3053 Oct  6 15:44 2022-09-27-VPNs.md
-rw-r--r--  1 advayshindikar  staff   1209 Oct  6 15:44 2022-10-03-PT-api.md
-rw-r--r--  1 advayshindikar  staff   4757 Oct  6 15:44 2022-10-10-AP-binary_logic.md
-rw-r--r--  1 advayshindikar  staff    720 Oct  6 15:44 README.md
-rw-r--r--  1 advayshindikar  staff    376 Oct  6 15:44 sample.md
echo "Look for notebooks"
export notebooks=$project/_notebooks  # _notebooks is inside project
cd $notebooks   # this should exist per fastpages
pwd  # present working directory
ls -l  # list notebooks
Look for notebooks
/Users/advayshindikar/vscode/APCSP/_notebooks
total 440
-rw-r--r--  1 advayshindikar  staff   8546 Oct  6 15:44 2022-07-21-PBL-neo4j_intro.ipynb
-rw-r--r--  1 advayshindikar  staff  11755 Oct  6 15:44 2022-08-22-AP-python_hello.ipynb
-rw-r--r--  1 advayshindikar  staff  19997 Oct  6 15:44 2022-08-22-HM-anthony_and_sahil.ipynb
-rw-r--r--  1 advayshindikar  staff  12703 Oct  6 15:44 2022-08-22-PBL-bash_tutorial.ipynb
-rw-r--r--  1 advayshindikar  staff  35713 Oct  6 15:44 2022-08-25-tool_check.ipynb
-rw-r--r--  1 advayshindikar  staff  13350 Oct  6 15:44 2022-08-29-AP-python_lists.ipynb
-rw-r--r--  1 advayshindikar  staff  16488 Oct  6 15:44 2022-09-19-PBL-javascript_tutorial.ipynb
-rw-r--r--  1 advayshindikar  staff   8476 Oct  6 15:44 2022-10-03-AP-error_testing.ipynb
-rw-r--r--  1 advayshindikar  staff  12591 Oct  6 15:44 2022-10-03-PBL-python_rapidapi.ipynb
-rw-r--r--  1 advayshindikar  staff  25075 Oct  6 15:44 2022-10-17-AP-2d-iteration.ipynb
-rw-r--r--  1 advayshindikar  staff  16038 Oct 20 15:12 2022-10-17-PBL-webapi_tutorial.ipynb
-rw-r--r--  1 advayshindikar  staff   9539 Oct  6 15:44 2022-10-24-AP-logic-and-algos.ipynb
-rw-r--r--  1 advayshindikar  staff    771 Oct  6 15:44 README.md
drwxr-xr-x  4 advayshindikar  staff    128 Oct  6 15:44 images
echo "Look for images in notebooks, print working directory, list files"
cd $notebooks/images  # this should exist per fastpages
pwd
ls -l
Look for images in notebooks, print working directory, list files
/Users/advayshindikar/vscode/APCSP/_notebooks/images
total 216
-rw-r--r--  1 advayshindikar  staff  101617 Oct  6 15:44 kernels.png
-rw-r--r--  1 advayshindikar  staff    5520 Oct  6 15:44 truth.png
echo "Navigate to project, then navigate to area wwhere files were cloned"

cd $project
echo "show the contents of README.md"
echo ""

cat README.md  # show contents of file, in this case markdown
echo ""
echo "end of README.md"
Navigate to project, then navigate to area wwhere files were cloned
show the contents of README.md

[//]: # (This template replaces README.md when someone creates a new repo with the fastpages template.)

![](https://github.com/nighthawkcoders/APCSP/workflows/CI/badge.svg) 
![](https://github.com/nighthawkcoders/APCSP/workflows/GH-Pages%20Status/badge.svg) 
[![](https://img.shields.io/static/v1?label=fastai&message=fastpages&color=57aeac&labelColor=black&style=flat&logo=data:image/png;base64,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)](https://github.com/fastai/fastpages)

https://nighthawkcoders.github.io/APCSP/

# My Blog


_powered by [fastpages](https://github.com/fastai/fastpages)_


## What To Do Next?

Great!  You have setup your repo.  Now its time to start writing content.  Some helpful links:

- [Writing Blogs With Jupyter](https://github.com/fastai/fastpages#writing-blog-posts-with-jupyter)

- [Writing Blogs With Markdown](https://github.com/fastai/fastpages#writing-blog-posts-with-markdown)

- [Writing Blog Posts With Word](https://github.com/fastai/fastpages#writing-blog-posts-with-microsoft-word)

- [(Optional) Preview Your Blog Locally](_fastpages_docs/DEVELOPMENT.md)

Note: you may want to remove example blog posts from the `_posts`,  `_notebooks` or `_word` folders (but leave them empty, don't delete these folders) if you don't want these blog posts to appear on your site.

Please use the [nbdev & blogging channel](https://forums.fast.ai/c/fastai-users/nbdev/48) in the fastai forums for any questions or feature requests.

end of README.md
cd $project

echo ""
echo "show the secrets of .git"
cd .git
ls -l

echo ""
echo "look at config file"
cat config
cd /tmp

file="sample.md"
if [ -f "$file" ]; then
    rm $file
fi

tee -a $file >/dev/null <<EOF
# Show Generated Markdown
This introductory paragraph and this line and the title above are generated using tee with the standard input (<<) redirection operator.
- This bulleted element is still part of the tee body.
EOF

echo "- This bulleted element and lines below are generated using echo with standard output (>>) redirection operator." >> $file
echo "- The list definition, as is, is using space to seperate lines.  Thus the use of commas and hyphens in output." >> $file
actions=("ls,list-directory" "cd,change-directory" "pwd,present-working-directory" "if-then-fi,test-condition" "env,bash-environment-variables" "cat,view-file-contents" "tee,write-to-output" "echo,display-content-of-string" "echo_text_>\$file,write-content-to-file" "echo_text_>>\$file,append-content-to-file")
for action in ${actions[@]}; do  # for loop is very similar to other language, though [@], semi-colon, do are new
  action=${action//-/ }  # convert dash to space
  action=${action//,/: } # convert comma to colon
  action=${action//_text_/ \"sample text\" } # convert _text_ to sample text, note escape character \ to avoid "" having meaning
  echo "    - ${action//-/ }" >> $file  # echo is redirected to file with >>
done

echo ""
echo "File listing and status"
ls -l $file # list file
wc $file   # show words
mdless $file  # this requires installation, but renders markown from terminal

rm $file  # clean up termporary file
File listing and status
-rw-r--r--  1 advayshindikar  wheel  809 Nov 17 23:04 sample.md
      15     132     809 sample.md
bash: mdless: command not found
echo "Show the shell environment variables, key on left of equal value on right"
echo ""

env
Show the shell environment variables, key on left of equal value on right

MANPATH=/opt/homebrew/share/man::
SHELL=/bin/zsh
HOMEBREW_REPOSITORY=/opt/homebrew
TMPDIR=/var/folders/hn/zlpr6bsn4nl7cb40b_qm5fsr0000gn/T/
LIBRARY_PATH=/usr/local/lib
CONDA_SHLVL=1
PYTHONUNBUFFERED=1
CONDA_PROMPT_MODIFIER=(base) 
SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
OLDPWD=/Users/advayshindikar/vscode/APCSP
ORIGINAL_XDG_CURRENT_DESKTOP=undefined
MallocNanoZone=0
PYDEVD_USE_FRAME_EVAL=NO
PYTHONIOENCODING=utf-8
USER=advayshindikar
COMMAND_MODE=unix2003
CONDA_EXE=/Users/advayshindikar/opt/anaconda3/bin/conda
CPATH=/usr/local/include
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.9e4grNumc7/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
JPY_PARENT_PID=25257
PAGER=cat
VSCODE_AMD_ENTRYPOINT=vs/workbench/api/node/extensionHostProcess
ELECTRON_RUN_AS_NODE=1
JUPYTER_PATH=/Users/advayshindikar/.vscode/extensions/ms-toolsai.jupyter-2022.9.1303220346/temp/jupyter
_CE_CONDA=
PATH=/Users/advayshindikar/opt/anaconda3/bin:/Users/advayshindikar/opt/anaconda3/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin:/Applications/Visual Studio Code.app/Contents/Resources/app/bin
CONDA_PREFIX=/Users/advayshindikar/opt/anaconda3
__CFBundleIdentifier=com.microsoft.VSCode
PWD=/tmp
notebooks=/Users/advayshindikar/vscode/APCSP/_notebooks
VSCODE_HANDLES_UNCAUGHT_ERRORS=true
project_repo=https://github.com/nighthawkcoders/APCSP.git
project=/Users/advayshindikar/vscode/APCSP
project_dir=/Users/advayshindikar/vscode
XPC_FLAGS=0x0
PS1=[PEXP\[\]ECT_PROMPT>
_CE_M=
XPC_SERVICE_NAME=0
SHLVL=1
HOME=/Users/advayshindikar
APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL=1
VSCODE_NLS_CONFIG={"locale":"en-us","availableLanguages":{},"_languagePackSupport":true}
HOMEBREW_PREFIX=/opt/homebrew
PYTHONPATH=/Users/advayshindikar/.vscode/extensions/ms-toolsai.jupyter-2022.9.1303220346/pythonFiles:/Users/advayshindikar/.vscode/extensions/ms-toolsai.jupyter-2022.9.1303220346/pythonFiles/lib/python
CONDA_PYTHON_EXE=/Users/advayshindikar/opt/anaconda3/bin/python
LOGNAME=advayshindikar
LC_CTYPE=UTF-8
VSCODE_IPC_HOOK=/Users/advayshindikar/Library/Application Support/Code/1.73.0-main.sock
VSCODE_CODE_CACHE_PATH=/Users/advayshindikar/Library/Application Support/Code/CachedData/8fa188b2b301d36553cbc9ce1b0a146ccb93351f
CONDA_DEFAULT_ENV=base
VSCODE_PID=3307
posts=/Users/advayshindikar/vscode/APCSP/_posts
INFOPATH=/opt/homebrew/share/info:
HOMEBREW_CELLAR=/opt/homebrew/Cellar
VSCODE_CWD=/
_=/usr/bin/env