2014년 9월 11일 목요일
2014년 7월 24일 목요일
Search multiple strings in eclipse 이클립스에서 여러 문자열 한 번에 찾기
Select project
Ctrl + H
String1|String2
Regular expression
Search!
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일 일요일
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>
<!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>
<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'
http://en.bloggif.com/text
http://textanim.com/
이 블로그 타이틀 이미지는 cooltext 에서 만들었습니다.
The header image of this blog is made using 'cooltext'
피드 구독하기:
글 (Atom)