title | date | draft | tags | ||
---|---|---|---|---|---|
Project Valhalla Memo |
2022-10-23 18:28:19 +0900 |
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
#!/bin/bash | |
# https://qiita.com/owayo/items/81c843fb11d27b217433 | |
# リポジトリ設定のバックアップ | |
cp -ip /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak | |
# リポジトリ設定の書き換え | |
cat <<EOL > /etc/yum.repos.d/CentOS-Base.repo | |
[base] |
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
docker run --rm -it -v ~/.mitmproxy:/home/mitmproxy/.mitmproxy -p 9080:9080 -p 9081:9081 mitmproxy/mitmproxy mitmweb --listen-port 9080 --web-port 9081 --web-host 0.0.0.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
# https://twitter.com/hatsunetsu7/status/1566376520184000512 | |
# を書く gnuplot スクリプト | |
# 2時間(120分)分描画 | |
set xrange [0:120] | |
max(x,y) = x > y ? x : y | |
# 20分まで毎 => ceil(x/20) | |
# 40分まで無料 => x-40 |
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
Warning: Your Homebrew's prefix is not /usr/local. | |
Some of Homebrew's bottles (binary packages) can only be used with the default | |
prefix (/usr/local). | |
You will encounter build failures with some formulae. | |
Please create pull requests instead of asking for help on Homebrew's GitHub, | |
Twitter or any other official channels. You are responsible for resolving | |
any issues you experience while you are running this | |
unsupported configuration. | |
https://qiita.com/usamik26/items/601f5612bd3f8a21cc41 |
sudo apt install zsh
chsh -s /usr/bin/zsh
- prezto インストール
- gitプラグイン
VISUAL
環境変数をvimに設定 (.zshrc
)
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
https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/ | |
作業はWindows10, Git-for-Windows インストールしたときの Git Bash 上で行っている。 | |
mitmproxyをインストールして1度起動しておく | |
scoop install mitmproxy | |
起動すると、証明書が ~/.mitmproxy/ に生成される | |
Android Studio をインストールする | |
元々 JetBrain Toolbox を利用していたのでそこからインストールした |
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 io.kotest.core.spec.style.FunSpec | |
import io.kotest.data.forAll | |
import io.kotest.data.row | |
import io.kotest.datatest.withData | |
class SampleTest : FunSpec({ | |
beforeAny { println("before any") } | |
beforeContainer { println("before container") } | |
beforeEach { println("before each") } |
NewerOlder