일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- JavaScript
- vscode
- context
- 단축키
- Mac
- Source
- plugin
- ssh
- grep
- netsh
- web.xml
- Eclipse
- maVen
- resource
- 네트워크
- Quartz
- profile
- xargs
- bash
- VirtualBox
- lsof
- GIT
- IntelliJ
- import
- tomcat
- Windows
- port
- 줄바꿈 문자
- find
- Windows 10
- Today
- Total
목록Dev (274)
develog
mysql 실행 docker run -d --restart=always --name mysqldb -e MYSQL_ROOT_PASSWORD=1234 -e MYSQL_DATABASE=wordpress mysql:5.7 wordpress 실행 docker run -d --restart=always --name wordpress -e WORDPRESS_DB_PASSWORD=1234 --link mysqldb:mysql -p 8080:80 wordpress wordpress 접속 http://localhost:8080
git config 사용자 정보 등록 ## 전역 설정 ## 파일위치: ~/.gitconfig $ git config --global user.name 'aa' $ git config --global user.email 'aa@bb.com' ## 프로젝트별 설정 ## 파일위치: ./.git/config $ git config --local user.name 'aa' $ git config --local user.email 'aa@bb.com' or $ git config user.name 'aa' $ git config user.email 'aa@bb.com' git config 사용자 정보 삭제 # 글로벌 사용자 설정 삭제 $ git config --global --unset user.name $ git..
// junit5 import static org.junit.jupiter.api.Assertions.*; // hamcrest import static org.hamcrest.Matchers.*; import static org.hamcrest.MatcherAssert.*; // assertj import static org.assertj.core.api.Assertions.*;
application.yml 을 설정한다 spring: datasource: driver-class-name: org.h2.Driver url: jdbc:h2:mem:testdb username: sa password: h2: console: enabled: true path: /h2-console 애플리케이션을 실행하고 브라우저에서 접속한다 http://localhost:8080/h2-console
file 경로 src/main/resources/static/readme11.txt controller @Controller public class MyController { @Autowired private ResourceLoader resourceLoader; @RequestMapping(value = "/hello") public String hello() throws Exception { File file = null; ClassPathResource cpr = new ClassPathResource("static/readme11.txt"); System.out.println("11, " + cpr.exists() + ", " + cpr.getPath()); Resource resource = r..
build.gradle compileOnly 'org.apache.tomcat.embed:tomcat-embed-jasper' compileOnly 'javax.servlet:jstl:1.2' application.properties spring.mvc.view.prefix=/WEB-INF/jsp/ spring.mvc.view.suffix=.jsp jsp 파일 위치 src/main/webapp/WEB-INF/jsp/hello.jsp Refresh Gradle Project eclipe > project properties > Refresh Gradle Project