I hereby claim:
- I am nari-ex on github.
- I am nari_ex (https://keybase.io/nari_ex) on keybase.
- I have a public key ASBzSuF8RetAd5K8R3e9N4PgHCKvYurJFhoY6e9kJLG_lAo
To claim this, I am signing this object:
| query roots { | |
| __schema { | |
| queryType { | |
| ...typeFields | |
| } | |
| mutationType { | |
| ...typeFields | |
| } | |
| subscriptionType { | |
| ...typeFields |
I hereby claim:
To claim this, I am signing this object:
| # yum install https://downloads.mariadb.com/enterprise/WY99-BC52/generate/10.0/mariadb-maxscale=1.2/mariadb-enterprise-repository.rpm | |
| # yum install MariaDB-server MariaDB-client | |
| # yum install maxscale |
| { | |
| "brand": [ | |
| "夢ごこち", | |
| "彩", | |
| "初星", | |
| "四国", | |
| "春陽", | |
| "朝日", | |
| "秋晴", | |
| "でわ75ひかり", |
| # dd で全部やるパターン | |
| ionice -c3 dd if=/dev/zero of=100GB.img bs=1M count=102400 oflag=direct | |
| ionice -c3 dd if=/dev/zero of=100GB.img bs=1M count=102400 oflag=sync | |
| ionice -c3 dd if=/dev/zero of=100GB.img bs=1M count=102400 oflag=fdatasync | |
| ionice -c3 dd if=/dev/zero of=100GB.img bs=1M count=102400 oflag=fsync | |
| # 単位ファイルを作成して足し続けるパターン | |
| ionice -c3 dd if=/dev/zero of=100MB.img bs=1M count=100 oflag=direct | |
| for i in $(seq 1 1000); do ionice -c3 cat 100MB.img >> 100GB.img; sleep 5; done |
| # rsync コマンドを用いるケース | |
| rsync -av --bwlimit 10000 src dst | |
| # tar + pv コマンドを用いるケース | |
| tar czvf - src | pv -L 2048k | cat - > /path/to/dist |
| find . -print -exec sleep 0.1 \; | xargs -n1 -I%% mv %% dst_dir/ |
| find ./ -exec sleep 0.1 \; -delete -print |
| #/bin/bash | |
| set -euo pipefail | |
| filepath=$1 | |
| # 10MBytes/sec | |
| filesize=$(du -m ${filepath} | awk '{print $1}') | |
| sleep_time=0.1 | |
| for num in $(seq 1 ${filesize}); |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| import os | |
| import time | |
| src_dir = "" | |
| dst_dir = "" | |
| import_file = "" | |
| export_file = "" |