SREとはのブログ

日々の作業メモ

2020-01-01から1ヶ月間の記事一覧

fish git switch completions

ここのサイトを参考 diary.shu-cream.net メモ fish_update_completions をやってもswitchはでないので completions/git.fishに設置が必要 あとは読み込み直し

terrform

アカウントのところがよくわかてなくて手をつけてなかったのですが とりあえず動かそう > pip3 install awscli --upgrade Collecting awscli Downloading https://files.pythonhosted.org/packages/4e/dc/d44fabd4a84eb18353ce51defc87f84ace88a24fda085cb56…

MacBook smb アカウント他のを入れられない時

別のアカウントで入りたくキーチェーンアクセスに登録されている情報を消したりしたがダメだったが 下記サイトが神でした。 smb://アカウント名@ホスト名 で入れるとユーザIDとパスワードを入れる画面が表示される (この時にアカウント名も修正できるので最…

minikube addons enable heapster 廃止されている

minikube addons enable heapster enable failed: property name "heapster" not found Heapsterは廃止されました github.com > minikube start minikube v1.6.2 on Darwin 10.14.5 ✨ Automatically selected the 'hyperkit' driver (alternates: [virtualb…

git 複数アカウント

個人的にまだ複数アカウントの仕組みがしっくりきていない。。 qiita.com git push時に .ssh/configにちゃんと書いてていても id_rsaをなぜか読み込む ここのサイトが神 .ssh/configのHostを Host github.com とするのが味噌 Host github としていたらダメ h…

gitコンフィリクト1

同じリモートbranchの同じファイルに対して異なる修正を別々のタイミングでpushした時に発生 直しかた www.softel.co.jp ・githubでも直せる ・自分のローカルでも直せる

vagrant version Installed Version: 2.2.6  最新すぎてvirtualboxでvagrant up が進ま無い場合

最新すぎてvagrant up が進ま無い場合 virtualbox verison バージョン:6.1.2 r135662 (Qt5.6.3) vagrant version Installed Version: 2.2.6 ここのサイトで解決 qiita.com

brew bagrant

ideal-reality.com

Error: Cask 'minikube' is unavailable: No Cask with this name exists.

qiita.com

kubernetes-cli インストール失敗? 

メモ > [23:02:56] tm@tm-22 /Users/tm (0) > brew install kubernetes-cli Updating Homebrew... ==> Auto-updated Homebrew! Updated 3 taps (homebrew/core, homebrew/cask and caskroom/fonts). ==> New Formulae mmctl wasmer ==> Updated Formulae ghq…

MAC Chrome Google drive このWebページ表示中に問題が発生しました。

GoogleDriveを使っていると1〜2分ごとに 「このWebページ表示中に問題が発生しました。」 になる。 ChromeのUpgradeはChromeの右上に出てなかったので アンインストールするかなーと思ったのですが brewで入れていたため brew cask upgrade google-chrome …

finder隠しファイル表示

sshとか.bash_profileとか表示 # 隠しファイルを表示 $ defaults write com.apple.finder AppleShowAllFiles TRUE # Finderを再起動する $ killall Finder qiita.com

brew cask install clip

クリップボード用 brew cask install clip なぜかこのエラー curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 curl: (22) The requested URL returned error: 403 Forbidden Error: Download failed on Cask 'clipy' with message: Download fai…

ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib? Please consult to the Wiki page to fix the problem. https://github.com/pyenv/pyenv/wiki/Common-build-problems BUILD FAILED (OS X 10.14.6 using python-build 20180424…

pipが消えた

pip install --upgrade pip うつと pipが消えた [ 21:26:11 ] ➜ pip install --upgrade pip DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date…

pyenvのインストール

qiita.com

ping fish 色

brew install grc ~/.config/fish/config.fish source /usr/local/etc/grc.fish これやると export CLICOLOR=1 export LSCOLORS="GxFxCxDxBxegedabagaced" とかで ls(ll)のフォルダの色を変更していた場合 にフォルダの色がつかなくなるので 下記からlsを外…

hub browse

brew install hub nishinatoshiharu.com

fishのpecoこっちじゃないと動かない

こっちで動く teratail.com こっちはなぜか動かない 【Mac】fish + fisher + peco + fzfで快適なターミナル環境を構築 | Public Constructor これもちょっと違うのかな qiita.com

vim 範囲

範囲指定すぐ忘れるので japanrock-pg.hatenablog.com 前に#挿入 ctrl+V ビジュアルモード ctrl+G 一番下まで ctrl+I 頭編集 # esc 後ろに#挿入 ctrl+V ビジュアルモード ctrl+G 一番下まで shift+$ 後ろ全部 ctrl+A 最後のあため # esc

tmux-powerline の weatherは使えない

tmux-powerline を入れると note.com No weather location specified 質問 blog.adachin.me export TMUX_POWERLINE_SEG_WEATHER_LOCATION="26237038" と適当に入れておくと表示はされなくなる github.com 修正されているのがこれ github.com

ghq+peco

qiita.com

powerline プロンプトTime変更

choco-late3.hatenablog.com vim ~/.powerline-shell.json { "segments": [ "virtual_env", "ssh", "time", "git", "hg", "jobs", "root" ] }

bashrc再読み込み

source ~/.bashrc

fish git completions

fish git completions blog.lorentzca.me

docker run 中身

このサイトがわかりやすかった noumenon-th.net

docker completion

fishだとこのサイトがいいかも gist.github.com fishこれも qiita.com bashはこれ docs.docker.com