Skip to content

Instantly share code, notes, and snippets.

# ==============================================================================
#
# zplug
#
# ==============================================================================
if [[ ! -d ~/.zplug ]];then
git clone https://github.com/zplug/zplug ~/.zplug
fi
FROM ubuntu:latest
RUN apt-get update -y -q && apt-get upgrade -y -q && apt-get -y install sudo
RUN DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y -q curl build-essential ca-certificates git
RUN curl -s https://storage.googleapis.com/golang/go1.9.linux-amd64.tar.gz| tar -v -C /usr/local -xz
ENV PATH $PATH:/usr/local/go/bin
ENV GOOS linux
ENV GOARCH amd64
WORKDIR /go
@gtongy
gtongy / .env
Last active May 12, 2019 07:17
RxSwift S3 Upload Sample
AWS_IDENTITY_POOL_ID="xxxxxxx"
import React from 'react';
import InputProjectName from './InputProjectName.js';
import RadioColors from './RadioColors.js';
export class ProjectForm extends React.Component {
constructor(props) {
super(props);
this.state = {
projectName: "",
selectedUsersOption: [],
@gtongy
gtongy / main.go
Last active October 20, 2017 02:07
bool配列を用いた素数判定プログラム
/*
素数判定プログラム
アルゴリズムとしてエラストテネスの篩を使い、
素数かどうか判定するのにbool配列を使用する
*/
package main
import (
"fmt"
"math"