Skip to content

Instantly share code, notes, and snippets.

View omid-web's full-sized avatar

Omid Rajabi omid-web

View GitHub Profile
@omid-web
omid-web / python-commands.sh
Last active May 17, 2025 15:52
new project commands
# CD into your new python project
cd /Users/omid/GitHub/scripts/ai-heatmap
# Create a virtual environment, add to gitignore, activate it
python3 -m venv .venv && echo ".venv/" >> .gitignore && source .venv/bin/activate
# Now install your dependencies
echo "matplotlib\nnumpy\npytz" > requirements.txt && pip3 install -r requirements.txt
# Your prompt will now be prefixed with (.venv) and you can safely run