Skip to content

Instantly share code, notes, and snippets.

View come25136's full-sized avatar
🍚

yu come25136

🍚
View GitHub Profile
# 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"

Keybase proof

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:

<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"
@come25136
come25136 / blender_keyconf.py
Last active December 22, 2019 15:53
Blender 2.8のマウスの操作性をUnityと同じにできるやつ
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": {
.....JJ&+&zuZ+J+(......
..JdXkXXwwwXXWWXXXXWX0wXGI>1Iz<<:<;<..
.JdWfWppppfffffffVfVWppfffVXXXwwOzzz++++?CdOx-.
.JXfffppbpWVffppfpfVVVVfpbkkbWffffVVXWkXwwwXwVtI;(+;<.
.dffVVfppWpppVVVVVfppfVVVfpbHpWpffppfffffVfpWfyuzzwOzz++u+&.
.+ffffWpffpWppfWWfVVVffpfVfffWbkbWVVffffffffVVfWfWWXXXuzwOwOuZO<+-.
.JfWpppffWpffffWWpppppfVVffpfpffpppfffVVVVVVVVWfpfVVfVffyZuwwwXZv<;zwX&.
.XffVfpWWVfVVfffVVfWfpfVfffpppWfpfffVfppffVfffffpbbpffpfffpWWXXXXXOz<dWkU>-
.XffVfVfffVVVVfffffffpfffVfffppppffpfpfffpppppppffWpfffffffppffVWXXXkOzzXVT??u
.JffffVfVfVVVVfpppWVffpbpVVVffppppfffffffffVfpppppppkHpffffpffffVVVyXXXzwOz?>>;?L