At-Bat Result Inning 1 - Top William Contreras: Flyout to CF (Outs: 1, Score: Away 0 – Home 0, Bases: Empty) Rhys Hoskins: K (Outs: 2, Score: Away 0 – Home 0, Bases: Empty) Brice Turang*: Groundout to 1B (Outs: 3, Score: Away 0 – Home 0, Bases: Empty) Inning 1 - Bottom Carson Kelly: Flyout to LF (Outs: 1, Score: Away 0 – Home 0, Bases: Empty) Michael Busch*: BB (Outs: 1, Score: Away 0 – Home 0, Bases: 1B) Nico Hoerner: Groundout to 2B (Outs: 2, Score: Away 0 – Home 0, Bases: 2B) Dansby Swanson: 1B (Outs: 2, Score: Away 0 – Home 0, Bases: 1B, 3B)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Analyze Apache *combined* access logs and export CSVs. | |
Outputs: | |
00_summary.csv # headline metrics | |
10_pages.csv # per-page counts (querystrings stripped, static excluded) | |
20_daily_requests.csv # all requests per day | |
21_daily_pageviews.csv # "pageviews" per day (static excluded) | |
30_status_codes.csv # status code breakdown |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const slides = [ | |
{ | |
title: "Remmelin", | |
subtitle: "Catoptrum microcosmicum (1661)", | |
description: "Explore a page from this medical flap book by Johann Remmelin.\n<span style=\"font-size: 0.9em; opacity: 0.8; display:block; margin-top:6px;\">FOLIO QM21 .R45 1661, John Martin Rare Book Room.</span>", | |
media: [ | |
{ type: "video", src: "assets/videos/remmelin/remmelin_man.mp4", loop: true }, | |
{ type: "video", src: "assets/videos/remmelin/remmelin_plate_clouds.mp4", loop: true }, | |
{ type: "video", src: "assets/videos/remmelin/remmelin_plate_eye.mp4", loop: true }, | |
{ type: "video", src: "assets/videos/remmelin/remmelin_plate_man.mp4", loop: true }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* D&D 4e Style Sheet - Universal 4e Block Styling | |
* Combines and adapts styles from the project's CSS library | |
* For use with any D&D 4e code block: powers, monsters, items, etc. | |
*/ | |
:root { | |
--font-primary: 'DragonBodySans', Arial, sans-serif; | |
--font-secondary: 'DragonBodySerif', Georgia, serif; | |
--background-atwill: #619769; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import re | |
import sqlparse | |
import pymysql | |
import sqlglot | |
from pathlib import Path | |
# CONFIG | |
DB_NAME = '4e_compendium' | |
DB_USER = 'mbutler' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymysql | |
import re | |
from bs4 import BeautifulSoup, XMLParsedAsHTMLWarning | |
import html2text | |
import warnings | |
from pathlib import Path | |
# Suppress BeautifulSoup XMLParsedAsHTMLWarning | |
warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://x.com/jasonwilde108/status/1910816547070685522 | |
import numpy as np | |
from scipy.signal import chirp | |
from pydub import AudioSegment | |
from pydub.generators import Sine, WhiteNoise | |
SAMPLE_RATE = 44100 # CD quality | |
DURATION = 60 # seconds of output | |
VOLUME = -20 # dBFS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import math | |
import subprocess | |
import openai | |
import pysrt | |
from datetime import timedelta | |
API_KEY = "api-key" | |
INPUT_DIR = "input_media" | |
CHUNK_DIR = "audio_chunks" |
graph TD
%% Zones (Nodes 0-9): Represent the 10 cosmic nodes of the Numogram
Z0[0]
Z1[1]
Z2[2]
Z3[3]
Z4[4]
Z5[5]
Z6[6]
- Dracula's Turn
- Timekeeping: Advance the Day/Night track (p.1).
- Movement: Play a Location or Power card (p.3).
- Action Phase:
- If Dracula is in a city with a Hunter → Combat begins (p.4).
- Otherwise, place an Encounter on the new location (p.3).
- Mature Encounters (p.5).
NewerOlder