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: Emacs-Lisp -*- | |
| ;; | |
| ;; DDSKK | |
| ;;____________________________________________________________ | |
| (setq skk-japanese-message-and-error t);; メッセージを日本語で通知する | |
| (setq skk-show-japanese-menu t);; メニューを英語で表示する | |
| (setq skk-show-annotation t);; 変換時に注釈 (annotation) を表示する | |
| ;;isearch-mode に入った際に自動的に skk-isearch を起動 | |
| (add-hook 'isearch-mode-hook 'skk-isearch-mode-setup) |
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
| for img in *.JPG; do mv $img ${img%.JPG}.jpg ; 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
| { | |
| "minimum-stability": "dev", | |
| "config": { | |
| "vendor-dir": "Vendor" | |
| }, | |
| "repositories" : [ | |
| { | |
| "type": "package", | |
| "package": { | |
| "name" : "cakephp/cakephp", |
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
| #!/bin/sh | |
| cd /path/to/dir | |
| git clone git://github.com/redmine/redmine.git | |
| cd redmine | |
| git checkout -b production | |
| vim .gitignore # *1 | |
| vim Gemfile # *2 | |
| vim config/application.rb # *3 | |
| vim config/environment.rb # *4 | |
| bundle install --path=.bundle --without production:mysql:postgresql |
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
| #!/bin/sh | |
| function find-and-open-by-percol() { | |
| SELECT_DIR=$(find $1 -type f | percol --match-method migemo) | |
| if [ $? -eq 0 ] | |
| then | |
| cygstart $SELECT_DIR | |
| fi | |
| } |
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
| #!/bin/sh | |
| function find-and-cd-by-percol() { | |
| SELECT_DIR=$(find $1 -type d | percol --match-method migemo) | |
| cd $SELECT_DIR | |
| } |
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
| checking build system type... i686-pc-cygwin | |
| checking host system type... i686-pc-cygwin | |
| checking target system type... i686-pc-cygwin | |
| continue configure in default builddir "./i686-pc-cygwin" | |
| ....exec /bin/sh .././configure "--srcdir=.." "--enable-builddir=i686-pc-cygwin" "cygwin" | |
| checking build system type... i686-pc-cygwin | |
| checking host system type... i686-pc-cygwin | |
| checking target system type... i686-pc-cygwin | |
| checking for gsed... sed | |
| checking for a BSD-compatible install... /bin/install -c |
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
| #!/bin/sh | |
| git submodule foreach 'git pull origin master' | |
| git submodule update |
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
| function change-directory-gisty-by-percol() { | |
| SELECTED_GIST=$(gisty list | awk /:/ | percol --match-method migemo | awk -F ':' '{ print $1 }') | |
| cd $GISTY_DIR/$SELECTED_GIST | |
| } | |
| alias g='change-directory-gisty-by-percol' |
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
| function search-document-by-percol() { | |
| DOCUMENT_DIR="$HOME/Dropbox/Documents/ $HOME/Desktop/ $HOME/Google\ ドライブ" | |
| SELECTED_FILE=$(echo $DOCUMENT_DIR | xargs find | \ | |
| grep -E "\.(xlsx|xls|pptx|ppt|docx|doc|pdf|txt|odp|odt|ods|xmind|mm|glink|gsheet)$" | percol --match-method migemo) | |
| if [ $? -eq 0 ]; then | |
| cygstart $SELECTED_FILE | |
| fi | |
| } | |
| alias sd='search-document-by-percol' |