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:
| // 画像をグレイスケール化 | |
| 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]; |
| # 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 |
| 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" |
I hereby claim:
To claim this, I am signing this object:
| <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> |
| 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.`) |
| #!/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 |
| [ | |
| { | |
| "id": 1000, | |
| "type": "string", | |
| "value": "lighrhouse" | |
| }, | |
| { | |
| "id": 1001, | |
| "type": "string", | |
| "value": "Vive Tracker PVT" |
| keyconfig_data = \ | |
| [("Screen Editing", | |
| {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | |
| {"items": | |
| [("screen.actionzone", | |
| {"type": 'LEFTMOUSE', "value": 'PRESS'}, | |
| {"properties": | |
| [("modifier", 0), | |
| ], | |
| }, |
| { | |
| "header": { | |
| "gtfs_realtime_version": "1.0", | |
| "incrementality": 0, | |
| "timestamp": 1551626491 | |
| }, | |
| "entity": [ | |
| { | |
| "id": "tripUpdate_212_538401_20181231", | |
| "trip_update": { |