전체 소스는 깃헙에 있습니다. @GetMapping("get") public ResponseEntity getLottoNum() throws JsonProcessingException { LottoRound save = null; //20200725 = 921 String url = "https://www.dhlottery.co.kr/common.do?method=getLottoNumber&drwNo=921"; UriComponents uriComponents = UriComponentsBuilder .fromHttpUrl(url) .build(); RestTemplate restTemplate = new RestTemplate(); HttpHeaders httpHeaders = new HttpHeade..
public class main { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub justDoIt(); } private static void justDoIt() { int lottoNums[] = new int[6]; int nums[] = new int[45]; int n, temp, t; for(int i = 0; i < 45; i++) nums[i] = i + 1; for(int i = 0; i < 4444; i++) { n = (int) (Math.random() * 45); if(n == 0) continue; temp = nums[0]; nums[0] = nums[n..
- Total
- Today
- Yesterday
- java
- 패드
- 이클립스
- NBA
- 점심
- springboot
- 게임
- 벤치멤버
- jenkins
- 프로그래머스
- 엑스박스
- AWS
- 스프링
- 디비전2
- Spring
- 스팀
- docker
- 자바
- 수원
- nba2k19
- 킹스의킹
- 오라클
- 디비전
- 유플레이
- 쿼리
- 토이프로젝트
- android
- Oracle
- ec2
- 새크라멘토킹스
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |