Skip to content

Instantly share code, notes, and snippets.

View jeremy9959's full-sized avatar
🏠
Working from home

Jeremy Teitelbaum jeremy9959

🏠
Working from home
View GitHub Profile
@jeremy9959
jeremy9959 / gist:a2155cadbea41aa47847ada846e2cd66
Created October 20, 2023 13:25 — forked from swedishmike/gist:902fb27d627313c31a95e31c44e302ac
Adding and removing virtual environments to Jupyter notebook
## Create the virtual environment
conda create -n 'environment_name'
## Activate the virtual environment
conda activate 'environment_name'
## Make sure that ipykernel is installed
pip install --user ipykernel
## Add the new virtual environment to Jupyter
@jeremy9959
jeremy9959 / coro_life.py
Created June 10, 2018 15:37 — forked from ramalho/coro_life.py
John Conway's Game of Life implemented with coroutines, by Brett Slatkin
#!/usr/bin/env python3
# Copyright 2014 Brett Slatkin, Pearson Education Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#