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


2014년 5월 13일 화요일

당신이 몰랐던 동물에 관한 사실 (Animal Facts You Never Knew Existed (15 GIF'S) - JETLIFE CO.)


당신이 몰랐던 동물에 관한 사실


Animal Facts You Never Knew Existed (15 GIF'S) - JETLIFE CO.

Access restriction: The constructor SunJCE() >> Eclipse 설정 변경으로 해결하기

http://mobile1.riaos.com/?p=2021786

Window -> Preferences -> Java -> Compiler -> Errors/Warnings -> Deprecated and restricted API -> Forbidden reference (access rules) -> Warnings

Chrome Extension - Advanced REST Client

RESTful 서비스 테스트를 위한 크롬 extension 입니다.


https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo

Smoke Testing란?

Smoke Test(ing) 란 소프트웨서 릴리스를 거절할 정도로 심각하고 단순한 문제를 찾기 위해 사전에 행해지는 테스트를 의미 함.

출처 : http://en.wikipedia.org/wiki/Smoke_testing_(software)