Skip to content

Instantly share code, notes, and snippets.

View dokimyj's full-sized avatar

David Dongkyu Kim dokimyj

View GitHub Profile
@dokimyj
dokimyj / bazel-xc14-2-simruntime-issue
Last active September 21, 2023 09:10
As I read Bazel Xcode 14.2 watchOS 9.1 simulator runtime issues...
https://github.com/bazelbuild/continuous-integration/issues/1431
I found an interesting issue for Xcode 14.2 CI installation on Bazel Org.
I can't advise because I really have no idea what exactly they suffer from and I'm too noob...
But as a CI maintainer, hope this gist can help whoever is facing the same problem as I did.
※ Really useful article written by English speaker would be: https://macops.ca/xcode-14-new-platforms-packaging-format/
Thanks a lot for the information, macops.ca!
@dokimyj
dokimyj / xcrun_simctl_list_watch9_1_available.log
Created January 20, 2023 06:29
xcrun_simctl_log when available
$ xcode-select -p
/Applications/Xcode/Xcode_14.2.app/Contents/Developer
$ xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
@dokimyj
dokimyj / xcrun_simctl_list.log
Created January 20, 2023 06:25
simctl list log
$ xcode-select -p
/Applications/Xcode/Xcode_14.2.app/Contents/Developer
$ xcrun simctl list
== Device Types ==
iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
@dokimyj
dokimyj / [JP] GSE 23.2~4.md
Last active March 24, 2022 01:31
GSE 23.2~4

23.2~4

23.2 Google における CI

  • TAP(Test Automation Platform)
  • Google Takeout(データバックアップ・ダウンロードプロダクト) の CI 事例

TAP: Google のグローバル継続的ビルド

  • モノリポのおかげで、すべてのコード変更は TAP を通るようになっている
  • 日々5万件以上の修正+40億のテストケースを処理
@dokimyj
dokimyj / ScM.md
Last active October 18, 2022 07:33
Scrum

Goal

  • Stimulate team to be self-organized team
  • Become scrum coach and facilitator
  • Make team get rid of its own obstacles for scrum sprints
  • Have team responsible for their objectives(ScM is not responsible for)

Responsibility

  • Support team to have common identity and actions for goals
  • Defend dev team when needed
@dokimyj
dokimyj / [JP] GSE-ch6.md
Created January 27, 2022 09:38
Google Software Engineering Chap 6. Summary

6. スケールするリーダー(リーダーとしての自分スケールアップ)

  • エンジニアリングの管理職として、職務要件を見合う能力を発揮する方法を説明
  • (5章より)相変わらず「サーバントリーダー」として上位の集団を仕える
  • チーム内の問題範囲は広まり、深度は(工学・技術的に)浅く。問題自体は更に抽象的になる →チーム員だった頃貯めた専門知識より、一般的 技術場面での直感、チーム全体の方向性を悩むべき
真に優れたリーダーにスケールアップできるために
1. いつでも決定せよ
2. いつでも立ち去れ
@dokimyj
dokimyj / [JP]Tricktips-Docker.md
Created December 31, 2021 07:48
Novice Trick & Tips for Mac, Linux, UNIX, K8s, Docker, Ruby, Shellscripts, etc

Dockers

基本 docker コマンド

  • Docker で実行中のコンテナーのリストを取得: docker ps
    • 既に中断された docker も見せる: docker ps -a
  • Docker 実行・停止: docker run <イメージ名> / docker stop <イメージ名>
  • コンテナーを削除: docker rm <イメージ名>
  • ローカルに残ってるイメージリスト: docker images
  • ローカルのイメージ自体を削除: docker rmi &lt;イメージ名&gt;
@dokimyj
dokimyj / iOSDC-Japan-2021-Day1.md
Last active September 19, 2021 09:52
iOSDC Japan 2021

iOSDC 2021 1日目 (2021/09/18)

Xcode Source Editor Extensions

  • DI Helper for swift
    • Xcode Source Editor Extension
    • Mac App Store にある「コード自動生成ツール」 → ローカルの Xcode に設置するだけで依存性注入!

参考: https://github.com/kazuhiro4949/DIHelperForSwift

@dokimyj
dokimyj / Readable-code-1-preface.md
Last active September 19, 2021 09:17
[JP] the Art of Readable Code Summary

序。何がいいコード?

  • 良いコードの判断が一気にできる場合も、そうでもない場合も存在する。
  • 良いコードの第一基準とは:「可読性」
    • 読者が読みやすくて、「完全な理解」にかかる時間が短いコードこそいいコード
    • コード的に、オーバヘッドが発生しない方が良いコード
  • 短いコード != 良いコード:コードを短縮しすぎて見づらくなることも絶対ある(括弧が重ねすぎなど)
  • 良いコードの他の条件ともコンフリクトしない