%%{init: {"fontFamily": "monospace"}}%%
sequenceDiagram
actor you as あなた
participant app as マイナポータルアプリ
participant service as 公的個人認証サービス
you->>app: ①自分のスマホ用電子証明書の情報の確認
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| import SwiftData | |
| import BackyardBirdsData | |
| struct BirdsSearchResults<Content: View>: View { | |
| @Binding var searchText: String | |
| var content: (Bird) -> Content | |
| @Query(sort: \Bird.creationDate) private var birds: [Bird] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import SwiftUI | |
| import SwiftData | |
| import BackyardBirdsData | |
| struct BirdsSearchResults<Content: View>: View { | |
| @Binding var searchText: String | |
| @Query private var birds: [Bird] | |
| private var content: (Bird) -> Content | |
| init(searchText: Binding<String>, @ViewBuilder content: @escaping (Bird) -> Content) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import WebKit | |
| import PlaygroundSupport | |
| struct Dog: Decodable { | |
| let message: String | |
| let status: String | |
| } | |
| enum DogError: Error { | |
| case missingData |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Foundation | |
| import SwiftData | |
| @Model | |
| final class Todo { | |
| var text: String | |
| var date: Date | |
| init(text: String = "", date: Date = Date()) { | |
| self.text = text |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Hilt + KSP | |
| // build.gradle.kts (Project) | |
| plugins { | |
| id("com.google.devtools.ksp") version "1.8.10-1.0.9" apply false | |
| id("com.google.dagger.hilt.android") version "2.44" apply false | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Project | |
| plugins { | |
| alias(libs.plugins.ksp) apply false | |
| alias(libs.plugins.hilt) apply false | |
| } | |
| // Module | |
| plugins { | |
| alias(libs.plugins.ksp) | |
| alias(libs.plugins.hilt) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.myapplication.ui.theme | |
| import android.app.Activity | |
| import android.os.Build | |
| import androidx.compose.foundation.isSystemInDarkTheme | |
| import androidx.compose.material3.MaterialTheme | |
| import androidx.compose.material3.dynamicDarkColorScheme | |
| import androidx.compose.material3.dynamicLightColorScheme | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.runtime.SideEffect |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.android.e2e.ui | |
| import android.content.res.Configuration | |
| import android.content.res.Resources | |
| import android.os.Build | |
| import android.view.View | |
| import android.view.Window | |
| import android.view.WindowManager | |
| import androidx.annotation.RequiresApi | |
| import androidx.core.app.ComponentActivity |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| cd ~/Desktop || exit | |
| text=${1:-お手軽簡単!} | |
| colors=${2:-red-orange} | |
| font=${3:-LINE-Seed-JP_OTF-ExtraBold} | |
| output="$text.png" | |
| # +--5--+--5--+ 10 |