View .zshrc
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
# zshlocal | |
if [ -e ~/.zshlocal ]; then | |
source ~/.zshlocal | |
fi | |
# fzf | |
export FZF_DEFAULT_OPTS="--height 40% --reverse --multi --border --bind='ctrl-t:toggle-preview'" | |
# vcs_infoロード | |
autoload -Uz vcs_info | |
# PROMPT変数内で変数参照する |
View Dockerfile
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
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 |
View .env
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
AWS_IDENTITY_POOL_ID="xxxxxxx" |
View ProjectForm.js
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 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: [], |
View main.go
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
/* | |
素数判定プログラム | |
アルゴリズムとしてエラストテネスの篩を使い、 | |
素数かどうか判定するのにbool配列を使用する | |
*/ | |
package main | |
import ( | |
"fmt" | |
"math" |