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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from odf.opendocument import OpenDocumentText | |
from odf.style import (Style, TextProperties, ParagraphProperties, | |
ListLevelProperties, TabStop, TabStops) | |
from odf.text import (H, P, List, ListItem, ListStyle, ListLevelStyleNumber, | |
ListLevelStyleBullet) | |
from odf import teletype |
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
; Retro-Halo by Eddy Fries - [email protected] | |
processor 6502 | |
include vcs.h | |
org $F000 | |
; Compile switches | |
NTSC = 0 | |
PAL = 1 | |
PAL60 = 2 |
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 olclient.openlibrary import OpenLibrary | |
ol = OpenLibrary() | |
def move_editions(editions, master): | |
"""Sets a list of <editions> to a new master work ID using the Open Library Client. | |
Copies across extra author data from editions to master, if not already present. | |
Example: | |
move_editions(['OL8306567M','OL16682544M'], 'OL4005510W') | |
""" |
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
#!/bin/bash | |
# Takes an input file argument (a sorted list of ISBN13s) | |
# and counts how many ISBNs are present belonging to each | |
# regional agency as listed in the official | |
# ISBN export_rangemessage.xml data. | |
wget -nc https://www.isbn-international.org/export_rangemessage.xml | |
while read prefix agency; do |