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 / DEFRA AUR Data Downloader.ipynb
Last active Sep 9, 2019
DEFRA AUR Data Downloader - quick hack for downloading UK air quality data
View DEFRA AUR Data Downloader.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / ouxml2md.xslt
Last active Aug 29, 2019
Testing - ou-xml to markdown xslt
View ouxml2md.xslt
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xmlns:str="http://exslt.org/strings" extension-element-prefixes="exsl">
<!-- xmlns:functx="http://www.functx.com" -->
<!-- Strip out any whitespace used to style layout of XML doc we're processing -->
<xsl:strip-space elements="*"/>
@psychemedia
psychemedia / MyBinder_py_client.ipynb
Last active Aug 17, 2019
Attempt at running code from a Python script in a MyBinder remote code execution sandbox
View MyBinder_py_client.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / Testing examples.md
Last active Aug 30, 2019
Examples of things we can test for autograding and auto-feedback
View Testing examples.md

Test Examples

Trying to identify testable things for use in autograders and automated code feedback tools...

Automated testing of computer code can be used to support learning in several ways.

For example, automated tests may be used to:

@psychemedia
psychemedia / Quantity Parsing.ipynb
Created Aug 6, 2019
Example of parsing quantities from sentences
View Quantity Parsing.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View bbc programme info.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / .env
Last active May 10, 2019
Example of docker-compose / Digital Ocean workbench config for running Jupyter notebooks, PostgresDB and Agensgraph db
View .env
#Create a default token/password for Jupyter notebook
JUPYTER_TOKEN=letmein
@psychemedia
psychemedia / .env
Last active Feb 12, 2019
Adding OpenRefine to a Jupyter notebook container for proxying
View .env
REFINEVERSION=3.1
JUPYTER_TOKEN=letmein
@psychemedia
psychemedia / Dockerfile
Last active Feb 11, 2019
Can we use Jupyter server proxy to proxy things on named network?
View Dockerfile
FROM jupyter/minimal-notebook
RUN pip --no-cache install git+https://github.com/jupyterhub/jupyter-server-proxy
@psychemedia
psychemedia / Digital_Ocean_User_data
Last active Feb 10, 2019
Simple docker-compose script for running OpenRefine, Jupyter notebook and postgres
View Digital_Ocean_User_data
#!/bin/bash
GIST=d72b396c491fe1348bc1d9badfdcce81
git clone https://gist.github.com/$GIST.git
cd $GIST
source run.sh
You can’t perform that action at this time.