Skip to content

Instantly share code, notes, and snippets.

@u-haru
u-haru / cache_thumbs.py
Created November 11, 2024 16:23
WindowsのExplorerのサムネイルを再帰的に取得するpythonスクリプト
#!/usr/bin/env python
import argparse
import os
import ctypes
import traceback
import comtypes
from ctypes import wintypes
import glob
import concurrent.futures
import tqdm
@u-haru
u-haru / notebook.ipynb
Last active December 18, 2022 05:23
63514d82edf284574a69fd971aec6109
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
C1:80000000
C2
?
C3hswitch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
switch to SDR 8 bit
switch bus width to 0x00000008 bits success
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.9.119 Kernel Configuration
#
CONFIG_ARM64=y
## Flattened Device Tree blob at 01f00000
Booting using the fdt blob at 0x1f00000
reserving fdt memory region: addr=0 size=30000
reserving fdt memory region: addr=1f000 size=1000
reserving fdt memory region: addr=30000 size=d0000
reserving fdt memory region: addr=3200000 size=b800000
reserving fdt memory region: addr=1b00000 size=400000
reserving fdt memory region: addr=2600000 size=c00000
reserving fdt memory region: addr=1ffe000 size=4000
reserving fdt memory region: addr=11000000 size=9200000
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.1.17 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=18
CONFIG_ARCH_MMAP_RND_BITS_MAX=24
@u-haru
u-haru / Howto_Update
Last active June 6, 2022 19:17
QuaStation改造用メモ
goru
dd if=/dev/zero of=/dev/block/mmcblk0 seek=86314 bs=512 count=30666 //EMMCのカーネル部分のゼロ埋め
dd if=/dev/zero of=/dev/block/mmcblk0 seek=6488576 bs=1 count=62714 //EMMCのdtb部分のゼロ埋め
dd if=/mnt/usb/Image of=/dev/block/mmcblk0 seek=86314 bs=512 //EMMCへのカーネル書き込み
dd if=/mnt/usb/rtd-1295-giraffe-2gb-tee.dtb of=/dev/block/mmcblk0 seek=6488576 bs=1 //EMMCへのdtb書き込み