Skip to content

Instantly share code, notes, and snippets.

View psychemedia's full-sized avatar

Tony Hirst psychemedia

View GitHub Profile
@psychemedia
psychemedia / setup.txt
Created March 2, 2020 10:39
Initial test file for starting to look at binder config merge
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 February 18, 2020 16:36
quick share - will be taken down at some point...
Loading
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 February 10, 2020 15:44
Try to wrap ev3devsim as an ipywidgets using jp_proxy_widget
Loading
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 January 11, 2020 17:33
jp-proxy-widget Wavesurfer Sonogram
Loading
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 June 20, 2022 08:05
Example of generating text from pandas dataframe using a python rules engine ( durable_rules )
Loading
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 January 21, 2020 12:04
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/
# # 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 December 16, 2019 12:09
First fumblings of a sketch around profiling a Jupyter notebook as a text, looking at text readability metrics, code complexity metrics, etc
Loading
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 December 9, 2019 19:09
Notebook showing example NLP marking support tool for free text answers against a specimen answer
Loading
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 December 5, 2022 13:57
Playing with the Transkribus python API - exploding lines of handwritten text into a notebook...
Loading
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 November 28, 2019 23:49
Sketches around National Archives indexes, PDFs etc
imagemagick
libmagickwand-dev