Important
Important
Note
NOTE
Warning
WARNING
<!DOCTYPE html><meta charset=utf-8> | |
<title>HTML5 まぐろーだー</title> | |
<script> | |
function load_mag(ab, canvas) { | |
var check = new Uint8Array(ab); | |
if ('MAKI02 ' !== String.fromCharCode.apply(null, check.subarray(0, 8))) { | |
throw new Error('MAG画像ではありません'); | |
} | |
// ヘッダの先頭まで読み捨て | |
for (var headerOffset = 30; check[headerOffset]; ++headerOffset) |
# ===== USAGE ===== | |
# clear; export BUILDAH_LAYERS=false; podman build --tag resume ./container | |
# | |
# podman run --name resume --detach --tty \ | |
# --publish 58000:8000/tcp \ | |
# --userns=keep-id:uid=1000,gid=1000 \ | |
# --volume /home/${USER}/${HOST_PROJ_DIR}:/home/user/MY_PROJECT \ | |
# localhost/resume | |
# | |
# podman exec --interactive --tty --workdir /home/user/MY_PROJECT --user user resume /bin/bash |
Important
Important
Note
NOTE
Warning
WARNING
FROM debian:bookworm | |
LABEL maintainer="[email protected]" | |
SHELL ["/bin/bash", "-c"] | |
RUN useradd --create-home --shell /bin/bash user | |
RUN apt update && apt install --no-install-recommends --yes \ | |
iputils-ping \ | |
less \ |
perl -e ' | |
use strict; | |
use warnings; | |
use File::Basename; | |
my $SRCDIR = "ori02/"; | |
my $OUTDIR = "out02/"; | |
my $w = 1506; | |
my $h = 2160; | |
my $firstPageInCenter = 1; | |
my $leftPageX = 405; |
:root.sidebar * { | |
font-size: 12px; | |
} | |
:root { | |
--favicon-size: 14px; | |
} |
export { } | |
declare global { | |
interface Array<T> { | |
last (): T | undefined | |
delete (elem: T): boolean | |
pushIfNotExist (elem: T): boolean | |
} | |
} | |
Array.prototype.last = function () { |
.ONESHELL: | |
REPO_DIR="${PWD}" | |
define my_git_checkout | |
(git checkout $(1) || git checkout --track origin/$(1)) && git pull | |
endef | |
define GVM_USE | |
echo "=========================================================================================" |
function init_rsync() { | |
# --archive, -a archive mode is -rlptgoD (no -A,-X,-U,-N,-H) | |
# --recursive, -r recurse into directories | |
# --links, -l copy symlinks as symlinks | |
# --perms, -p preserve permissions | |
# --times, -t preserve modification times | |
# --group, -g preserve group | |
# --owner, -o preserve owner (super-user only) | |
# -D same as --devices --specials | |
# --devices preserve device files (super-user only) |