본문 바로가기
  • Code Smell

ETC5

[Git] Push Author 변경하기 Git Push Author 변경하기 IntelliJ 등 IDE 에서 여러 Git 호스팅 서버 (깃랩, 비트버킷 )등 을 이용하다보면 기존 프로젝트를 가져왔을 때 login user가 다른 호스팅 서버 아이디로 되어 있는 등 commit author가 잘못 되어 있는 경우가 있다. 그럴 때 이미 서버로 push 해 버린 author를 변경하는 방법이다. git commit author 보기 & 바꾸기 git은 global user와 해당 프로젝트의 user를 따로 지정 할 수 있다. 따라서 현재 다른 계정으로 커밋자가 되어 있다면 아래 명령어로 확인한다. git config --list config 설정에서 user.name 과 user.email 을 확인한다. 이후 name 과 email을 원하는 것으.. 2020. 12. 6.
[메모] 티스토리 마크다운 코드블럭 지원 문법 apache bash coffeescript cpp cs css diff http ini java javascript json makefile xml markdown nginx objectivec perl php python ruby sql 2020. 4. 20.
티스토리 마크다운 적용하기 티스토리 마크다운 적용하기 마크다운으로 쓰여진 문서 head 태그 사이에 삽입 body 태그 시작 부분에 삽입 cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/monokai-sublime.min.css을 커스터마이징 해서 쓰고 싶다면 .hljs { display: block; overflow-x: auto; padding: 0.5em; font-family: "Courier New", "Courier New", "Courier New", Courier, monospace !important; background: #23241f } .hljs, .hljs-tag, .hljs-subst { color: #f8f8f2 } .hljs-strong, .hljs.. 2019. 7. 16.
티스토리 syntaxhighlighter 스킨 적용/변경 하기 #위치 블로그 관리 > 스킨편집 > html 편집 #파일 업로드 ./scripts 아래 *.js 전체 업로드 ./styles 아래 *.css 전체 업로드 - 뭘 사용할지 정했다면 특정 css만 업로드 해도 된다. - 공통 : shCore.css - 선택 : shCore에디터.css + shTheme에디터.css 예) shCore.css + shCoreEclipse.css + shThemeEclipse.css #블로그 CSS 에디터 편집 head 태그 안에 삽입 #적용(업로드)한 sh테마 아래 삽입 예) shThemeEclipse.css를 골랐다면 #그 아래 javascript 붙여넣기 #바디 메소드 추가 (Onload) Onload="dp.SyntaxHighlighter.HighlightAll('code.. 2019. 7. 16.
[MAVEN] Received fatal alert : protocol_version [MAVEN] Received fatal alert : protocol_version ... from/to central (https\://repo.maven.apache.org/maven2)\: Received fatal alert\: protocol_version pom.xml에 설정한 dependency에서 jar 다운로드가 안되고 .pom 파일에 위와 같은 에러가 떨어지는 경우 Repository가 https (TLS v1.2) 프로토콜로 연결되어야 하는데 JDK 낮은 버전에서는 TLS v1.0 ~ v1.1 이 기본값이라 그렇다. (~JDK7버전까지) 1. TLS v1.2로 바꾸는 방법 JDK버전을 JDK8 이상으로 올리면 된다. 2. repository를 http URL로 바꾸는 방법 (repo.. 2018. 9. 5.