scp -r server계정@ip:/usr/share/fonts/* /usr/share/fonts/
밑에서 500px일때 동작한다는 의미
new name에는 바꿀 패키지명을 입력하면 일괄변경됨 * 단 XML이나 내부에 있는 프로젝트 구조 관련 변수는 따로 바꿔줘야함
참고 https://qlyh8.tistory.com/66
참고 https://suwoni-codelab.com/linux/2017/05/24/Linux-CentOS-MariaDB/
DUMP mysqldump -uroot -p 데이터베이스> 파일명.sql RESTORE mysql -u root -p 데이터베이스 < 파일명.sql
mysql_upgrade -u root -p
SET GLOBAL log_bin_trust_function_creators = 1; 쿼리 생성후 function create
controller /* 엑셀 다운로드 */ @GetMapping(value={ STATISTICS.STATISTICS_EXCEL_DOWNLOAD }) public void getStatisticsExcel(@ModelAttribute StatisticsInfo statisticsInfo, HttpServletRequest req, HttpS..
0 ${hour}"> 0 ${hour} 시 0 ${min}"> 0 ${min} 분
1. /src/main/resources logback-spring.xml 파일 생성 logback-spring.xml <?xml version="1.0" encoding="UTF-8"?> %d{HH:mm} %-5level %logger{36} - %msg%n [%d{yyyy-MM-dd HH:mm:ss}:%-3relative][%thread]..
1. application.properties 수정 spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.view.suffix=.jsp spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://localho..
1. build.gradle 설정 plugins { id 'org.springframework.boot' version '2.1.8.RELEASE' id 'io.spring.dependency-management' version '1.0.8.RELEASE' id 'java' id 'war' } group = 'com.example' version =..
1. com.example.demo.config 패키지 생성 2. 해당 패키지안에 TilesConfig.java 클래스 파일 생성 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configu..
1. 마우스 오른쪽 마우스 - New - Spring Starter Project 2. 해당 화면처럼 setting 3. Spring Web을 체크 4. application.properties에 해당 내용 작성 spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.vi..
//controller /* * 업로드 */ /** * File upload. * * @param req the req * @param res the res * @param uploadFile the upload file * @return the response entity */ @PostMapping(value={Url.COMMON.FILE_UP..
//Controller //첨부파일 image 보여주는 api @RequestMapping(value="/api/img/print/{idx}" , method = {RequestMethod.GET}) public ModelAndView getPublicImage(@PathVariable("idx") String idx, HttpServle..
https://www.jqueryscript.net/other/Image-PDF-Viewer-EZView.html
tiles-single.xml ajax $.ajax({ type : 'GET', url : "/cust/find-corp-list-data", data : params, dataType : 'html', contentType : "application/json", success : function(data){ console.log(data); $(".t..
https://projectlombok.org/download Download projectlombok.org 설치후 install / update sts.exe path 프로젝트 clean
//부팅시 자동실행 // Apache # systemctl enable httpd // MySQL # systemctl enable mysqld //상태확인 // Apache # systemctl status httpd // MySQL # systemctl status mysqld
window > Preferences > java > Code Style > Code Templates Comments > Files ## 위의 위치에서 수정해도 안될때는 ## 해당 프로젝트 > properties 에서 설정을 변경해준다 Patten Class 에 적용 - Com..
//Controller @GetMapping(URL명) public String test(HttpServletRequest req, HttpServletResponse res , StockBean params , Principal principal , Model model) { List resultList = null; try { //리스트 }..
Windows - Preferences - team - git - Configuration - User Settings New Entry에서 아래의 Setting 추가 Name Key : user.name Value : 설정하려는 이름 E-mail Key : user.email value : 설정하려는 E-Mail
https://tomcat.apache.org/download-80.cgi Apache Tomcat - Apache Tomcat 8 Software Downloads Welcome to the Apache Tomcat 8.x software download page. This page provides download links for obtain..
https://dev.mysql.com/downloads/windows/ MySQL :: MySQL on Windows MySQL on Windows MySQL provides you with a suite of tools for developing and managing business critical applications on Windows. My..
https://spring.io/tools3/sts/all Spring Tool Suite 3 (STS 3) Download page Use one of the links below to download an all-in-one distribution for your platform. Choose either a native installer or..
해당 홈페이지에서 Jdk를 받습니다. https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Java SE Development Kit 8 - Downloads Java SE Development Kit 8 Downloads Tha..
1.Package Explorer 에서 오른쪽 마우스 클릭 - new - spring Legacy Project 클릭 2.아래 그림처럼 프로젝트명을 설정합니다. 3.Finish 버튼을 클릭하면 아래 그림처럼 디렉터리 구조가 나옵니다. 4. porm.xml..
1.root 계정으로 로그인합니다. 2.(rdate)가 설치되어있지 않을경우 -> yum -y install rdate 명령어를 작성하여 rdate패키지를 설치합니다. (rdate)가 설치되어있을 경우 rdate -s time.bora.net 3.명령어창에 da..
https://aamoos.tistory.com?gubn=gubn&target=target gubn -> gubn target -> target
1. https://developers.kakao.com/ 접속합니다. 2. 내어플리케이션 접속 3. 내어플리케이션에서 앱만들기 4.앱을 만든후 설정 - 일반 플랫폼을 추가해줍니다. 사이트 도메인 : 현재 URL Redirect URL : 해당 로그..
1. https://developers.facebook.com 접속합니다. 2. 내앱을 만듭니다. 3.. 좌측 네비게이션에서 설정 - 기본 설정을 클릭합니다. 4. api를 사용하고자 하는 사이트 url을 작성합니다. 5. 내앱의 클라이언트 아..
1. https://console.developers.google.com/ 사이트로 이동합니다. 2. 3. 4. 3번까지 진행했으면 클라이언트 ID와 SECRET KEY가 적힌 팝업창이 나옵니다.
url : http://localhost:8080/myFriends?gubn=test request.getParameter @RequestMapping(value = "/myFriends") public String myFriendsList( HttpServletRequest req, Model model ){ String gubn = req.getPa..
StringBuilder newIdName = new StringBuilder("TISTORY"); newIdName.setCharAt(3, '*'); newIdName.setCharAt(4, '*'); newIdName.setCharAt(5, '*'); System.out.println(newIdName ); 결과값 : TIS***Y
$(document).ready(function(){ if(!chkPwd($.trim($(".newPassword").val()))){ alert("비밀번호는 영문,숫자,특수문자 포함 8~12글자 이상 입니다."); return false; } }); function chkPwd(str){ var reg_pwd =..