This file contains 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
Sub Station Alpha v4.00+ Script Format | |
1. 1. General information | |
2. 2. The [sections] of a Sub Station Alpha script | |
3. 3. The line types in a Sub Station Alpha script | |
4. 4. Header lines, [Script Info] section | |
5. 5. Style lines, [v4 Styles] section | |
6. 6. Dialogue event lines, [Events] section |
This file contains 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
"RsaSignature2017" doesn't appear to be documented anywhere. Here is | |
my understanding of how to use it, based on reading the Mastodon | |
source code. My Ruby isn't very good, and my understanding of the | |
algorithm is clearly deficient, because it doesn't work. | |
== Validation == | |
First part: we canonicalise the body signature. The body signature is | |
the "signature" field of the message, except that we remove the keys | |
"type", "id", and "signatureValue", then force "@context" to be |
This file contains 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
from PIL import Image, ImageDraw | |
# non-Python people should note that this is valid JSON | |
PANELS = { | |
"A000": "BETWEENSUBTLESHADINGANDTHEABSENC", | |
"A001": "EOFLIGHTLIESTHENUANCEOFIQLUSION", | |
"A002": "ITWASTOTALLYINVISIBLEHOWSTHATPO", | |
"A003": "SSIBLE?THEYUSEDTHEEARTHSMAGNET", | |
"A004": "ICFIELDXTHEINFORMATIONWASGATHER", | |
"A005": "EDANDTRANSMITTEDUNDERGRUUNDTOANU", |
This file contains 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
THERE AIN'T NOBODY HERE BUT YOU, CHICKEN. | |
HOLLO | |
IMELDA | |
MUM | |
PUSHER | |
GRIFFITHS | |
ROLF |