aamoos의 등록된 링크

 aamoos로 등록된 티스토리 포스트 수는 46건입니다.

[CentOs] scp 서버간 파일 복사 [내부링크]

scp -r server계정@ip:/usr/share/fonts/* /usr/share/fonts/

[JAVASCRIPT] 모바일웹 무한스크롤 [내부링크]

밑에서 500px일때 동작한다는 의미

이클립스 패키지 일괄변경 [내부링크]

new name에는 바꿀 패키지명을 입력하면 일괄변경됨 * 단 XML이나 내부에 있는 프로젝트 구조 관련 변수는 따로 바꿔줘야함

[ANDROID] NAVIGATION DRAWER [내부링크]

참고 https://qlyh8.tistory.com/66

MARIADB 설치 [내부링크]

참고 https://suwoni-codelab.com/linux/2017/05/24/Linux-CentOS-MariaDB/

[MYSQL] 덤프및 RESTORE [내부링크]

DUMP mysqldump -uroot -p 데이터베이스> 파일명.sql RESTORE mysql -u root -p 데이터베이스 < 파일명.sql

MYSQL UPGRADE [내부링크]

mysql_upgrade -u root -p

[MYSQL] MYSQL FUNCTION 생성시 오류 [내부링크]

SET GLOBAL log_bin_trust_function_creators = 1; 쿼리 생성후 function create

[Spring] 엑셀 다운로드 [내부링크]

controller /* 엑셀 다운로드 */ @GetMapping(value={ STATISTICS.STATISTICS_EXCEL_DOWNLOAD }) public void getStatisticsExcel(@ModelAttribute StatisticsInfo statisticsInfo, HttpServletRequest req, HttpS..

[JSTL] 시간 분 가져오는 JSTL [내부링크]

0 ${hour}"> 0 ${hour} 시 0 ${min}"> 0 ${min} 분

[5] Spring BOOT logback 설정 [내부링크]

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]..

[4] Spring boot Mybatis + Mysql + gradle 설정 [내부링크]

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..

[3] Spring boot 롬복 설치 [내부링크]

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 =..

[2] Spring Boot TilesConfig 설정 [내부링크]

1. com.example.demo.config 패키지 생성 2. 해당 패키지안에 TilesConfig.java 클래스 파일 생성 import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configu..

[1] Spring Boot 웹프로젝트 만들기 [내부링크]

1. 마우스 오른쪽 마우스 - New - Spring Starter Project 2. 해당 화면처럼 setting 3. Spring Web을 체크 4. application.properties에 해당 내용 작성 spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.vi..

[Spring] 파일업로드 [내부링크]

//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..

[Spring] local 파일 다운로드 [내부링크]

//Controller //첨부파일 image 보여주는 api @RequestMapping(value="/api/img/print/{idx}" , method = {RequestMethod.GET}) public ModelAndView getPublicImage(@PathVariable("idx") String idx, HttpServle..

[Javascript] enzview [내부링크]

https://www.jqueryscript.net/other/Image-PDF-Viewer-EZView.html

tiles-single jsp 페이지 ajax [내부링크]

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..

[Spring] lombok 설치 [내부링크]

https://projectlombok.org/download Download projectlombok.org 설치후 install / update sts.exe path 프로젝트 clean

[Linux] apache mysql 자동실행 및 상태확인 [내부링크]

//부팅시 자동실행 // 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..

[JAVASCRIPT] AJAX 통신 [내부링크]

//Controller @GetMapping(URL명) public String test(HttpServletRequest req, HttpServletResponse res , StockBean params , Principal principal , Model model) { List resultList = null; try { //리스트 }..

[GIT HUB] Git Author, Committer 변경 [내부링크]

Windows - Preferences - team - git - Configuration - User Settings New Entry에서 아래의 Setting 추가 Name Key : user.name Value : 설정하려는 이름 E-mail Key : user.email value : 설정하려는 E-Mail

[Spring] 톰캣 설치 및 설정 [내부링크]

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..

[Spring] Mysql 다운 [내부링크]

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..

[Spring] sts 다운 [내부링크]

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..

[Spring] JDK 환경변수 잡기 [내부링크]

해당 홈페이지에서 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..

[스프링] Hello World 찍기 [내부링크]

1.Package Explorer 에서 오른쪽 마우스 클릭 - new - spring Legacy Project 클릭 2.아래 그림처럼 프로젝트명을 설정합니다. 3.Finish 버튼을 클릭하면 아래 그림처럼 디렉터리 구조가 나옵니다. 4. porm.xml..

[Linux] 타임서버 시간동기화 [내부링크]

1.root 계정으로 로그인합니다. 2.(rdate)가 설치되어있지 않을경우 -> yum -y install rdate 명령어를 작성하여 rdate패키지를 설치합니다. (rdate)가 설치되어있을 경우 rdate -s time.bora.net 3.명령어창에 da..

[JAVASCRIPT] 파라미터 URL 받기 [내부링크]

https://aamoos.tistory.com?gubn=gubn&target=target gubn -> gubn target -> target

[API] 카카오톡 로그인 API 인증 [내부링크]

1. https://developers.kakao.com/ 접속합니다. 2. 내어플리케이션 접속 3. 내어플리케이션에서 앱만들기 4.앱을 만든후 설정 - 일반 플랫폼을 추가해줍니다. 사이트 도메인 : 현재 URL Redirect URL : 해당 로그..

[API] 페이스북 로그인 API 인증받기 [내부링크]

1. https://developers.facebook.com 접속합니다. 2. 내앱을 만듭니다. 3.. 좌측 네비게이션에서 설정 - 기본 설정을 클릭합니다. 4. api를 사용하고자 하는 사이트 url을 작성합니다. 5. 내앱의 클라이언트 아..

[API] 구글로그인 OAUTH2 인증받기 [내부링크]

1. https://console.developers.google.com/ 사이트로 이동합니다. 2. 3. 4. 3번까지 진행했으면 클라이언트 ID와 SECRET KEY가 적힌 팝업창이 나옵니다.

[스프링] 파라미터 받기 (request.getParameter, @RequestParam, @PathVariable) [내부링크]

url : http://localhost:8080/myFriends?gubn=test request.getParameter @RequestMapping(value = "/myFriends") public String myFriendsList( HttpServletRequest req, Model model ){ String gubn = req.getPa..

[JAVA] 몇번째 문자열 바꾸는 기능 [내부링크]

StringBuilder newIdName = new StringBuilder("TISTORY"); newIdName.setCharAt(3, '*'); newIdName.setCharAt(4, '*'); newIdName.setCharAt(5, '*'); System.out.println(newIdName ); 결과값 : TIS***Y

[JAVASCRIPT] 비밀번호 영문, 숫자, 특수문자 포함 8~12 글자 이상 기능 [내부링크]

$(document).ready(function(){ if(!chkPwd($.trim($(".newPassword").val()))){ alert("비밀번호는 영문,숫자,특수문자 포함 8~12글자 이상 입니다."); return false; } }); function chkPwd(str){ var reg_pwd =..