Coder Social home page Coder Social logo

mac-provisioning's Introduction

Setup Mac

Prepare

  1. Connect internet
  2. Setting iCloud
  3. Update OSX

Usage

  1. GUIでサインインする for mas-cli. Signin command disabled on macOS 10.13+ mas-cli/mas#164

2021/03/21現在mas1.8.0から1.8.1にあげるとエラーが発生する。 なのでmas1.8.0で実行する必要がある

#% cp provisioning/host_vars/localhost.example provisioning/host_vars/localhost
#% vi provisioning/host_vars/localhost
  1. Execute
% make
  1. Apply
# 再起動しないと、キーボード設定などは反映されない
$ sudo shutdown -r now

Manual

Screen Saver

Track Pad Configuration(確認用)

dotfiles(Google Backup Sync, Symbolic link)

ssh

% ln -s ~/gdev/settings/ssh ~/.ssh

shell

fish
% ln -s ~/gdev/settings/shell/config.fish ~/.config/fish/config.fish

Source Code Pro for Powerline フォントをiTerm2、VSCodeなどに登録する

zsh(見直す:たまにfishの記号が使いづらいから使うこともあるでしょう)
$ ln -s ~/gdev/settings/shell/.zshrc ~/.zshrc

git

$ ln -s ~/gdev/settings/git/.gitmessage ~/.gitmessage
$ ln -s ~/gdev/settings/git/.gitignore_global ~/.gitignore_global
$ ln -s ~/gdev/settings/git/.gitconfig ~/.gitconfig
# そのほか、ここにはかけないgit configがあればそちらも同期する

subl3(見直すので保留)

$ ln -s ~/gdev/settings/subl3/Packages ~/Library/Application\ Support/Sublime\ Text\ 3/Packages

dash

cmd + ,GeneralSyncing~/gdev/settings/dash を選択する

iTerm2

  • 現在使っている端末のSettingをsync nowしてから行うと設定がしっかり同期される
  • cmd + ,GeneralPreferences
  • Startup タブで Window restoration policyがUse System Window Restoration Settingで使いたいならば、警告をクリックして、アプリケーションを閉じるときにウィンドウを閉じるのチェックを外す(趣味)
  • Preferences タブで Load preference from a custom folder or URL.
  • ~/gdev/settings/iterm2 を選択する
  • Save changes を Automatically にする

terminal

cmd + , → プロファイル → 左下の歯車アイコン → 読み込む → ~/gdev/settings/terminal/Solarized Light.terminal

alfred

option ダブルタップに設定

Preferencesadvanced → 右下のSet Sync folderで
~/gdev/settings/alfred/ を選択する

clipboard機能有効。shortcutをcにする

Boostnote(nextが出てるらしいので確認する)

設定から~/gdev/settings/boostnoteを追加する

adobe

adobeのサイトにログインしてインストーラーを取得する

VSCode

プラグインをいれてgistで管理する Settings Sync

  • sync Advanced OptionsLOGIN WITH GITHUB をクリックして、ログインし、どのgistでsyncすると聞かれるので正しいものを選択する(一番上にきてると思う)
  • EDIT CONFIRMATION → 自動ダウンロード、自動アップロード、拡張機能の削除、拡張機能の同期にチェックする(Windowは縦長にしないと全部見えない)

Other

  • chrome
  • 解像度最大
  • ATOK
  • MYKI
  • jetbrains
    • plugins: IDE Settings SYNC をONにする
  • rectangle
  • pixel snap
  • clean shot x
    • 保存場所をScreenShotsに
  • drop box
  • アクセシビリティ
    • ズーム機能。スクロールとジェスチャー
  • Finder
    • サイドバーにhobby, ScreenShotsを追加する
  • キーボード
    • Touch Barに表示する項目:F1, F2などのキー
    • 地球儀キーを押して:音声入力
    • 押したままでControl Strip
    • 就職キー → Caps Lock アクションなし
deprecateds
##### bash(deprecated) ```zsh % ln -s ~/gdev/settings/shell/.bash_profile ~/.bash_profile % ln -s ~/gdev/settings/shell/.bashrc ~/.bashrc ```

filezilla(deprecated: 一時期malware入ってたし、jetbrainsの方が高性能なので)

filezillaで不可視ディレクトリを見たい時は cmd + . を押す

% mkdir -p ~/.config/filezilla
% ln -s ~/gdev/settings/filezilla/sitemanager.xml ~/.config/filezilla/sitemanager.xml

hosts(deprecated: 自宅と会社で完全に分けるし、今は特に使っていないので困らない)

$ ln -s ~/gdev/settings/hosts /etc/hosts

メール(これなんでだっけ?)

~/Library/Mail/V5/MailData ~/Library/Containers/com.apple.mail を上書きコピペする アカウントは再ログインする

Atom(deprecated)

setting-syncをいれる 設定からシークレットキー、gist idを入力する sync backupするだけ ※シークレットキーは丸裸で確認できる

mac-provisioning's People

Contributors

harapeko avatar

Watchers

 avatar

mac-provisioning's Issues

/etc/shellsにbrew fishがないときだけ、書き込むようにする

lineinfileだと/etc/shellsに書き込むのが(/private/etc)には直接どうのって言われたから
shellのほうで次のようにして無事追加された

  • hoge
    shell: sudo sh -c "echo '/usr/local/bin/fish' >> /etc/shells"

ただこれだと毎回最終行に追加されてしまうので、
/etc/shellsの中をgrepしてregisterに登録して、なければ追加するようにしたほうがいいかな

今日はもう無理眠い
明日やる

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.