Skip to content

Instantly share code, notes, and snippets.

View psychemedia's full-sized avatar

Tony Hirst psychemedia

View GitHub Profile
@psychemedia
psychemedia / vfringe_grid_scrape.ipynb
Last active July 22, 2024 14:59
Scrape https://vfringe.co.uk/grid/ into clashfinder spreadsheet format
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / GPT4all-langchain-demo.ipynb
Last active December 21, 2023 17:30
Example of running GPT4all local LLM via langchain in a Jupyter notebook (Python)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / island_storytellers_constitution.md
Last active February 27, 2023 00:00
Island Storytellers Constitution

CONSTITUTION

Name

The name of the association is The Island Storytellers

Aims and Objectives of the Island Storytellers

1 To develop oral storytelling on the Isle of Wight

@psychemedia
psychemedia / personality_disorder.ipynb
Created November 10, 2022 12:27
Attempt at personality disorder stats
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / print_pack.py
Created September 1, 2022 11:20
Generate PDF and epub version of jupyter notebook collections
# # `print_publication.py`
#
# Script for generating print items (weekly PDF, weekly epub).
# # Install requirements
#
# - Python
# - pandoc
# - python packages:
# - ipython
@psychemedia
psychemedia / archive-bibtex.ipynb
Created August 8, 2022 15:31
Attempt to generate BibTeX file for publications on archive.org
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / pandas-test.ipynb
Last active June 22, 2022 08:48
Test read/write for pandas dataframes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / spritz_mobile_data.ipynb
Last active June 7, 2022 08:43
Example of parsing Mark Spritz mobile phone data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@psychemedia
psychemedia / tags2class.ts
Last active April 8, 2022 09:31
Jupyterlab-empinken early sketches
// Most of the code cribbed from @krassowski
// https://stackoverflow.com/questions/71736749/accessing-notebook-cell-metadata-and-html-class-attributes-in-jupyterlab-extensi/71744107?noredirect=1#comment126807644_71744107
// Testing this in:
// https://github.com/jupyterlab/jupyterlab-plugin-playground
import { IDisposable, DisposableDelegate } from '@lumino/disposable';
import {