하루하나
close
프로필 배경
프로필 로고

하루하나

  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

[javascript] url 정규식, pakcage name 정규식

url 정규식 let regex = /(http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/regex.test(url) // url일 경우 true, 아닐 경우 false package name (ex: com.tistory.cpdev)let regex = /^([A-Za-z]{1}[A-Za-z\d_]*\.)*[A-Za-z][A-Za-z\d_]*$/ regex.test(packagename) // 참 true, 아닐 경우 false 아래 링크에서 보면 자세한 설명과 필터되는 결과를 확인할 수 있다. https://regexr.com/https://www.regextester.com/

  • format_list_bulleted Programming/Javascript
  • · 2019. 3. 6.
  • textsms

Intellij 자주쓰는 단축키 모음

intellij 를 사용하면서 자주쓰는 단축키 (mac 기준) Cmd + b 변수에서 눌렀을 경우 해당 변수를 사용하는 list를 보여준다. method에 눌렀을 경우 method로 진입 Cmd + o 최근 사용한 파일 Cmd + shif + u 대소문자 변환 Cmd + opt + [ or ] 마지막 괄호 위치로 이동, 최근 괄호 위치로 이동 Cmd + shif + a Action 계속 생각나는데로 업데이트 하겠습니다.

  • format_list_bulleted Programming/Tool
  • · 2019. 3. 5.
  • textsms

vue build mode 사용하기

각 환경마다 변수를 다르게 사용해야하는 경우가 생길경우 예를 들면 개발서버에서는 개발url을 리얼서버에서는 리얼url을 바라봐야 할때 아래와 같이 사용한다. https://cli.vuejs.org/guide/mode-and-env.html#modes 참고로 production으로 minify를 해야할 경우 변수파일 상단에 아래 변수를 꼭 넣어주자. NODE_ENV=production 그래야 소스가 압축해서 올라간다.

  • format_list_bulleted Programming/Vue-tip
  • · 2019. 2. 26.
  • textsms

Mac Homebrew로 설치한 Mysql 비밀번호 잃어버렸을때

mac에서 homebrew로 간단히 mysql 설치하기 설치는 위에 글 참조 root 비밀번호 설정 $ mysql_secure_installation - Would you like to setup VALIDATE PASSWORD plugin? : 테스트용이면 no - Remove anonymous users? : 익명사용자 사용여부- Disallow root login remotely? : 원격 접속 허용- Remove test database and access to it? : test 디비 삭제 여부- Reload privilege tables now? : 권한테이블 갱신 (수정했다면 yes) 변경 후 mysql -uroot -p 로 재접속

  • format_list_bulleted Programming/Mac
  • · 2019. 2. 22.
  • textsms

[mac] ssh 비밀번호 없이 접속하기

1. 우선 mac에서는 sshpass라는 프로그램이 필요하다. (brew를 이용하여 설치) brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb 2. ssh-keygen을 이용하여 키생성 3. sshpass를 이용하여 키복사 sshpass -p "서버패스워드" ssh-copy-id root@123.45.67.102 4. ssh 주소만으로 접속

  • format_list_bulleted Programming/Mac
  • · 2019. 1. 9.
  • textsms

[springboot] jar 실행시 profile 선택

jar로 단독실행시 프로파일을 설정해줄수 있다. application-prod.properties 파일을 만들고 아래와 같이 실행 java -jar sample.jar --spring.profiles.active=prod

  • format_list_bulleted Programming/Springboot
  • · 2019. 1. 9.
  • textsms
  • navigate_before
  • 1
  • ···
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • ···
  • 37
  • navigate_next
반응형
공지사항
전체 카테고리
  • ALL (217)
    • 쿠베플로우 kubeflow (1)
    • React Native (1)
      • Expo (1)
    • Programming (187)
      • spring+jwt+react (4)
      • wordpress (3)
      • Vultr (1)
      • Flutter (3)
      • Vue-project (1)
      • Vue-tip (17)
      • AngularJS (12)
      • Bootstrap (2)
      • Book (1)
      • CentOS (5)
      • Code (0)
      • Css (13)
      • Docker (7)
      • Eclipse (1)
      • Freemarker (1)
      • Git (9)
      • Front-End (6)
      • Error (7)
      • Gulp.js (0)
      • Java (12)
      • Python (5)
      • Javascript (19)
      • JPA (5)
      • jQuery (2)
      • Mac (6)
      • MySql (4)
      • Springboot (21)
      • Springboot-blog (0)
      • Daily (1)
      • Springboot-tip (3)
      • Spring (1)
      • Thymeleaf (1)
      • Tomcat (1)
      • Typescript (3)
      • Tool (5)
      • Sql (1)
      • prisma (1)
      • react (1)
    • Life (14)
      • Review (0)
      • Tip (3)
      • 리뷰 (8)
      • 부동산 (2)
최근 글
인기 글
최근 댓글
태그
  • #AngularJS
  • #JPA
  • #sts
  • #MySQL
  • #css
  • #javascript
  • #Vue
  • #error
  • #springboot
  • #GIT
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바