Skip to content

Instantly share code, notes, and snippets.

View yasaichi's full-sized avatar
😇

Yuichi Goto yasaichi

😇
View GitHub Profile
@tcnksm
tcnksm / qa-for-platform-engineering-kagi-2024.md
Last active July 18, 2024 04:02
Q&A for Platform Engineering Kaigi 2024 (deeeet)

マイクロサービス以外(例えばフロントエンド領域など)で提供しているプラットフォームはありますか?

あります.今回の自分のセッションは主にBackendのマイクロサービスに特化した話でした (Backendのプラットフォームが特に大きいので) が,社内には他にもWeb frontend開発のためのWeb Platform,iOS/AndroindのためのMobile Platformがあります.他にもData warehouseやそのためのPipelineなどを管理するData PlatformやA/B testingのためのExperimentaion Platform,MLのためのML Platformなどなど特化した基盤が存在しています

メルカリは人の入れ替わりが激しいイメージがあるのですが新しく入られた人がすぐプラットフォーム全容を理解できるようにするための工夫、オンボーディングなどどのようなものがありますか?

あります.そもそも全体のオンボーディングとしてDev Dojoという仕組みがあって,Platformに限らず会社全体のエンジニアリングについて学べるトレーニングが存在しています.もちろんPlatformチームが提供している専用のドキュメントサイトも存在しており,そこでも一通りオンボーディングが可能なコンテンツが存在しています.一応直近のDeveloper Surveyとかをみると,新しくチームに配属されて2-3日で何かしら本番にコードをデプロイするということはできてるというのは見えてるので,過度に利用のコストが高いというのはなさそうと見ています.

小規模のチームでPlatform Teamを立ち上げるにはどうしたらいいでしょうか。

@espresso3389
espresso3389 / wsl2-rootless-docker.md
Last active July 1, 2024 15:32
WSL2 configuration for developing using rootless docker

NOTE: WORK IN PROGRESS

WSL2 configuration for developing using rootless docker

This document assumes Windows Insider Preview Dev.

Install Ubuntu 22.04

Installing Ubuntu 22.04.1 LTS from Microsoft Store.

@tecandrew
tecandrew / wsl-1password-integration.md
Last active July 14, 2024 11:48
WSL/WSL2 Integration with 1Password SSH

On Windows Side

Enable 1Password's SSH Agent.

Using Powershell, install npiperelay via the scoop package manager.

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
irm get.scoop.sh | iex  # install scoop
scoop bucket add extras
@kenz-gelsoft
kenz-gelsoft / ArchLinuxOnIdeaPadDuet.md
Last active June 8, 2024 15:23
ArchLinux on IdeaPad Duet

ArchLinux on IdeaPad Duet Chromebook

Screenshot 2022-05-01 10 59 20

経緯

  • ChromeOS を Stable Channel 以外に変更していると、ChromeOS アップデートごとにちょくちょく他 Distro をインストールした Container が破損していた。
  • 仕方ないので testing あたりまでパッケージだけ更新して Debian のままなんとか使っていた。
  • どうやら Stable Channel ではそのようなコンテナの破損は見られないということで、 ChromeOS を Stable Channel に戻した上で、ArchLinux を再びインストールすることにした。

Access macOS localhost from IE or Edge within Parallels Desktop

This issue is so infuriating that I'm going to take some time to write about it.

  1. MOST IMPORTANT. Your local development server must be bound to IP address 0.0.0.0. Some do this by default, but many don't. You need to make sure that you run your local server with correct IP bindings. You may need to provide additional flags to your serve commands e.g. polymer serve --hostname domain.local, hugo serve --bind 0.0.0.0. If you use a named domain like domain.local, it has to be defined in /etc/hosts and pointing at 0.0.0.0.

  2. My Parallels setting is using Shared Network, nothing special there.

  3. Open macOS Terminal and type ifconfig. Look for the value under vnic0 > inet. It is typically 10.211.55.2.

@thangchung
thangchung / history-lima-installation.md
Created September 17, 2021 08:12 — forked from toricls/lima-on-m1-mac-installation-guide.md
Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

Used M1 Mac mini 2020 with macOS Big Sur Version 11.5.2.

1. Install Patched QEMU

According to the GitHub issue comment in Lima's GitHub repository, Lima requires a patched QEMU on M1 Macs.

Note that the followings are customized steps by @toricls based on the original steps and the script. Be sure to check the original files when you try it on your own.

Install QEMU on Silicon based Apple Macs

@toricls
toricls / lima-on-m1-mac-installation-guide.md
Last active April 25, 2024 15:30
Using Lima to run containers with containerd and nerdctl (without Docker Desktop) on M1 Macs

Lima (Linux virtual machines, on macOS) installation guide for M1 Mac.

Sep. 27th 2021 UPDATED

Now we can install patched version of QEMU via Homebrew (thank you everyone for the info!). Here is the updated instruction with it:

Used M1 Mac mini 2020 with macOS Big Sur Version 11.6.

1. Install QEMU & Lima

@azu
azu / TypeScriptの設定の良し悪し.md
Last active July 18, 2024 08:52
TypeScriptの設定の良し悪し

tsconfig.json の設定についてのメモ書きです。

Node.jsのバージョンごとの設定

target は 変換後のコードのECMAScriptバージョンを指定する たとえば、Node.js 14はES2020をサポートしている。そのため、Node.js 14向けのコード(サーバなど)ならtarget: "ES2020"を指定することで、余計なTranspileが省かれててコードサイズや実行時間が最適化される。

@ybiquitous
ybiquitous / secretlint.yml
Last active May 13, 2021 08:46
Secretlint out of the box via GitHub Actions
# https://github.com/secretlint/secretlint
name: secretlint
on:
push:
branches: ['main']
pull_request:
branches: ['**']
jobs: