에스프리터
close
프로필 배경
프로필 로고

에스프리터

    • 전체보기 (133)
      • DATA (46)
      • DEV (43)
      • CLOUD (38)
      • MIND (2)
      • Monthly I Learned (4)
  • mode_edit_outline글작성
  • settings환경설정

    2023년 8월, Monthly I Learned

    23-08-30 ElasticSearch status 조회하기 curl 날려서 확인 가능하고 health 대신 indices 등을 조회할 수 있음 curl -s http://192.168.0.12:9200/_cat/health?v 참조 문서 https://brunch.co.kr/@alden/43 23-08-28 구글 캘린더에 음력 일정 등록하기 위한 Lunar7 구글 캘린더에 음력 달력 등록하기 위한 방법으로 lunar7이 있음. 기존엔 다른 서비스들도 있었는데 캘린더 서드파티 API가 제한되면서 사라진 듯 https://comeinsidebox.com/구글-캘린더-음력-등록-반복-일정-사용-변환-lunar7-ics-파일-생/ sproc 어떤 개발 하시는 분인진 모르겠지만 라즈베리로 noaa 이미지 다운..

    • format_list_bulleted Monthly I Learned
    • · 2023. 8. 30.
    • textsms

    2023년 7월, Monthly I Learned

    23/07/27 - chmod 계산기 사이트 https://chmod-calculator.com/ 에서 chmod를 계산할 수 있다. 23/07/26 - postgreql timestamp에서 mileseconds를 지우고 싶을 때 SELECT now()::timestamp(0); SELECT date_trunc('second', now()::timestamp); 23/07/25 - 사내용 github repository에 접근하기 위한 방법 # 단순 비공개 repo도 아래와 같이 해야되는지는 모르겠음 # 비공개 github repository에 접근하려면 아래와 같이 작성해야 한다 git remote set-url origin https://{사용자 github id}@github.com/{reposi..

    • format_list_bulleted Monthly I Learned
    • · 2023. 7. 31.
    • textsms
    2023년 6월, Monthly I Learned

    2023년 6월, Monthly I Learned

    23/06/30 - embulk에서 Timezone 관련 에러가 날 경우 options에 아래와 같이 timezone을 추가한다. options: {useLegacyDatetimeCode: false, serverTimezone: Asia/Seoul} 23/06/29 - SQL에서 날짜 값을 정시나 특정 시각으로 고정하고 싶을 때 아래와 같이 substr로 자른 뒤, 뒤에 concat을 다시 붙이면 된다. SELECT concat(substr('2023-07-01 15:34:10', 1, 14), '00:00'); 23/06/26 - 전체 사용자 cron 스케줄 정보 확인하기 아래 위치에 모든 사용자의 정보가 있다. 다만 root 로 실행해야 한다. cd /var/spool/cron 23/06/25 - ..

    • format_list_bulleted Monthly I Learned
    • · 2023. 7. 3.
    • textsms
    2023년 5월, Monthly I Learned

    2023년 5월, Monthly I Learned

    AWS Redshift에서 url 디코딩 된 값을 보고 싶을 때 기본적으로 제공되는 건 없고 아래와 같이 함수를 생성해야 한다. create function url_decode(text character varying) returns character varying immutable language plpythonu as $$ result = None if text is not None: import urllib result = urllib.unquote_plus(text) return result $$; 아래와 같이 url_decode 함수를 사용하면 된다. select url_decode(query) as url_decode, * from table; AWS Redshift에서 사용자가 생성한 프로시..

    • format_list_bulleted Monthly I Learned
    • · 2023. 5. 4.
    • textsms
    • 1
    300x250
    전체 카테고리
    • 전체보기 (133)
      • DATA (46)
      • DEV (43)
      • CLOUD (38)
      • MIND (2)
      • Monthly I Learned (4)
    최근 글
    인기 글
    최근 댓글
    Copyright © 에스프리터 All rights reserved.
    Designed by JJuum

    티스토리툴바