Skip to content

Instantly share code, notes, and snippets.

View wokamoto's full-sized avatar

wokamoto wokamoto

View GitHub Profile
@yuroyoro
yuroyoro / pre-commit.keyword-check.sample
Created March 16, 2012 04:27
特定のキーワードが含まれたらcommitさせないgit-hook
#!/bin/sh
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
fi
@hayajo
hayajo / Vagrantfile
Created March 13, 2014 04:15
VagrantShareでカレントディレクトリのファイルを公開する
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Usage:
# $ vagrant up
# $ vagrant login
# $ vagrant share
#
# access to http://<shared_name>.vagrantshare.com
msgid ""
msgstr ""
"Project-Id-Version: static-press\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-05-14 14:46+0900\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2014-12-15 22:19+0200 \n"
"Last-Translator: Olav Schettler <[email protected]>\n"
@emaildano
emaildano / README.md
Last active June 6, 2017 08:06
AMIMOTO User Permissions

AMIMOTO User Permissions

Add ec2-user to nginx group

sudo usermod -a -G nginx ec2-user &&
exit

Update Owner & Permissions