:%s/before/after/g
php の公開鍵を用いるメソッドに疑問を覚えたら、すばらしい回答があったのでメモ。 公開鍵認証の SSH をするとき、クライアントには秘密鍵だけじゃなくって、公開鍵ももってるんだって。知らなかった。
2.2と2.4で情報が混在してるので注意。
Deny Allow
とかは2.2だぞ!
This file contains 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
# sshの事故を防ぐ | |
# https://dev.classmethod.jp/articles/iterm2-ssh-change-profile/#toc-4 | |
alias ssh='~/bin/ssh-change-profile.sh' | |
# itemでファイル属性ごとに色を変える | |
export CLICOLOR=1 | |
export LSCOLORS="GxFxCxDxBxegedabagaced" | |
# sshの接続先メモ | |
alias ssh-memo='code ~/.ssh' | |
# 汎用的なメモ |
This file contains 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
{ | |
"Profiles": [ | |
{ | |
"Ansi 6 Color" : { | |
"Green Component" : 0.9137254901960784, | |
"Red Component" : 0.54509803921568623, | |
"Blue Component" : 0.99215686274509807 | |
}, | |
"Tags" : [ |
https://qiita.com/castaneai/items/d5fdf577a348012ed8af
とりあえず動かしたいんじゃってときは、以下が便利 https://gist.github.com/Ryomasao/d0eecd7c5311b9c8984d6d8fba098ac9
$ docker run -d -p 8000:80 --name my-apache-php-app -v "$PWD":/var/www/html php:7.2-apache
$ docker exec -it コンテナ名 bash
NewerOlder