Skip to content

Instantly share code, notes, and snippets.

View tomohiro's full-sized avatar
😎

Tomohiro Taira tomohiro

😎
View GitHub Profile
@tomohiro
tomohiro / puppet-installer
Last active December 25, 2015 20:59
Puppet install script
#!/bin/sh
ARCH=$(uname -i)
if [ -f /etc/system-release ]; then
# Red Hat Enterprise Linux (Install Ruby and RubyGems)
if [ $(readlink /etc/system-release) = 'redhat-release' ]; then
yum -y install yum-utils
yum-config-manager --enable rhel-6-server-optional-rpms
yum -y install ruby ruby-rdoc
@tomohiro
tomohiro / learning_git.md
Last active November 16, 2020 12:21
Git を学ぶ

はじめに

Git を全く学んだことがない人はまず下記のページから始めることをオススメします.

必読 git - 簡単ガイド: 猫でもわかるGit 最初の一歩

概要が大きな文字で書いてありますが,大切なコンセプトを抑えたものであるため,ある程度 Git を使えるようになった後で見返すとその都度,より深い理解が得られるようになります.

@tomohiro
tomohiro / Dockerfile
Last active December 20, 2015 18:59
Install Ruby with rbenv/ruby-build on Ubuntu 12.04
# DOCKER-VERSION 0.5.1
FROM ubuntu:12.04
MAINTAINER Tomohiro TAIRA "tomohiro.t@gmail.com"
# Install dependency packages
RUN apt-get update
RUN apt-get -y install build-essential
RUN apt-get -y install git curl
RUN apt-get -y install zlib1g-dev libreadline-dev libssl-dev libsqlite3-dev
@tomohiro
tomohiro / notes.md
Last active December 20, 2015 13:18
Tech Meeting Notes

Tech Meeting Notes

ビジネスモデル

  • リーン・スタートアップ

プロジェクトマネジメント

@tomohiro
tomohiro / Vagrantfile
Created July 24, 2013 11:22
VirtualBox and EC2 and Puppet settings in the Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# $ vagrant box list
# centos64 (aws)
# centos64 (virtualbox)
#
# VirtualBox:
# $ vagrant up
#
@tomohiro
tomohiro / svn-to-github.md
Last active July 29, 2020 12:13
Subversion のリポジトリを Git リポジトリへ変換し GitHub に登録するまでの手順

Subversion のリポジトリを Git リポジトリへ変換し GitHub に登録するまで

Subversion ユーザ情報と Git ユーザ情報をマッチングするためのテキストファイルを作成

フォーマット:

count = 1
while count <= 100
if count % 3 == 0 && count % 5 == 0
puts 'FizzBuzz'
elsif count % 3 == 0
puts 'Fizz'
elsif count % 5 == 0
puts 'Buzz'
else
puts count
@tomohiro
tomohiro / ruby-on-centos.md
Last active December 15, 2015 22:59
Ruby development environment on CentOS 5.9
@tomohiro
tomohiro / README.md
Last active December 15, 2015 18:49
Status Dashboard

Status Dashboard

Getting Started

Install

$ mkdir statusdashboard