This file contains 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
薄田 達哉 | |
すすきだ たつや | |
株式会社ロレムイプサム 代表取締役 | |
susukida.jpg | |
1987年生まれ、北海道出身、新潟県在住のプログラマー。 | |
苫小牧高専と長岡技術科学大学で情報工学を学び、2011年に株式会社ロレムイプサムを設立。 | |
事業内容はアプリ開発とWebサイト制作。 | |
2020年に技術書籍「図解即戦力 仮想化&コンテナがこれ1冊でしっかりわかる教科書」(技術評論社)を共著。 |
This file contains 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 './pokemon_card_fragment.graphql' | |
query AllPokemon($limit: Int!, $offset: Int!) { | |
pokemons(limit: $limit, offset: $offset) { | |
results { | |
...PokemonCard | |
} | |
} | |
} |
This file contains 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
/** @type {import('next').NextConfig} */ | |
const nextConfig = { | |
reactStrictMode: true, | |
swcMinify: true, | |
compiler: { | |
emotion: true, // IMPORTANT | |
}, | |
} | |
module.exports = nextConfig |
This file contains 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 { initTRPC } from "@trpc/server"; | |
import * as trpcNext from "@trpc/server/adapters/next"; | |
import { z } from "zod"; | |
export const t = initTRPC.create() | |
export const appRouter = t.router({ | |
hello: t.procedure | |
.input(z.object({ | |
text: z.string(), |
This file contains 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 'package:flutter/material.dart'; | |
import 'package:video_recording/start_screen.dart'; | |
Future<void> main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
runApp(MaterialApp( | |
theme: ThemeData.dark(), | |
home: const StartScreen(), | |
)); |
This file contains 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
variable "project" {} | |
variable "bucket_name" {} | |
variable "bucket_location" {} | |
provider "google" { | |
project = var.project | |
} | |
resource "google_storage_bucket" "my_bucket" { | |
name = var.bucket_name |
This file contains 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 'package:camera/camera.dart'; | |
import 'package:flutter/material.dart'; | |
import 'video_recorder_screen.dart'; | |
Future<void> main() async { | |
WidgetsFlutterBinding.ensureInitialized(); | |
final cameras = await availableCameras(); | |
final firstCamera = cameras.firstWhere((camera) { | |
return camera.lensDirection == CameraLensDirection.front; |
NewerOlder