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
import glob | |
import os | |
import zipfile | |
import img2pdf | |
from PIL import Image | |
# 電子書籍自炊のためのスクリプト | |
# .cbzをkindleに読み込ませる方法がわからなかったので.pdfに変換 | |
# .cbzより.pdfのほうが画質がいいのでおすすめ |
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
docker run | |
docker pull | |
docker images | |
DockerHubログイン | |
docker login | |
コンテナ接続 | |
使わない | |
docker attach <ContainerName> |
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
ディレクト削除 | |
# -fは強制削除。これをつかわないと延々と削除許可をする可能性があるので絶対つける。 | |
# -rはディレクトリを削除する際につける。これをつけないと「ファイルではない」とエラーが出る。 | |
#ディレクトリを消す際はこの二つを組み合わせて、-rfとする。 | |
rm -rf [directory name] | |
ページスクロール | |
mac | |
shift + fn + ↑or↓ | |
ディレクトリ一覧表示 |