Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
# split-wim-from-iso.sh
# macOS 用スクリプト: Windows ISO から sources/install.wim を分割し、
# ISO の他ファイルを指定した出力先(例: /Volumes/WINUSB)にコピーします。
#
# 使い方:
# ./split-wim-from-iso.sh -i /path/to/Windows.iso -d /Volumes/WINUSB [-s 4000]
# -i ISOファイルのパス
# -d 出力先ディレクトリ(通常はマウント済みの USB ボリューム、例 /Volumes/WINUSB)
# -s 分割サイズ(MB)。デフォルト 4000(= 4,000MB)
#!/usr/bin/env python3
import sys
import time
NULL_CHAR = chr(0)
ENTER_KEY = 40 # HID usage ID for Enter key
SHIFT_KEY = 0x02 # HID usage ID for Shift key
DELAY_TIME = 0.05 # Constant delay time (seconds)
import pdfplumber
import cv2
import numpy as np
import csv
import sys
# Use Tkinter for file dialog only on Windows
if sys.platform.startswith("win"):
import tkinter as tk
from tkinter import filedialog
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
YomiToku用 Dockerfile
\documentclass[a4paper]{bxjsarticle}
% Main font setup
\usepackage{fontspec}
\setmainfont{Hiragino Mincho ProN}
% Disable page numbers
\pagestyle{empty}
% Required for text positioning
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Text Search Application</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/encoding-japanese@1.0.30/encoding.min.js"></script>
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBGYARTQBCADpJtoQyH6SZYCdkBvx263xwD0NYiz7XInR+GyYpJdq873Wnkna
ST0PKPNnL39uFFY8CJlltQqjSAqw/o6qrRKD0BB15JfkZP/cjv44SGiQCvNANEle
K+TM1BmMSfk1RedwDUkCYQdHpVAKu4Sdby6FO7TqSEpNc8jnh0nMTXwP1nUr0bpV
KK3n7mJNQ0RAEmiaK0jGmMHe8p7h0FoC90quyp7Zbv33I8zOPtlEvx5q93GLuH3v
Epmenf2ATBWcC6mvNk3WC41EkM8HHki5Ee+00i3qwxZWclJ2EqMOvZnNCyrPic+2
uLNu7ma8BtcaUNk0KIYRutUB1ilSZEcI5423ABEBAAG0Lk5la29ubyBOYW5hIEtB
S0tPIEtBUkkgPDc3NDNAY2FsaWd1bGEtc2VhLm5ldD6JAVEEEwEIADsWIQRoi+tx
Z39JfBIvEf7bKQAb8RL19AUCZgBFNAIbAwULCQgHAgIiAgYVCgkICwIEFgIDAQIe
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
# coding: utf-8
# In[16]:
from tkinter import filedialog
from tkinter import messagebox
import csv
import xlwings