Skip to content

Instantly share code, notes, and snippets.

Tony Hirst psychemedia

Block or report user

Report or block psychemedia

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@psychemedia
psychemedia / setup.txt
Created Mar 2, 2020
Initial test file for starting to look at binder config merge
View setup.txt
mkdir -p binder binder_1 binder_2
cat > binder_1/requirements.txt << EOF
pandas
scipy
EOF
cat > binder_2/requirements.txt << EOF
ipython-sql
pandas
@psychemedia
psychemedia / fjgsdfhgasdjhgfj.ipynb
Created Feb 18, 2020
quick share - will be taken down at some point...
View fjgsdfhgasdjhgfj.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / ev3devsim_ipywidget.ipynb
Created Feb 10, 2020
Try to wrap ev3devsim as an ipywidgets using jp_proxy_widget
View ev3devsim_ipywidget.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / jp-proxy-widget_Wavesurfer_Sonogram.ipynb
Last active Jan 11, 2020
jp-proxy-widget Wavesurfer Sonogram
View jp-proxy-widget_Wavesurfer_Sonogram.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / dakar_rules.ipynb
Last active Jan 7, 2020
Example of generating text from pandas dataframe using a python rules engine ( durable_rules )
View dakar_rules.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / simple_nb_viz.py
Last active Jan 21, 2020
Simple visualisation of cell structure (md and code cells) for a Jupyter notebook. For more context, see https://blog.ouseful.info/2019/12/16/fragment-visualising-jupyter-notebook-structure/
View simple_nb_viz.py
# # Simple Notebook Visualiser
#
# Simple notebook visualiser for one or more Jupyter notebooks.
#
# Visualises markdown and code cells, with block size determined by code cell line count and estimated screen line count for markdown cells.
# +
import math
import matplotlib.pyplot as plt
@psychemedia
psychemedia / notebook_profile_test.ipynb
Last active Dec 16, 2019
First fumblings of a sketch around profiling a Jupyter notebook as a text, looking at text readability metrics, code complexity metrics, etc
View notebook_profile_test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / free text feedback.ipynb
Created Dec 9, 2019
Notebook showing example NLP marking support tool for free text answers against a specimen answer
View free text feedback.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / transkribus_py_api_notebook.ipynb
Last active Dec 11, 2019
Playing with the Transkribus python API - exploding lines of handwritten text into a notebook...
View transkribus_py_api_notebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / apt.txt
Last active Nov 28, 2019
Sketches around National Archives indexes, PDFs etc
View apt.txt
imagemagick
libmagickwand-dev
You can’t perform that action at this time.