This file contains 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
__gvm_switch() { | |
if [ -s "application.properties" ]; then | |
local arr candidate candidate_home current target | |
arr=($(cat application.properties | grep --color=never 'app.\(grails\|griffon\).version' | sed "s_app.\(.*\).version=\(.*\)_\1 \2_g")) | |
candidate=${arr[1]} | |
target=${arr[2]} | |
candidate_home=$(eval echo '$'$(echo $candidate | tr '[:lower:]' '[:upper:]')_HOME) | |
if [ ! -z "$(readlink $candidate_home)" ]; then | |
candidate_home=$(readlink $candidate_home) | |
fi |
This file contains 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
# RAILS_ROOT/config/unicorn.rb | |
# Search for "# SET ME!" and replace these with your own settings!. | |
HOW_DEEP_WE_R_FROM_RAILS_ROOT = "../.." | |
# Set environment to development unless something else is specified | |
RAILS_ROOT = File.expand_path(HOW_DEEP_WE_R_FROM_RAILS_ROOT, File.dirname(__FILE__)) | |
SHARED_PATH = File.expand_path('../shared', RAILS_ROOT) | |
ENV['BUNDLE_GEMFILE'] = File.expand_path("#{HOW_DEEP_WE_R_FROM_RAILS_ROOT}/Gemfile", File.dirname(__FILE__)) |
This file contains 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
*** a/src/macim.m 2012-06-12 13:09:43.000000000 +0900 | |
--- b/src/macim.m 2012-06-12 13:11:47.000000000 +0900 | |
*************** | |
*** 99,105 **** | |
} | |
else | |
{ | |
! NSString *locale = [[NSLocale currentLocale] localeIdentifier]; | |
is = TISCopyInputSourceForLanguage((CFStringRef)locale); | |
} |