- 用笔--五执笔+九用
- 识势--永字八法+五势
- 裹束--大圈+小圈
- 篆
- 隶
local wezterm = require 'wezterm'; | |
function recompute_padding(window) | |
local window_dims = window:get_dimensions(); | |
local overrides = window:get_config_overrides() or {} | |
if not window_dims.is_full_screen then | |
if not overrides.window_padding then | |
-- not changing anything | |
return; |
import os | |
import multiprocessing as mp | |
data = { | |
"msg": "hello world", | |
} | |
class Demo: |
def duration_to_seconds(duration: str): | |
"""convert duration string to seconds""" | |
unit_to_seconds = { | |
"ns": 1e-9, | |
"µs": 1e-6, | |
"ms": 1e-3, | |
"s": 1, | |
"m": 60, | |
"h": 3600, | |
} |
import pickle | |
import numpy as np | |
img = np.random.rand(3, 1000, 1000) | |
data = img.tobytes() | |
def dump(arr): | |
return pickle.dumps((arr.tobytes(), arr.dtype, arr.shape)) |
All People Seem To Need Data Processing
https://dev.mysql.com/doc/refman/8.0/en/storage-engines.html
plasma_store -m 1000000000 -s /tmp/plasma