Skip to content

Instantly share code, notes, and snippets.

View m24te28's full-sized avatar

tetsuya matsushita m24te28

View GitHub Profile
@m24te28
m24te28 / push_pop.dart
Last active October 22, 2019 03:40
simple push and pop demo with return
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
@m24te28
m24te28 / docker-compose.yml
Created February 23, 2019 07:00
compose nginx and php via http
version: '3'
services:
nginx:
build: ./nginx
ports:
- 80:80
depends_on:
- php
volumes:
@m24te28
m24te28 / Dockerfile
Created February 23, 2019 06:54
Dockerfile for php on ubuntu
FROM ubuntu:18.04
LABEL maintainer="m24te28"
RUN apt-get update && \
apt-get install -y -q software-properties-common
RUN add-apt-repository ppa:ondrej/php
RUN apt-get update && \
apt-get install -y -q php5.6-fpm php5.6-mbstring php5.6-gd php5.6-mysql
@m24te28
m24te28 / Dockerfile
Created February 23, 2019 06:52
Dockerfile for nginx on ubuntu
FROM ubuntu:18.04
LABEL maintainer="m24te28"
RUN apt-get update && \
apt-get install -y -q curl gnupg2
RUN curl http://nginx.org/keys/nginx_signing.key | apt-key add -
RUN apt-get update && \
apt-get install -y -q nginx