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>

간단한 텍스트 이미지 생성 사이트들 Websites To Make Free Animated Text Online

http://cooltext.com/

http://en.bloggif.com/text

http://textanim.com/


이 블로그 타이틀 이미지는 cooltext 에서 만들었습니다.

The header image of this blog is made using 'cooltext'

이클립스에서 자동 괄호 닫기 기능 끄기 - eclipse disable auto close brackets


Window > Preferences > Java > Editor > Typing > uncheck Braces


헬리오스에서 테스트함.
Tested on Eclipse Helios



출처 :

http://stackoverflow.com/questions/7374119/how-to-disable-auto-creation-of-curly-brackets-in-eclipse