Skip to content

Instantly share code, notes, and snippets.

@nickgravish
nickgravish / jupyter.txt
Created April 1, 2018 20:59
Jupyter app in app mode
http://christopherroach.com/articles/jupyterlab-desktop-app/

Notes to setup my latexmk settings

Make a settings file

touch ~/.latexmkrc
echo "$pdf_mode=1; >> ~/.latexmkrc
@nickgravish
nickgravish / snippets.md
Created August 25, 2016 22:25
Python science import snippets for Jupyter

import matplotlib # for pycharm
matplotlib.backend('Qt4Agg') # for pycharm

import numpy as np
import cv2 as cv
import matplotlib.pyplot as plt
@nickgravish
nickgravish / gist:ece1b12dba96f8a111d0b2816500c04e
Last active August 28, 2016 19:29
Science environment setup in python
@nickgravish
nickgravish / Pyqtgraph_notes.md
Last active August 16, 2016 20:20
Install instructions and notes for pyqtgraph
@nickgravish
nickgravish / poupcad_install.md
Last active April 21, 2016 22:31
popupcad install on a mac

How to setup a python environment for running bleeding edge popupcad

Here are the steps to run the development version of popupcad on a Mac OSX (Yosemite).

Install commands to be copy and pasted into the command line

yes | conda create -n popupcad_env python=3.4
source activate popupcad_env
@nickgravish
nickgravish / note.md
Last active February 15, 2016 20:56
Adding custom python modules to my config

To add a custom python module so that I can access it everywhere

  1. Make the python module, use a simple directory structure
  ~/Python/modulename/
    -> readme.md
    -> modulename/
 -> __init__.py