This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat >/root/mape-auto-restart.sh << 'EOF' | |
#!/bin/bash | |
run_mape_setup_script() { | |
if ping6 -c 1 google.com > /dev/null 2>&1; then | |
echo "ping6 google.com was successful." | |
/root/mape-setup.sh | |
echo "mape setup." | |
else | |
echo "ping6 google.com failed." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from struct import unpack | |
from scipy.io import wavfile | |
import scipy.io | |
import numpy as np | |
import os, sys | |
import glob | |
threshold = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
同じデータを持つオブジェクト同士でのModifier設定を同期します。 | |
設定元となるオブジェクトを選択してスクリプトを実行してください。 | |
他のオブジェクトはそのModifierの設定で上書きされます。 | |
""" | |
import bpy | |
print("<script start>") | |
target_obj = bpy.context.view_layer.objects.active |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev | |
git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(pyenv init -)"' >> ~/.bashrc | |
source ~/.bashrc | |
pyenv install 3.6.5 | |
pyenv rehash | |
pyenv global 3.6.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extensions.ignoreRecommendations": false, | |
"window.zoomLevel": 0, | |
"workbench.editor.enablePreview": false, | |
"editor.renderWhitespace": "all" | |
} | |
[ | |
{ | |
"key": "ctrl+tab", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 入力系 | |
Ctrl2Cap https://docs.microsoft.com/en-us/sysinternals/downloads/ctrl2cap | |
英字キーボード/Ctrl+Space切替 https://enjoypclife.net/2016/10/17/windows-10-us-keyboard-layout-japan-tips/ | |
再起動 | |
2. Chocolatey | |
choco install ConEmu git GoogleJapaneseInput rapidee slack SourceTree GoogleChrome winscp vlc foobar2000 audacity 7zip everything vscode zoom discord -y | |
必要に応じて ninite | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import subprocess as sp | |
import sys | |
''' | |
requirements: | |
- python3 | |
- ffmpeg | |
・正方形の絵とwavファイルを用意する。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
<metadata description="The Lifegame" target="Lightpad" tags="Game;Midi;"> | |
<modes> | |
<mode name="Default"> | |
<variable name="xCC" value="113"/> | |
<variable name="yCC" value="114"/> | |
<variable name="zCC" value="115"/> | |
<variable name="channel" value="1"/> | |
<variable name="interval" value="4"/> | |
<variable name="colour" value="0xFF00FBFF"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Preferences > Settings) | |
{ | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"draw_white_space": "all", | |
"font_size": 11.5, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"show_encoding": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Atomで頑張ってみる。 | |
AtomはChocoで入る。 | |
- wrap-guide | |
- spell-check | |
を無効にする。 | |
- markdown-writer | |
- linter-verilog |
NewerOlder