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 -S uv run | |
| # /// script | |
| # requires-python = ">=3.13" | |
| # dependencies = [ | |
| # "beautifulsoup4>=4.14.3", | |
| # "platformdirs>=4.9.6", | |
| # "requests>=2.34.2", | |
| # ] | |
| # /// |
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
| // ==UserScript== | |
| // @name Footnote delenda est | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.0 | |
| // @description Remove "USA delenda est" footnote and corresponding footnote marker | |
| // @match https://jamesdavisnicoll.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| // Set this to 'true' to renumber the remaining footnotes to erase any remaining trace of the |
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 fish | |
| # Make sprite sheets from the pile of loose pngs produced by u7extract. | |
| set last_number = "" | |
| mkdir -p sheets | |
| for file in *.png | |
| set parts (string split - $file) |
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 rust-script | |
| //! Ultima 2 dialogue file unscrambler | |
| //! | |
| //! * You must have a working [rust-script](https://rust-script.org/) and the | |
| //! Rust development environment with `rustc` and `cargo` binaries on your | |
| //! path. | |
| //! | |
| //! * Run `u2-tlk tlkx11` to turn scrambled dialogue file to plaintext. | |
| //! |
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 rust-script | |
| //! Ultima 5 tileset to PNG and back converter. | |
| //! | |
| //! * You must have a working [rust-script](https://rust-script.org/) and the | |
| //! Rust development environment with `rustc` and `cargo` binaries on your | |
| //! path. | |
| //! | |
| //! * Run `u5-tile-convert TILES.16` to produce `TILES.png` | |
| //! |
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
| EPS := $(shell seq 1 156) | |
| all: $(patsubst %, transcripts/roguelikeradio%.txt, $(EPS)) | |
| transcripts/%.txt: audio/%.mp3 | |
| whisper --output_dir transcripts --language en $< | |
| audio/%.mp3: | |
| wget -P audio/ http://www.gamesofgrey.com/roguelikeradio/`basename $@` | |
| clean: |