Skip to content

Instantly share code, notes, and snippets.

@fladago
fladago / main.dart
Last active August 29, 2021 17:03
Kingdom of Shadows
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
// This widget is the root of your application.
@fladago
fladago / main.dart
Created September 4, 2021 10:19
Triangle
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
FROM golang:1.17.1-alpine3.14 AS build
WORKDIR /src/
COPY go.* /src/
RUN go mod download
COPY ./ /src/
RUN CGO_ENABLED=0 go build -o /bin/demo
FROM scratch
COPY --from=build /bin/demo /bin/demo
ENTRYPOINT [ "/bin/demo" ]