본문 바로가기

ETC

iterm2로 Multi SSH (itermocil) itermocil 로 여러 터미널로 ssh로 여러 서버에 접속할 수 있다.https://github.com/TomAnthony/itermocil 1. 설치brew itermocil 로 설치한다. 2. 설정미리 설정파일을 만들어 놓아야 한다. itermocil에서는 layout이라고 하는데 layout파일은 yml 포멧으로 작성한다. ~/.teamocil 폴더에 [layout_name].yml 로 작성하면 해당 파일명으로 layout이 글로벌 설정이 된다.layout 포멧은 https://github.com/TomAnthony/itermocil 를 참조하면 된다. 기본적인 샘플을 하나 작성해 보자~/.teamocil/sample.yml windows: - name: sample-two-panes root:.. 더보기
맥북 터치바에서 IntelliJ에서 항상 function키가 나타나게 하기!! 참조: https://medium.com/@geapi/permanent-function-keys-intellij-macbook-pro-w-touchbar-d6fc78781b90 더보기
Apache Tomcat access log 설정 Tomcat은 기본적으로 access log를 저장한다. /conf/server.xml에서 변경이 가능하다. 아래 패턴을 통해 조합이 가능하다. %a - Remote IP address%A - Local IP address%b - Bytes sent, excluding HTTP headers, or '-' if no bytes were sent%B - Bytes sent, excluding HTTP headers%h - Remote host name (or IP address if enableLookups for the connector is false)%H - Request protocol%l - Remote logical username from identd (always returns '-')%m .. 더보기
Mac 에서 숨김 파일 보기 Mac에서 숨김파일 보이게 하기 #Finder에서 숨김 파일 보기defaults write com.apple.finder AppleShowAllFiles YES && killall Finder #Finder에서 숨김 파일 안 보이게 하기defaults write com.apple.finder AppleShowAllFiles NO && killall Finder 더보기
[SBT] Jar 파일 만들기 SBT로 Jar 파일 만들기 1. projectName/project/plugins.sbt 에 sbt-assembly 추가하기 addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.12.0") 2. projectName/build.sbt 에 MergeStrategy와 main class 추가 mainClass in assembly := Some("flink.sample.SampleApp")assemblyJarName := "flink.jar" assemblyMergeStrategy in assembly := { case PathList("META-INF", xs @ _*) => MergeStrategy.discard case x => MergeStrategy.first.. 더보기
Docker 컨테이너에서 network가 안될때... docker 컨테이너 안에서 network가 안된다면 http://odino.org/cannot-connect-to-the-internet-from-your-docker-containers/ 더보기
[IntelliJ] Export Jar IntelliJ에서 Export Jar 설정 http://progtrend.blogspot.kr/2017/07/intellij-gradle-java-project-runnable.html 프로젝트 Structure에서 Jar용 Artifact를 추가하면 된다. 추가 후 Build -> Build Artifact 로 설정한 Jar 를 선택하면 된다. %PROJECT_WORKSPACE%out/artifacts/Project_name.jar 파일이 생성된다. 끝 더보기
IntelliJ로 만든 프로젝트 Github에 올리기 IntelliJ로 만든 프로젝트 Github에 올리기 IntelliJ로 만든 Scala Maven 프로젝트를 Github에 최초 등록하는 방법입니다. 1. 프로젝트를 만든다.Scala Maven 프로젝트 만들기: http://gyrfalcon.tistory.com/entry/IntelliJ%EB%A1%9C-Scala-Maven-%ED%94%84%EB%A1%9C%EC%A0%9D%ED%8A%B8-%EB%A7%8C%EB%93%A4%EA%B8%B0 2. VCS - Import into Version Control - Share Project on Github 3. 프로젝트 생성!! 짠! github에 내가 만든 프로젝트가 업로드 된걸 확인 할 수 있다. 끝 더보기