Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

@vladikk
vladikk /readfstr.py
Last activeOctober 8, 2023 10:14
# python3 readfstr.py input.epub output.epub
importargparse
fromebooklibimportepub# pip install ebooklib
frombs4importBeautifulSoup,NavigableString# pip install bs4
defmake_half_word_bold(soup,text):
new_elements= []
forwordintext.split():
n=len(word)
@vladikk
vladikk /ExecutionResult.cs
CreatedMarch 19, 2017 14:57
Command execution result object for CQRS based systems
usingSystem;
namespaceExample
{
publicabstractclassExecutionResult
{
protectedExecutionResult(GuidaggregateId,GuidcommandId,DateTimeexecutedOn)
{
AggregateId=aggregateId;
CommandId=commandId;

[8]ページ先頭

©2009-2025 Movatter.jp