by shigemk2

当面は技術的なことしか書かない

2017-09-17から1日間の記事一覧

open-junk-file 使い分け

github.com 人によってはあんまり好きじゃないらしいopen-junk-fileで、こっちはjunkの下に、こっちはmemoの下に、みたいなことをやりたいときのemacs lisp (require 'open-junk-file) (setq open-junk-file-format "~/junk/%Y/%m/%d-%H%M%S.") (global-set-…

spring-boot run with environment

環境指定のspring-boot run mvn spring-boot:run -Drun.jvmArguments="-Dspring.profiles.active=production" 環境を指定する なんかまあこんな感じ。 src/main/java/Example.java import org.springframework.beans.factory.annotation.Autowired; import o…