This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum -y groupinstall "Japanese Support" | |
| sudo localedef -f UTF-8 -i ja_JP ja_JP | |
| sudo cp /usr/share/zoneinfo/Japan /etc/localtime | |
| sudo yum -y install man-pages-ja |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- mode: snippet; require-final-newline: nil -*- | |
| # name: php setter and getter | |
| # key: sg | |
| # expand-env: ((yas/indent-line 'fixed) (yas/wrap-around-region 'nil)) | |
| # -- | |
| /** | |
| * $0 | |
| */ | |
| protected $${1:id}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### other setting | |
| # function maketmptodaydir | |
| # make today tmp directory | |
| function maketmptodaydir { | |
| tmp_today=`date '+%Y%m%d'` | |
| tmp_todaydir=~/Desktop/tmp/${tmp_today} | |
| mkdir ${tmp_todaydir} | |
| cd ${tmp_todaydir} | |
| unset tmp_todaydir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; minimal setting for emacs | |
| ;; ----- basic configuration ----- | |
| ;; 言語を日本語にする | |
| (set-language-environment 'Japanese) | |
| ;; 極力UTF-8とする | |
| (prefer-coding-system 'utf-8) | |
| ;; 起動時のメッセージを非表示 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env sh | |
| for REMOTE in `git remote`; do git push $REMOTE --all; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defvar helm-buffer-map | |
| (let ((map (make-sparse-keymap))) | |
| (set-keymap-parent map helm-map) | |
| (define-key map (kbd "C-c ?") 'helm-buffer-help) | |
| ;; No need to have separate command for grep and zgrep | |
| ;; as we don't use recursivity for buffers. | |
| ;; So use zgrep for both as it is capable to handle non--compressed files. | |
| (define-key map (kbd "M-g s") 'helm-buffer-run-zgrep) | |
| (define-key map (kbd "C-s") 'helm-buffers-run-multi-occur) | |
| (define-key map (kbd "C-c o") 'helm-buffer-switch-other-window) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :name | |
| The name of the package. It can be different from the name of | |
| the directory where the package is stored (after a `git | |
| clone' for example), in which case a symlink will be created. | |
| :depends | |
| A single package name, or a list of package names, on which |