Skip to content

Instantly share code, notes, and snippets.

View jeremyboggs's full-sized avatar

Jeremy Boggs jeremyboggs

View GitHub Profile
@jeremyboggs
jeremyboggs / nanum-pen-script.css
Created April 8, 2025 13:30
Nanum Pen Script font from Google Fonts
/* latin */
@font-face {
font-family: 'Nanum Pen Script';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url(https://fonts.gstatic.com/s/nanumpenscript/v25/daaDSSYiLGqEal3MvdA_FOL_3FkN6zn0aeNBYTQ.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@jeremyboggs
jeremyboggs / composting-dh.md
Created February 15, 2025 14:54
Composting DH Links

Composting DH Links

In the process of doing this review, I personally began to see benefits in possible shifts for how we come to terms with—and reconsider terms for—brokenness, rot, and decay in Digital Humanities scholarship specifically but also in human creations more broadly.

Method.

  • Download the Simple CSV data available at the Index of Digital Humanites Conferences.
  • Create a set of Python scripts to complete a few tasks:
    1. Parse the conference works for any potential URLs mentioned.
  • First pass over the data relies on the URLExtract library to find addresses.
@jeremyboggs
jeremyboggs / wikis.md
Last active December 18, 2024 19:55
Wikis As/For Archives

Wikis As/For Archives

Blog Posts

@jeremyboggs
jeremyboggs / text-analysis.md
Last active December 17, 2024 16:02
Text Analysis + Machine Learning Resources
@jeremyboggs
jeremyboggs / games-lab.md
Created September 9, 2024 16:01
GamesLab resources
@jeremyboggs
jeremyboggs / tei-resources.md
Last active September 10, 2024 15:06
TEI Resources
title author layout
TEI Resources
jeremy-boggs
page

TEI is a XML-based approach for encoding texts in machine-readable ways for humanities and social sciences applications.

Learning Resources

@jeremyboggs
jeremyboggs / jsonl-to-csv.py
Created March 13, 2024 18:32
Converts JSONL generated from Browsertrix to CSV.
import json
import csv
# Identify the JSONL fields we wish to retrieve and write
# to the CSV file.
fields = ['id','title','text','url']
# Open a new CSV file and open the existing JSONL file.
with open('pages.csv', 'w') as csv_file, open("pages.jsonl", "r") as json_file:
# Create a CSV writer object.
@jeremyboggs
jeremyboggs / prosody.html
Created January 8, 2024 19:43
prosody.html
<?xml version="1.0"?>
<div xmlns="http://www.w3.org/1999/xhtml" id="rhyme" style="display:none;"><div id="rhymespacer"> </div><form name="abbaabbacdcdcd" id="rhymeform" autocomplete="off"><p><br/></p><div class="lrhyme"><input size="1" maxlength="1" value="" name="lrhyme-1-1" type="text" onFocus="this.value='';this.style['color'] = '#44FFFF';"/></div><div class="lrhyme"><input size="1" maxlength="1" value="" name="lrhyme-1-2" type="text" onFocus="this.value='';this.style['color'] = '#44FFFF';"/></div><div class="lrhyme"><input size="1" maxlength="1" value="" name="lrhyme-1-3" type="text" onFocus="this.value='';this.style['color'] = '#44FFFF';"/></div><div class="lrhyme"><input size="1" maxlength="1" value="" name="lrhyme-1-4" type="text" onFocus="this.value='';this.style['color'] = '#44FFFF';"/></div><div class="lrhyme"><input size="1" maxlength="1" value="" name="lrhyme-1-5" type="text" onFocus="this.value='';this.style['color'] = '#44FFFF';"/></div><div class="lrhyme"><input size="1" maxlength="1" value=""
@jeremyboggs
jeremyboggs / soup.py
Created January 8, 2024 18:32
First few lines to get some web text for Beautiful Soup.
import requests
from bs4 import BeautifulSoup
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:121.0) Gecko/20100101 Firefox/121.0'}
page_url = 'https://example.com'
page_text = requests.get(page_url,headers=headers).text
soup = BeautifulSoup(feed_text);
print(soup);
@jeremyboggs
jeremyboggs / dh-portfolio.md
Created February 22, 2023 21:17
Notes and Resources for DH Portfolio Workshop