I hereby claim:
- I am come25136 on github.
- I am come25136 (https://keybase.io/come25136) on keybase.
- I have a public key whose fingerprint is 1F94 D115 DC25 AB60 F3B1 8AD9 DD2D 4AA6 B748 84AE
To claim this, I am signing this object:
| #!/bin/sh | |
| apt update -y && | |
| apt upgrade -y && | |
| apt install -y nodejs npm && | |
| npm i -g n && | |
| n lts && | |
| apt purge -y nodejs npm && | |
| exec $SHELL -l |
| const path = require('path') | |
| const fS = require('fs') | |
| const fL = require('node-filelist') | |
| const ffmpeg = require('fluent-ffmpeg') | |
| const cliProgress = require('cli-progress') | |
| const exclusion = require('./exclusion.json') | |
| if (process.argv.length < 4) throw new Error(`Args isn't valid.`) |
| <iframe src="https://docs.google.com/presentation/d/e/2PACX-1vQVSHvNdV1OUam6_GB1KMAt_mNd4QVuRkHw26YRhSuXqxnJNQPyFx0ptEoC590yGqPlga4StZo4skex/embed?start=false&loop=false&delayms=15000" frameborder="0" width="640" height="389" allowfullscreen="true" mozallowfullscreen="true" webkitallowfullscreen="true"></iframe> |
I hereby claim:
To claim this, I am signing this object:
| docker run -d --mount type=volume,src=minio,dst=/data -p 9000:9000 -p 9001:9001 -e "MINIO_ROOT_USER=minioadmin" -e "MINIO_ROOT_PASSWORD=minioadmin" -e "MINIO_ACCESS_KEY=minioadmin" -e "MINIO_SECRET_KEY=minioadmin" minio/minio server /data --console-address ":9001" |
| # Setup package server | |
| sudo sed -i -e 's|http://archive.ubuntu.com|http://jp.archive.ubuntu.com|g' /etc/apt/sources.list | |
| # Setup ask process restart | |
| echo "\$nrconf{restart} = 'l';" | sudo tee /etc/needrestart/conf.d/50local.conf | |
| # Update packages | |
| sudo apt update -y | |
| sudo apt upgrade -y |
| // 画像をグレイスケール化 | |
| function toGrayscale(array: Uint8ClampedArray, width: number, height: number) { | |
| // https://qiita.com/ltzz/items/2160b5a73c206e14bde3 | |
| let outputArray = new Uint8Array(width * height); | |
| for (let y = 0; y < height; y += 4) { | |
| for (let x = 0; x < width; x += 4) { | |
| for (let dy = 0; dy < 4; ++dy) { | |
| for (let dx = 0; dx < 4; ++dx) { | |
| const r = array[((y + dy) * width + (x + dx)) * 4 + 0]; | |
| const g = array[((y + dy) * width + (x + dx)) * 4 + 1]; |