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
# python3 readfstr.py input.epub output.epub | |
import argparse | |
from ebooklib import epub # pip install ebooklib | |
from bs4 import BeautifulSoup, NavigableString # pip install bs4 | |
def make_half_word_bold(soup, text): | |
new_elements = [] | |
for word in text.split(): | |
n = len(word) |
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
using System; | |
namespace Example | |
{ | |
public abstract class ExecutionResult | |
{ | |
protected ExecutionResult(Guid aggregateId, Guid commandId, DateTime executedOn) | |
{ | |
AggregateId = aggregateId; | |
CommandId = commandId; |