본문 바로가기

분류 전체보기475

Git 개인키(Private Key) 클라이언트에 등록 - Permission denied (publickey) #### Git 개인키(Private Key) 클라이언트에 등록 - Permission denied (publickey) ``` 1. Add Public key ( Server ) 2. Add Private key (Client) ``` ### : C:/Users/[사용자]/.ssh/config ``` Host github.com HostName github.com IdentityFile ~/.ssh/개인키파일 User Github사용자 아이디 ``` ``` # # GitHub # Host github.com HostName github.com PreferredAuthentications publickey IdentityFile ~/.ssh/gh_id_rsa # # bitbucket # Host bitb.. 2021. 9. 4.
[git] information about branch git reflog show --date=iso [branch name] 2021. 7. 12.
[git] warning: LF will be replaced by CRLF in bin/cmder_mini/LICENSE # git add > warning: LF will be replaced by CRLF in bin/cmder_mini/LICENSE. C:\Work>git add . warning: LF will be replaced by CRLF in bin/cmder_mini/LICENSE. The file will have its original line endings in your working directory # Do git config --global core.safecrlf false 2021. 6. 17.
git master to develop # git develop 최신화 기존 develop 이름 변경 >> develop_old git checkout master - rename master --> develop develop_old기준으로 "pull request"로 검색. 검색된 feature/ ~ 브랜치 이름을 가지고 git merge feature/0001 git merge feature/0002 . . git merge feature/000N git merge command 실행 git push --force origin/develop 2021. 6. 9.
정규식 reg - 논문 저자 추출 \w*(\()(.?)([0-9]{1,4})(\)) (\()(((?!\().)*)([0-9]{4})(\)) 2021. 4. 24.
Google BigQuery ```sql CREATE TEMP FUNCTION rc( v FLOAT64, reverse BOOL) RETURNS FLOAT64 LANGUAGE js AS """ if ( reverse ) { return 5-v; } else { return v; } """; select p.HID, p.PYGENDERw2, avg(rc(cast(p.PPSY5A01w2 as FLOAT64),true ) + rc(cast(p.PPSY5A03w2 as FLOAT64),true ) + rc(cast(p.PPSY5A05w2 as FLOAT64),true ) + rc(cast(p.PPSY5A06w2 as FLOAT64),true )) / 4 as PM_1, avg(rc(cast(p.PPSY5A02w2 as FLOAT64),fa.. 2021. 3. 21.