Skip to content

Instantly share code, notes, and snippets.

View wnoguchi's full-sized avatar

Wataru Noguchi wnoguchi

View GitHub Profile
@wnoguchi
wnoguchi / .tmux.conf
Last active August 29, 2015 14:05
Main dotfiles.
#key
set-option -g prefix C-s
unbind-key C-b
bind-key C-s send-prefix
bind s split-window -v
bind v split-window -h
bind j select-pane -D
bind k select-pane -U
bind h select-pane -L
bind l select-pane -R
@wnoguchi
wnoguchi / Vagrantfile
Last active August 29, 2015 14:05
MySQL Instance Launch Vagrantfile.
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
@wnoguchi
wnoguchi / new_gist_file_0
Created August 15, 2014 05:49
opt ln and path definitions.
sudo ln -s /opt/apache/apache-jmeter/apache-jmeter-2.11/ /opt/apache/apache-jmeter/latest
sudo ln -s /opt/apache/apache-maven/apache-maven-3.2.2/ /opt/apache/apache-maven/latest
sudo ln -s /opt/apache/apache-tomcat/apache-tomcat-7.0.55/ /opt/apache/apache-tomcat/latest
sudo ln -s /opt/play/play-2.2.3/ /opt/play/latest
sudo ln -s /opt/scala/scala-2.11.2/ /opt/scala/latest
export PATH=/opt/apache/apache-jmeter/latest/bin:$PATH
export PATH=/opt/apache/apache-maven/latest/bin:$PATH
export PATH=/opt/apache/apache-tomcat/latest/bin:$PATH
export PATH=/opt/play/latest:$PATH
@wnoguchi
wnoguchi / README.md
Last active August 29, 2015 14:05
My TIps shortcuts.

My Shortcut Snippets

私のチラシの裏。

@wnoguchi
wnoguchi / README.md
Last active August 29, 2015 14:05
SSH key generation Tips.

SSH key generation Tips

OpenSSH

Generate SSH key pair

ssh-keygen -t rsa -b 2048 secure-private-key
@wnoguchi
wnoguchi / README.md
Last active November 22, 2017 03:51
ぼくのかんがえたさいきょうの .gitignore 。

.gitignore collections

About

ぼくのかんがえたさいきょうの .gitignore 。

References

@wnoguchi
wnoguchi / README.md
Created August 4, 2014 14:28
Insecure Development SSH configurations !
@wnoguchi
wnoguchi / .vimrc
Created August 3, 2014 05:13
vimrc generic.
set title
syntax on
set tabstop=2
set smartindent
set ignorecase
set smartcase
set wrapscan
set autoindent
set incsearch
@wnoguchi
wnoguchi / Vagrantfile-2nodes-provisioned.rb
Created July 21, 2014 10:20
第60回: SerfとConsulでシステム運用を楽しくしよう!http://connpass.com/event/7322/ : 今回の実験使用したVagrantfileの一覧
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "chef/centos-6.5"