Learn and Be Curious

1. highlight js 확인


https://highlightjs.org/ 

Get version 클릭후 Get Started 내용 확인





2. 티스토리 HTML 내 스크립트 추가





<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/styles/monokai-sublime.min.css">

<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.9.0/highlight.min.js"></script>

<script src="./images/highlightjs-line-numbers.min.js"></script>

<script>

hljs.initHighlightingOnLoad();

hljs.initLineNumbersOnLoad();

</script>








3. 티스토리 CSS 내 스크립트 추가


.hljs-line-numbers {
    text-align: right;
    border-right: 1px solid #ccc;
    color: #999;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}






4. github 라인설정 라이브러리 추가


https://github.com/wcoder/highlightjs-line-numbers.js/tree/master/dist

다운후


티스토리 파일업로드








class TestClass {

int a = 0;
int b = 2;
String abc = "123";

int MethodA(String a) {
 
  return 9;
}


}





참고 : http://kiros33.tistory.com/12?srchid=BR1http://kiros33.tistory.com/12    


https://stackoverflow.com/questions/13533123/spring-tool-suite-missing-spring-mvc-project-template/40698374



Try this , it solved my issue.

  1. Go to New Project -> Spring Legacy Project. For first use, only show "Simple Project" folder.
  2. Select Configure templates.. (blue link).
  3. In Template Projects window, delete "spring-data-gemfire" and "spring-integration", and check "Show self-hosted templates ..." (at bottom), and then press Apply -> OK
  4. Just wait while refreshing process, and "Spring MVC Project" should be showed.


'dev > spring framework' 카테고리의 다른 글

정상 로그  (0) 2017.02.14
Web Application Folder Structure for Spring MVC Web Projects  (0) 2017.02.13

1. 방화벽 속성 클릭후




2. 인바운드 연결 : 허용으로 변경



인바운드

- 내부를 향하는 것

- 서버 내부로 들어오는 것

- 서버 / 네트워크 내부로 인입

- 클라이언트 → 서버

- 클라이언트가 업로드 할때

- 윈도우 방화벽 기본설정 : 모든 접속 차단


아웃바운드

- 바깥으로 향하는 것

- 서버 바깥으로 나가는 것

- 서버 또는 네트워존 외부로 송출

- 서버 → 클라이언트

- 클라이언트가 다운로드 할 때





'dev' 카테고리의 다른 글

nexus ubunto  (0) 2017.03.27
ISDP  (0) 2017.02.02
Anti-OOP: if를 피하는 법  (0) 2017.02.01
XML vs JSON  (0) 2017.01.26
TDD 무엇을 테스트 할 것인가?  (0) 2017.01.23