- setup macOS 12 Monterey
- setup macOS 13 Ventura 👇
- Configure dotfiles
- Install homebrew
- Install Nerd Fonts
- Install Starship
- Set installed Nerd Fonts in Terminal
...
| #Include IME.ahk | |
| CapsLock::Ctrl | |
| LWin::LCtrl | |
| RWin::RCtrl | |
| /* | |
| ;;;;;;;; Inspired by https://github.com/karakaram/alt-ime-ahk | |
| */ | |
| ; 主要なキーを HotKey に設定し、何もせずパススルーする |
| // 横浜へなちょこプログラミング勉強会 | Doorkeeper | |
| // https://yhpg.doorkeeper.jp/ | |
| // | |
| // アンエスケープ 2018.12.8 | |
| // http://nabetani.sakura.ne.jp/hena/orde29unes/ | |
| import Foundation | |
| var tested_count = 0 | |
| var ok_count = 0 | |
| var ng_count = 0 |
| // 横浜へなちょこプログラミング勉強会 | Doorkeeper | |
| // https://yhpg.doorkeeper.jp/ | |
| import Foundation | |
| var test_count = 0 | |
| var ok_count = 0 | |
| var ng_count = 0 | |
| func solve(input: String) -> String { |
| import Foundation | |
| struct TestCase: CustomStringConvertible { | |
| var input: String | |
| var expectedOutput: String | |
| var description: String { | |
| return String("input: \(self.input), expected output: \(self.expectedOutput)\n") | |
| } |
| //: Playground - noun: a place where people can play | |
| import Foundation | |
| var testCases: [(input: String, expectedOutput: String)] = [] | |
| func addTestCase(_ input: String, _ expectedOutput: String) { | |
| testCases.append((input, expectedOutput)) | |
| } |
| #!/bin/sh | |
| ## usase: $ sh ./find-xib-use-autolayout.sh <path_to_search_directoty> | |
| path_to_search_directoty="$1" | |
| cd "$path_to_search_directoty" | |
| function document_uses_autolayout () { | |
| # $1: file path | |
| matched_text=`grep -H -i -e 'useAutolayout="YES"' -e 'key="IBDocument.UseAutolayout">YES' "$1"` |
| #!/bin/sh | |
| ## usase: $ sh ./macos-deployment-targer.sh <path-to-binary> | |
| path_to_binary="$1" | |
| otool -lv "$path_to_binary" | grep -A 3 LC_VERSION_MIN_MACOSX | grep "version" | awk '{print $2;}' |