본문 바로가기 메뉴 바로가기

msna

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

msna

검색하기 폼
  • 분류 전체보기 (46)
    • leetcode medium (1)
    • leetcode easy (3)
    • IT (6)
    • today'work (15)
    • 일본생활정리 (17)
  • 방명록

1. Two Sum

https://leetcode.com/problems/two-sum/ Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example :Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9,return [0, 1]. 주어진 정수배열에서 더하여 특정값이 되는 두 숫자의 인덱스를 반환하라.각 입..

leetcode easy 2019. 2. 20. 00:56
Excel2Markdown 엑셀->마크다운 offline

최근 설계서 작성에서 마크다운을 쓰게되었다.업무 특성상 테이블을 많이 쓰게 되는데, 난 엑셀에 데이터를 쌓아두고 필터링해가면서 일하는 게 더 편하다. 그래서 엑셀로 만들고 최종결과본 만들 때만 엑셀을 복사해서 만들어낸다. 인터넷에서 excel to markdown으로 검색하면 몇몇 사이트가 나와서 처음에는 그걸 이용했는데, 보안상 온라인툴은 쓰지 말라는 지시사항이 있어 오프라인용으로 만들어보았다. 되도록이면 칸의 길이를 맞추려고 했는데, 전각문자에 대한 체크를 넣지 않아서 잘 안맞는다. 어차피 작업 자체는 엑셀로 하고 결과물은 마크다운엔진이 예쁘게 보내주니 그 부분까지는 고치지 않겠다.

카테고리 없음 2019. 2. 3. 03:10
SnakeYAML에서 java.util.Date대신 다른 클래스(LocalDateTime)사용하기

SnakeYAML에서 yaml.load()실행시, 값이 "2019-01-01T00:00:00"인 경우 java.util.Date로 만들어지게 된다. 출력할 때 원하는 데이터타입으로 변경해도 되지만, load()실행시 원하는 데이터타입으로 만들어지도록 설정하는 방법을 알아본다. 내가 원하는 데이터타입은 LocalDateTime이다. 공식문서 중에 데이터 타입과 관련된 부분은https://bitbucket.org/asomov/snakeyaml/wiki/Documentation#markdown-header-implicit-types인데, Date를 LocalDateTime으로 바꾸는 방법은 못 찾았다. 그래서 그냥 코드를 찾아 들어가봤다. Yaml 기본 생성자를 보면 Constructor, LoaderOpti..

카테고리 없음 2019. 2. 3. 02:52
이전 1 ··· 12 13 14 15 16 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • aws #aws region #aws credential #aws region provider #aws credential provier
  • leetcode
  • excel to markdown
  • springintegration #파일감시 #디렉토리감시 #파일완료검사
  • pdf.js
  • Python #Powertools
  • QR코드읽기 #ReadQRCode
  • spring-integration
  • JUnit6
  • mybatis @insert값 @update값
  • reverse integer
  • multipleIntegrationFlow
  • add two numbers
  • PostgreSQL #FOR UPDATE #SKIP LOCKED
  • 로그테스트 #콘솔로그테스트 #System.out
  • AWS #X-Ray
  • lombok #maven build #sym
  • cannotResolveSymbol
  • Two Sum
  • SnakeYAML
  • webjar
  • 로그파일인덱스
  • excel table
  • palindrome number
  • spring #redis #redis-cluster
  • opencv로qr코드인식
  • Postgresql #MultiTruncate
  • PostgreSQL #sequnceName
  • Maven LF #메이븐 개행문자
  • logback #logstash #LoggingEventCompositeJsonEncoder #로그JSON
more
«   2025/11   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바