Skip to content

Instantly share code, notes, and snippets.

View wnoguchi's full-sized avatar
😀

Wataru Noguchi wnoguchi

😀
View GitHub Profile
@wnoguchi
wnoguchi / README.md
Last active August 29, 2015 14:05
My TIps shortcuts.

My Shortcut Snippets

私のチラシの裏。

@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 / 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 / .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
% gist -c -u d3a3efa1a45eca669574 ~/.tmux.conf
Error: Copying to clipboard failed.
If you're running tmux on a mac, try http://robots.thoughtbot.com/post/19398560514/how-to-copy-and-paste-with-tmux-on-mac-os-x
Attempted to copy: https://gist.github.com/d3a3efa1a45eca669574
@wnoguchi
wnoguchi / 00README.md
Created August 19, 2014 14:31
gist command Tips.

gist command Tips

gist -c -d "Tmux configuration." -u d3a3efa1a45eca669574 ~/.tmux.conf
[wnoguchi@noguchiwataru-no-MacBook-Pro] ~
% gist -u d3a3efa1a45eca669574 -d "Main dotfiles." ~/.zshrc
@wnoguchi
wnoguchi / 00README.md
Last active August 29, 2015 14:05
Many Tips.

Many Tips

Many tips here. (´・_・`)

Vim

  • = でフォーマット。
@wnoguchi
wnoguchi / storage.json
Created September 13, 2014 07:39
IAM Storage Resource Full Access Policy: S3, Glacier, CloudFront
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::*"
},
@wnoguchi
wnoguchi / Vagrantfile.rb
Created October 14, 2014 23:12
Essential 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 / spam.txt
Last active August 29, 2015 14:09
迷惑メール晒し20141012
higashi886655223@docomo.ne.jp
情報サイト利用者様
株式会社 東情報処理センター
【TEL】03-4477-2583
【担当】江原 英正
【営業時間】8:00~19:00
有料情報サイト運営企業様から再三に渡りメールにてサイト利用者様に連絡が取れない現状が続く中、最終通達の依頼を受け個別に担当者ベースで連絡をさせていただいております株式会社東情報処理センターの江原 英正と申します。