본문 바로가기
728x90
반응형
SMALL

2019/0512

영어회화 - 100일의 기적 #12 I'd like to put my car on the market. Are you sure? What's the deal? We don't need two cars anymore. What if you have the car, and I have to go shopping? We need to cut back on shopping. Honey, I think you should just calm down a little bit. 내 차를 시장에 내놓으려고 해. 정말이야?? 대체 무슨 일인데? 더 이상 자동차가 두 대나 필요 없잖아. 당신이 차를 쓰고 있는데 내가 쇼핑 가야 되면 어떡해? 우린 쇼핑을 좀 줄여야 햅 자기야. 당신 잠시 진정 좀 해야 할 것 같아. *주요표현 What's the deal? 무.. 2019. 5. 21.
영어회화 - 100일의 기적 #11 Please don't give me a hard time. It's not like I asked you to marry me or what. You just occasionally wanna have coffee or lunch? I hope we can get back together again. How could you cheat on me for that long? I must admit, I've crossed the line. 나 좀 힘들게 하지 마세요. 당신에게 결혼해 달라고 한 것도 아니잖아요. 가끔 커피나 점심 먹자는 것뿐이에요? 우리가 다시 시작할 수 있기를 바라요. 어떻게 그렇게 오래 바람을 피울 수 있어요? 솔직히 제가 좀 심했어요. *주요표현 It's not like 주어 + 동.. 2019. 5. 20.
@Scheduled 간단 사용법 test-context.xml 위에서 중요한것은 task 선언과 annotation-driven 선언 Java @Component public class Scheduler { private static final long RUN_TASK_30_SEC = 30000L; @Autowired Service service; @Scheduled(fixedDelay = RUN_TASK_30_SEC) public void checkApproval(){ logger.trace("Do Action"); service.checkApproval(); } } Spring Boot 는? @Controller @Configuration @ComponentScan @EnableAutoConfiguration @SpringBootA.. 2019. 5. 16.
React - 라우팅 #2 (예제 일부) 방문 기록을 가로채서 라우터가 브라우저의 주소 변경에 따라 적절한 컴포넌트를 렌더링하도록 해보자. 일반적인 태그 대신 Router 컴포넌트가 처리할 링크를 history 라이브러리를 이용해 생성해 보자. import createHistory from 'history/createBrowserHistory'; cons history = createHistory(); const navigatoe = to => history.push(to); export { history, navigate }; index.js 파일에 라우트를 설정하는 예제 코드 import React from 'react'; import { render } from 'react-dom'; import App from './pages/App';.. 2019. 5. 15.
728x90
반응형
LIST