노트북을 덮어 놓고 주말이 지나면 노트북이 아에 꺼져있고, 평일에 밤사이 덮어놓은 상태에도 꺼져있거나 배터리가 거의 광탈 상태가 빈번해서 찾아보니, 모하비부터 절전모드로 진입하는 시간이 길어저셔 그렇다는 글도 있던데, 정작 난 모하비부터 잘 사용했던 유저인데.. 흠.. 일단 절전몸드로 진입하는 시간을 대폭 줄여보기로 했다. ➜ ~ sudo pmset -g | grep standbydelay standbydelayhigh 86400 standbydelaylow 10800 최대절전모드 86400( 24시간 ) 절전모드( 3시간 ) 시간이 엄청 길게 잡혀있다. 노트북을 덮고, 12~14시간 정도 뒤에 다시 노트북을 사용하는데,, 그럼 평일에는 최대절전모드로 한번도 들어가지 않았다는 것이다. 그러니(?) 자고 ..
목차 1. readAllBytes() inputstream의 readAllBytes()는 JAVA9 버전부터 이용이 가능합니다. package com.example.logbacksample; import lombok.extern.slf4j.Slf4j; import org.apache.commons.io.IOUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.core.io.ResourceLoader; ..
resources > res.txt 파일을 읽기 위해서 아래와 같이 ResourceLoader를 이용하여 classpath에 있는 파일을 읽을 수 있습니다. package com.example.logbacksample; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.core.io.ResourceLoader; import org.springframe..
- Total
- Today
- Yesterday
- Linux
- install
- Log
- intellij
- Postman
- JSON
- JPA
- gradle
- Kibana
- Git
- spring
- mac
- elasticsearch
- SpringBoot
- plugin
- docker
- apm
- Size
- Java
- logstash
- AWS
- scala
- error
- Filter
- tomcat
- Spark
- spring boot
- Container
- maven
- Index
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |