Skip to content

Instantly share code, notes, and snippets.

View davclark's full-sized avatar

Dav Clark davclark

View GitHub Profile

Keybase proof

I hereby claim:

  • I am davclark on github.
  • I am davclark (https://keybase.io/davclark) on keybase.
  • I have a public key ASDQK8mfL9kShdXzPQzKbrsvupjXGFaYJxnckME48c-SLAo

To claim this, I am signing this object:

@davclark
davclark / Dockerfile
Last active February 22, 2020 17:57
A simple Dockerfile for openpose
# The following image was genarated from the deepo project:
# https://github.com/ufoym/deepo
# Running from the generator directory:
# python generate.py --cuda-ver=9.2 --cudnn-ver=7 Dockerfile \
# caffe jupyter opencv python==3.6
FROM glassbeadlabs/deepo:caffe-py36-cu92-dnn7
# Install openpose
# This snippet was adapted from the following fork
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@davclark
davclark / setup_jupyter_notebook.sh
Created March 23, 2016 18:35
The steps to set up Jupyter notebooks to run nicely on a remote server. Please feel free to make your own mods!
#!/usr/bin/bash
# XXX The below was made before the jupyter switch and would be nice to
# update! For now, you can run this *before* ever running the jupyter notebook,
# OR you can `rm ~/.jupyter/migrated` and move any existing `jupyter_notebook_config.py`
# after you run this script and it should re-import. -DJC
# Make it easy to set up password / encryption for IPython notebook
echo "
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@davclark
davclark / Historical.ipynb
Created April 24, 2015 18:29
Example of using GNIP
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python3
'''ungraded.py - extract answers to ungraded problems
Data is obtained from the `course_structure` and `courseware_studentmodule`
data, which are currently specified at the top of the file.
This was developed in response to a request from an instructor to obtain
individual student responses to ungraded questions *with 0 weight*. However,
upon inspection, I noted that all items had either 0 weight, or had weight
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@davclark
davclark / README
Last active August 29, 2015 14:00
Instructions for Team
How to:
1. Writing good questions
2. Code
3. I added this
4. I also
a. added this