SREとはのブログ

日々の作業メモ

2019-01-01から1年間の記事一覧

while read line

1行ずつマッチするか検索 shell lanchesters.site #!/bin/bash while read line do grep -m1 $line /Users/****/Downloads/g***.csv done < ./list.txt list.xtx aaaa bbbb cccc

Interface NAMEを DEVICEと合わせる

これやらないと nmcli connection modify ens** -ipv4.routes "" に日本語いれないといけなくなる nmcli c m "有線接続 1" connection.id "インターフェース" NAMEを DEVICEと合わせる nmcli c sNAME UUID TYPE DEVICE

CentOS Linux release 7.6.1810 (Core) DNAT SNAT

DNAT,SNAT staticRoute https://qiita.com/Morihaya/items/293ba49f97e7a46fa760 iptable転送 https://sky-joker.tech/2018/11/25/linux%E3%81%AEiptables%E3%81%A6%E3%82%99dnat%E3%81%99%E3%82%8B%E3%83%A1%E3%83%A2/ Iptableinstall https://qiita.com/mi…

キー権限変更

chmod 0600 ~/.ssh/ The authenticity of host can't be established.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added (RSA) to the list of known hosts.Welcome to VyOS@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@…

rpm -e --justdb

# rpm -e --justdb パッケージ名 パッケージのデータベース情報を「削除」する場合

bash-completion MAC bash 保管

http://sig9.hatenablog.com/entry/2016/06/19/003000 種類 heartbeats.jp

github別PC

https://qrunch.net/@keikuchen/entries/suAWjESgk5fugAce

brew install grc Ping色

fhiyo.github.io -s "/usr/local/etc/grc.bashrc" && source /usr/local/etc/grc.bashrc

iterm2 Bell

アラートが出るからこれをやろうとしたが なぜか出なくなった。。 tech.withsin.net

dyld: Library not loaded: /usr/local/opt/libevent/lib/libevent-2.1.6.dylib

http://sugilog.hatenablog.com/entry/2019/08/09/081551

brew cask install hyperswitch

brew cask install hyperswitchUpdating Homebrew...==> Auto-updated Homebrew!Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).==> New Formulaealp gleam pnetcdfappium libtensorflow@1 wagyudafny mysql-connector-c++@1.1=…

VIMコピー

$をよく忘れる japanrock-pg.hatenablog.com

Windows tab mac

cask install hyperswitch

bash-completion

後でやってみる sig9.hatenablog.com

tmux メモ

``` #マウス操作を有効にするset-option -g mouse on # スクロールアップするとコピーモードに入るbind-key -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -…

21 cd tmux-powerline/ 26 cd segments/ 28 vim weather.sh export TMUX_POWERLINE_SEG_WEATHER_LOCATION="26237038" 表示はされないのは https://github.com/erikw/tmux-powerline/issues/219 動かない?

fonts install

``` ➜ ./install.shCopying fonts...Powerline fonts installed to /Users/tm/Library/Fonts ```

Iterm2 複数貼り付け時の警告

https://ex1.m-yabe.com/archives/2740

bash_profile

vim .bash_profile if [ -f ~/.bashrc ] ; then . ~/.bashrc fi

tmux設定

note.mu tmux-powerline - Qiita

MACターミナル終了時に履歴消えないように

$ echo 'shell_session_update' > $HOME/.bash_logout

macでpeco

mac peco導入 bashを使っています。 # 環境 mac os Mojave 10.14.5 brew install peco sudo vi ~/.bash_profilesudo vi ~/.bashrc ~/.bash_profile if [ -f ~/.bashrc ]; then . ~/.bashrc fi ~/.bashrc peco-select-history() { declare l=$(HISTTIMEFORMAT…

macos Mojave で httping

+ 環境 mac OS Mojave バージョン 10.14.5 MACでhttpingを動かすと brew install httping インストール後に httping --versiondyld: Library not loaded: /usr/local/opt/fftw/lib/libfftw3.3.dylib Referenced from: /usr/local/bin/httping Reason: image …

rarejob2

I understand English words and grammar a little. So there are times when you do not know the English you are saying.I want you to write in chat at that time.

rarejob1

I accidentally made a speaking test at least once without practice. Sure enough, it was a full bocco.

Powerlineの導入メモ

Powerlineの導入参考URL suguru03.hatenablog.com