Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 GitHub - ackintosh/dotfiles: my dotfiles.
Nothing Special   »   [go: up one dir, main page]

Skip to content

ackintosh/dotfiles

Repository files navigation

ackintosh/dotfiles

setup scripts

TODO: Brewfile https://qiita.com/d0ne1s/items/90974ad472c2d891e784

目次

macOSシステム環境設定

  • キーボード
    • キーのリピート:最も速い
    • リピート入力認識までの時間:最も速い
    • Touch Barに表示する項目:F1, F2などのキー

CLI

Homebrew

powerline

  • powerline-status (現在は入れなくても問題ない)
    • pip install --user powerline-status
  • powerline-fonts
    • インストール
    • git clone https://github.com/powerline/fonts.git --depth=1
    • cd fonts
    • ./install.sh
    • cd ..
    • rm -rf fonts
    • iTerm2 -> Profiles -> Text -> "Font" を Source code pro for Powerline に変更する

tmux

git

  • dotfilesの設定ファイルを使う
    • cd ~ && mv .gitignore_global .gitignore_global.default && ln -s ~/src/github.com/ackintosh/dotfiles/.gitignore_global .gitignore_global
    • git config --global core.excludesfile ~/.gitignore_global
  • gitignore に書くべきでないものは gitignore_global へ - Qiita
  • git-secrets
    • クラウド破産しないように git-secrets を使う - Qiita
    • brew install git-secrets
    • AWSのクレデンシャル情報をコミットしてしまうのを防ぐ
      • git secrets --register-aws --global

      • git secrets --install ~/.git-templates/git-secrets

      • git config --global init.templatedir '~/.git-templates/git-secrets'

    • IntelliJでコミットしたときに 'secrets' is not a git command というエラーが出てしまうのでgitのパスを指定する
      • IntelliJ Preference → Version Control → Git
      • which git で出るパスを入れる( /usr/local/bin/ のはず)
git config
# git コミットメッセージの文字化け防止
git config --global core.editor '/usr/local/bin/vim -c "set fenc=utf-8"'

# 個人の環境特有の除外設定
git config --global core.excludesfile ~/.gitignore_global

# キレイなdiff
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"

# ghq
git config --global ghq.root ~/src
# 仕事用マシンでOSSにコミットするとき
# サブアカウントとしてgithub.comのアカウントを設定する
git config --local user.name "ackintosh"
git config --local user.email "sora.akatsuki@gmail.com"
# HTTPSでリポジトリアクセスする場合
# - リポジトリの操作時にuser/passwordを尋ねられる
# - 2FAを有効にしているので、passwordにはpersonal access tokenを入れなければならない
# - 毎回入力するのは手間なのでOSXキーチェーンを使う
# see https://help.github.com/articles/accessing-github-using-two-factor-authentication/#using-two-factor-authentication-with-the-command-line
# see https://help.github.com/articles/caching-your-github-password-in-git/

git config --local credential.helper osxkeychain

# その後、初回のpushなどでuser/password(personal access token)を求められる
# それ以降は入力不要になる
# gitのmerge --no-ff のススメ - Qiita https://qiita.com/nog/items/c79469afbf3e632f10a1
git config --global --add merge.ff false
# pullのときはfast forwardのみ受け入れる
git config --global --add pull.ff only

コマンドを並列実行

AWS assume role

GUIアプリケーション

iTerm2

⌘英かな

Alfred (Alfred 4で再度有料化されたタイミングで使用をやめた)

AppCleaner

Raycast

  • https://www.raycast.com/
  • cmd + space で起動設定
    • Spacesの無効化方法が設定ウィンドウに書いてあるので参照する
  • Clipboard history拡張機能
    • デフォルトで入っている
    • cmd + shift + space で起動設定

f.lux

GIPHY

Skitch

App Cleaner & Uninstaller

Rectangle

  • ウィンドウの移動, リサイズ
  • https://rectangleapp.com/
  • 設定
    • Fullscreen: Cmd + Ctrl + J
    • Left Half: Cmd + Ctrl + H
    • Right Half: Cmd + Ctrl + L

Charles

  • 通信のモニタリング、シミュレーションなど
  • https://www.charlesproxy.com/
  • ローカルに起動したアプリケーションと外部サービスとの通信のデバッグなどに便利

RedisInsight

Medis

DBeaver

DeepL

***env

rbenv

direnv

  • brew install direnv

tfenv

  • brew install tfenv

エディタ

vim

Intellij IDEA

https://x.com/kumagi/status/1761457618449760512 image

その他

ブログ

mkdir blog && cd $_
git clone https://github.com/ackintosh/ackintosh.github.com-content.git content
mkdir themes
git clone https://github.com/ackintosh/ackintosh.github.com-theme themes/casper
ln -s themes/casper/config.toml config.toml
git clone https://github.com/ackintosh/ackintosh.github.com.git public
hugo server -w
hugo

キーボード関係の環境設定

  • caps lock に control を割り当てる
    • キーボード -> キーボード -> 修飾キー -> Caps Lock キー のプルダウンで Control を選択する
  • スペルの自動変換を OFF
    • キーボード -> ユーザー辞書 -> "英字入力中にスペルを自動変換" のチェックを外す
  • スマート引用符を OFF
    • キーボード -> ユーザー辞書 -> "スマート引用符とスマートダッシュを使用" のチェックを外す

image

  • レイアウトの更新手順
    • https://www.pjrc.com/teensy/loader_mac.html から Teensy Loader Disk Image (teensy.dmg) をダウンロードする
    • massdropのサイトからレイアウトをダウンロードする(.HEX)
    • teensy.dmgを起動する
    • Ergodox右上の穴を押してプログラムモードにする
    • File -> Open Hex File でダウンロードしたHEXファイルを読み込む
    • Operation -> Program
    • Operation -> Reboot
    • 変更が反映されたことを確認する

Kinesis Advantage2

  • キーのリマップ

image

  • https://www.edikun.co.jp/kinesis/
  • progm + shift + Esc でパワーユーザーモードをOnにする (初回のみ必要)
  • progm + F1 でvドライブをPCに認識させる
  • SmartSet App for Advantage2 を起動してリマップを設定する
  • アプリを終了したら、再度 progm + F1でvドライブを閉じる
  • リマップ設定のバックアップが qwerty.txt にある
    • vドライブの active/qwerty.txt のバックアップ

Kensington

  • Expert Mouse Wireless TrackBall
  • 設定ファイル: KensingtonWorks.json
ボタン image
ポインター image
スクロール image

Chrome 拡張

Unshaky

  • Mac備え付けキーボードのチャタリングを緩和するために利用
  • 設定ファイル: unshaky.config

簡易メモ帳

  • ブラウザのアドレスバーに data:text/html, <body contenteditable>

スニペット

# ランダムな文字列を生成する
# https://qiita.com/Vit-Symty/items/5be5326c9db9de755184
cat /dev/urandom | LC_CTYPE=C tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 5000
> tr -dc 'a-zA-Z0-9' 含める文字種
> fold -w 16 生成する文字列の文字数
> head -n 32 生成する件数

About

my dotfiles.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0