Skip to content

Instantly share code, notes, and snippets.

View tcnksm's full-sized avatar
☺️
Yo

Taichi Nakashima tcnksm

☺️
Yo
View GitHub Profile
@tcnksm
tcnksm / install_java.sh
Created February 7, 2014 01:36
インストールジャバ
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
@tcnksm
tcnksm / .tmux.conf
Created February 14, 2014 11:10
Gitsh with tmux
bind C-g split-window -v -p 20 'exec gitsh'
FROM ubuntu
# Install basic packages
RUN apt-get update
RUN apt-get install -y build-essential wget curl git
RUN apt-get install -y zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev
RUN apt-get clean
# Install ruby-build
RUN git clone https://github.com/sstephenson/ruby-build.git .ruby-build
FROM centos
# Install basic packages
RUN rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
RUN yum -y update
RUN yum install -y make gcc gcc-c++ wget curl git
RUN yum install -y openssl-devel zlib-devel readline-devel libffi-devel httpd-devel libyaml-devel
RUN yum install -y bzip2 autoconf automake libtool bison iconv-devel ruby-devel
RUN yum --enablerepo=epel -y install libyaml-devel
FROM ubuntu
# Install basic packages
RUN apt-get update
RUN apt-get install -y build-essential wget curl git
RUN apt-get install -y zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev
RUN apt-get install -y sqlite3 libsqlite3-dev
RUN apt-get clean
# Install ruby-build
@tcnksm
tcnksm / Dockerfile
Last active August 29, 2015 13:57
Example of rbdock
FROM tcnksm/rails_base
@tcnksm
tcnksm / Dockerfile
Created March 25, 2014 15:06
ONBUILD example
FROM tcnksm/rails_base
@tcnksm
tcnksm / README.md
Last active August 29, 2015 14:04
Commit go project

That's okay. Let's have an original repo at for example github.com/alice/bar. Fork it, on github, to your (say you're user bob at github), ie. to github.com/bob/bar. Then:

$ cd $GOPATH/src/github.com/alice 
$ git clone https://github.com/bob/bar.git 
$ cd bar 

no

$ docker run --restart=no busybox /bin/sh -c 'date; exit 1'
Wed Sep 17 08:13:15 UTC 2014
$ docker ps -a
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS                     PORTS               NAMES
@tcnksm
tcnksm / Dockerfile
Last active August 29, 2015 14:08
Dockerfile for nghttp2
FROM buildpack-deps
RUN git clone https://github.com/tatsuhiro-t/nghttp2 \
&& cd nghttp2 \
&& autoreconf -i \
&& automake \
&& autoconf \
&& ./configure \
&& make