Skip to content

Instantly share code, notes, and snippets.

View wenxingxing's full-sized avatar
:fishsticks:

wenxing wenxingxing

:fishsticks:
View GitHub Profile
@wenxingxing
wenxingxing / TurnipPrices.cpp
Created April 24, 2020 02:52 — forked from Treeki/TurnipPrices.cpp
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
@wenxingxing
wenxingxing / ipython-notebook-multiple-kernels-venv.md
Created March 24, 2018 15:36 — forked from victorkristof/ipython-notebook-multiple-kernels-venv.md
IPython Notebook with multiple kernels and virtualenv

IPython Notebook with multiple kernels and virtualenv

Explanations of how to install and use IPython Notebook with a venv and multiple virtualenv (one for Python 2 and one for Python 3).

Step-by-step installation

We run step-by-step and detail all the operations. A quicker, more concise guide can be found at the end of this gist.

Create virtualenv

We create first one venv for each version of Python.

mkvirtualenv -p /path/to/python2.7 venv-name
deactivate