Skip to content

Instantly share code, notes, and snippets.

View KoheiKanagu's full-sized avatar
🏠
Working from home

KoheiKanagu KoheiKanagu

🏠
Working from home
View GitHub Profile
@voluntas
voluntas / SKILL.md
Last active August 16, 2026 10:03
skills/apple-container
name apple-container
description Apple Silicon Mac で動く軽量 Linux コンテナランタイム `container` (1.2.0) の利用者向けリファレンス。`container run`、`container build`、`container image pull/push`、`container machine`、ボリューム・ネットワーク・DNS・設定ファイルなど、日常的なコマンドの使い方を網羅する。`container` コマンドの使い方やトラブルシューティングに関する質問で使用する。

apple-container(container CLI)

Apple 製の container ツールは、Linux コンテナを 軽量 VM 1 つ = コンテナ 1 個 の方式で Mac 上に起動するランタイム。OCI 互換イメージを使うため Docker / podman で作ったイメージがそのまま動く。リポジトリは apple/container

このスキルは container 1.2.0 用かつ利用者向け。ソースコードの修正やビルド方法ではなく、container コマンドを使う側の知識を扱う。

import 'dart:async';
import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
import 'package:hooks_riverpod/hooks_riverpod.dart';
import 'package:shared_preferences/shared_preferences.dart';
final sharedPreferencesProvider = Provider<SharedPreferences>(
(ref) => throw UnimplementedError(),
@bezineb5
bezineb5 / convert_voc2createml.py
Last active July 15, 2022 14:32
Pascal VOC annotation to Apple createML annotations conversion tool
import argparse
import json
import logging
import pathlib
from xml.etree import ElementTree
log = logging.getLogger(__name__)
def _parse_arguments() -> argparse.Namespace: