2016년 3월 22일 화요일

최근 만든 아이들(?)


MG 프리덤 > 부분도색

SD-exStandard 윙건담제로( EW) > 아크릴 물감 풀도색


일본에서 3000엔에 구입한 D-Style 가오가이가 > 부분도색

2014년 9월 11일 목요일

2014년 6월 12일 목요일

효과적인 이클립스 단축키 모음 effectvice-eclipse-shortcut-key

http://eclipse.dzone.com/news/effective-eclipse-shortcut-key

CTRL + D한줄 지우기
ALT + Up/Down Arrow한줄 위 아래로 옮기기
ALT + Left/Right Arrow마지막으로 수정한 위치로 이동
CTRL+SHIFT+Oimport 정리
CTRL+F8perspective 간 이동하기

2014년 5월 18일 일요일

너구리와 미국 너구리는 다르다 ?! Raccoon VS Raccoon Dog

너구리 (Raccoon Dog)



미국 너구리 (Raccoon)


생김새는 닮았지만, 너구리는 '개과', 미국 너구리는 '아메리카 너구리과'로 아예 '과'가 다른 동물이다.

2014년 5월 15일 목요일

log4j.xml sample

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<!-- 콘솔 표시용 설정 -->
<appender name="console" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%d %5p [%c] %m%n" />
</layout>
</appender>
<!-- 파일 표시용 설정 -->
<appender name="file" class="org.apache.log4j.FileAppender">
<param name="File" value="userLogger.log" />
<param name="Append" value="false" />
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern" value="%-5p [%d{MM/dd HH:mm:ss,SSS}] (%13F:%L) %m%n" />
</layout>
</appender>
 <!-- 실제 로깅 설정, 위에 설정한 append를 활용 -->
<logger name="org.springframework" additivity="false">
   <!-- DEBUG < INFO < WARN < ERROR < FATAL -->
<level value="DEBUG" />
<appender-ref ref="console" />
</logger>

</log4j:configuration>

Spring 3.0 AOP setting

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
                   http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
                   http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd">

<context:component-scan base-package="com.myspring.biz"/>

<!-- AOP 설정 -->
<aop:config>
<aop:pointcut id="boardPointcut"
             expression="execution(* com.mypring.biz..*Impl.*(..))"/>

<aop:aspect ref="log">
<aop:before pointcut-ref="boardPointcut"
           method="printLog"/>
</aop:aspect>
</aop:config>