How We Coding

Git과 Github

git2019. 1. 4. 20:20

- Git 을 조금 더 알아보자. (SlideShare)

https://www.slideshare.net/ky200223/git-89251791



- Git Flow, Github Flow, Gitlab Flow

https://ujuc.github.io/2015/12/16/git-flow-github-flow-gitlab-flow/



- 오픈소스 기여를 위한 GITHUB 개념 정리

http://guruble.com/오픈소스-프로젝트의-컨트리뷰터는-어떻게-되는-것/


- Github cheat sheet

https://github.com/tiimgreen/github-cheat-sheet




'git' 카테고리의 다른 글

git 초보를 위한 풀리퀘스트(pull request) 방법  (0) 2018.04.07

- 여러 공백을 하나의 공백으로 바꾸는 정규표현식

- ref : https://code.i-harness.com/ko-kr/q/1e3ba5



str.replace( / +/g, ' ' )        ->  790ms

str.replace( /  +/g, ' ' )       ->  380ms

str.replace( / {2,}/g, ' ' )     ->  470ms

str.replace( /\s\s+/g, ' ' )     ->  390ms

str.replace( / +(?= )/g, ' ')    -> 3250ms



- 문자열에서 모든 줄 바꿈(개행)을 제거하는 방버

- ref : https://code.i-harness.com/ko-kr/q/a4df85


someText = someText.replace(/(\r\n\t|\n|\r\t)/gm,"");



- 정규표현식을 사용하여 태그만 제거하기

- ref : https://webisfree.com/2015-12-22/[자바스크립트]-정규표현식을-사용하여-태그만-제거하기


var newText = oriText.replace(/(<([^>]+)>)/ig,"");


>> g : 발생할 모든 pattern에 대한 전역 검색

>> i : 대/소문자 구분 안함

>> ref : http://www.codejs.co.kr/자바스크립트에서-replace를-replaceall-처럼-사용하기/



- 특정 태그 추출

- ref: http://maedoop.dothome.co.kr/2231

- ref: https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/RegExp/exec

'JS > Reference' 카테고리의 다른 글

How to make a Web Crawler in Node.js  (0) 2018.11.24
How JS works  (0) 2018.10.02
이벤트 루프(Event Loop)  (0) 2018.10.02

[Error] Authentication plugin 'caching_sha2_password' cannot be loaded


https://stackoverflow.com/questions/49194719/authentication-plugin-caching-sha2-password-cannot-be-loaded


Note: For MAC OS

  1. Open MySQL from System Preferences > Initialize Database >
  2. Type your new password.
  3. Choose 'Use legacy password'
  4. Start the Server again.
  5. Now connect the MySQL Workbench