Skip to content

Instantly share code, notes, and snippets.

@emaildano
emaildano / README.md
Last active Jun 6, 2017
AMIMOTO User Permissions
View README.md

AMIMOTO User Permissions

Add ec2-user to nginx group

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

Update Owner & Permissions

View static-press-de.po
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 <olav@schettler.net>\n"
@hayajo
hayajo / Vagrantfile
Created Mar 13, 2014
VagrantShareでカレントディレクトリのファイルを公開する
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Usage:
# $ vagrant up
# $ vagrant login
# $ vagrant share
#
# access to http://<shared_name>.vagrantshare.com
@yuroyoro
yuroyoro / pre-commit.keyword-check.sample
Created Mar 16, 2012
特定のキーワードが含まれたらcommitさせないgit-hook
View pre-commit.keyword-check.sample
#!/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