june29 / japonica

@june29 の学習帳
40 stars 0 forks source link

2018-03-19 〜 2018-03-25 の学び #14

Open june29 opened 6 years ago

june29 commented 6 years ago

この Issue はスクリプトによって自動で作成されました。今週も学びを記録していきましょう!

june29 commented 6 years ago

GnuPG の Key の移行

たまにしかやらないので忘れる。

新マシンに GnuPG をインストールする

https://www.gnupg.org/download/ の「GnuPG for OS X」から dmg ファイルをダウンロードしてきて、展開すると中に install.pkg が入っているからぽちぽちするだけ。

Key を移行する

https://qiita.com/gogotanaka/items/ea92b6aa0c15bd5a8acf の手順ほとんどまんまだけど :memo:

# 旧マシン

gpg --export -a FFFFFFFF > public.asc
gpg --export-secret-keys -a FFFFFFFF > secret.asc

# 新マシン

gpg --import public.asc
gpg --import secret.asc
gpg --edit-key FFFFFFFF

Edit Key

# 期限を設定する

gpg> expire
Changing expiration time for the primary key.
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0) 0
Key does not expire at all
Is this correct? (y/N) y

# 信頼度を設定する

gpg> trust
Please decide how far you trust this user to correctly verify other users' keys
(by looking at passports, checking fingerprints from different sources, etc.)

  1 = I don't know or won't say
  2 = I do NOT trust
  3 = I trust marginally
  4 = I trust fully
  5 = I trust ultimately
  m = back to the main menu

Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y

# 保存して終了する

gpg> quit
Save changes? (y/N) y
june29 commented 6 years ago

Git の submodule を含むリポジトリを clone してきたとき

そのままだとディレクトリがからっぽ!

git submodule init
git submodule update

すると、参照先のリポジトリも close されていい感じになる。

june29 commented 6 years ago

書籍「エンジニアリング組織論への招待」を読んだ https://june29.jp/2018/03/21/invitation-to-engineering-organization-theory-the-book/

june29 commented 6 years ago

ホラクラシーの光と影 https://www.amazon.co.jp/dp/B073DVV7BC/

シュッと読んだ。

「組織の一部にだけホラクラシーを導入する」ことのよさについて学べた、ってところかなあ。マネージャはいなくなるのが、元のマネージャの倍の数のリーダーが必要になる、って話はウームという感じ。ホラクラシーにしてもティールにしても勢いで導入すりゃいいってもんじゃないな。