Skip to content

Instantly share code, notes, and snippets.

View udzura's full-sized avatar

Kondo Uchio udzura

View GitHub Profile
問Y-1
クラス(モジュール)にはancestorsという、そのクラスの親を一覧するメソッドがあります。以下のインスタンスについて、その所属するクラスのancestorsを表示してください。
・String 例: "aaa"
・Array 例: [1, 2, 3]
・自作のクラス
また、これらに共通するクラス/モジュールを表示してください

関数のやりとりの流れ

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
...
root 9573 0.3 0.5 1242928 83380 ? Ssl 19:25 0:01 /usr/bin/dockerd -D -s devicemapper --add-runtime kata-runtime=/usr/bin/kata-runtime --add-runtime kata-fc=/op
root 9595 0.4 0.2 1237676 37156 ? Ssl 19:25 0:02 \_ docker-containerd --config /var/run/docker/containerd/containerd.toml
root 11369 0.0 0.0 7756 4120 ? Sl 19:29 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtim
root 11395 0.0 0.0 4188 516 ? Ss 19:29 0:00 | \_ sleep 300
root 11540 0.0 0.0 7564 4264 ? Sl 19:30 0:00 \_ docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtim
root 11583 1.9 1.2 3260216 212396 ? Sl 19:30 0:03 | \_ /usr/bin/qemu-lite-system-x86_64 -name sandbox-4a39ae85a6246c7586a1ca751d30dbd31a655c37f50b14d1753
root 11589 0
execve("/usr/bin/unshare", ["unshare", "--user", "--map-root-user", "id"], 0x7ffe7a97f748 /* 22 vars */) = 0
brk(NULL) = 0x557c55fe8000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=42264, ...}) = 0
mmap(NULL, 42264, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3a981d000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
import re
data = """
some avg10=0.00 avg60=0.52 avg300=4.18 total=159949297 [7/309513]
some avg10=0.00 avg60=0.52 avg300=4.18 total=159949297
some avg10=0.00 avg60=0.50 avg300=4.15 total=159949297

今日の振り返り

[1/17]
19:00 - 20:30 プロジェクトにフィードバックする
20:30 - 20:45 ふりかえり
20:45 - 21:00 まとめ
21:00 - 21:10 アンケート記入
21:10 - 21:30 ワークショップのふりかえり
@udzura
udzura / yawaraka-docker.md
Last active June 16, 2022 23:34
やわらかDocker
@udzura
udzura / codedump.txt
Created October 23, 2018 09:42
call codedump(mrb, irep)
irep 0x5650281e45d0 nregs=13 nlocals=8 pools=28 syms=34 reps=1
local variable names:
R1:c
R2:&
R3:id
R4:ip
R5:port
R6:root
R7:veth
file: (eval)
@udzura
udzura / head-first-peco.md
Last active August 29, 2018 05:36
社内勉強会「シェル大活用講座」

peco だよ〜

基本、デモをしながらやっていきます。

peco っち何?

Simplistic interactive filtering tool

clone-tarou
*.o
*.a
*.out