본문 바로가기

Scala in Vim 참고사이트https://lauris.github.io/vim/2014/08/21/scala-in-vim/ Vim 상에서 Scala 자동완성 설치 - http://eclim.org/install.htmljava -jar eclim_2.5.0.jar 최신버전 Eclipse Mars 설치 후 임의의 폴더에 압축 해제 후, 아래의 위치를 이클립스 홈으로 지정 - http://eclim.org/eclimd.html # cat ~/.bashrcexport ECLIPSE_HOME=/Users/psyoblade/Downloads/Eclipse.app/Contents/Eclipse alias eclimd=$ECLIPSE_HOME/eclimd Vundle 설치 - https://github.com/VundleVim/Vun.. 더보기
스칼라 두 번째 걸음 스칼라 배열 초기화val strings = new Array[String](3)strings(0) = "zero" // 배열의 크기가 immutable 이지, 값은 mutable 이다strings(1) = "one"strings(2) = "two"strings.foreach(println) 좀 더 간단한 스칼라 배열의 초기화 - 동반객체(companion object)의 factory 함수를 통해 배열을 생성하는 방법val strings = Array("zero", "one", "two") strings.foreach(println) * 여기서 동반객체(companion object)란 class 의 이름과 object의 이름이 동일한 경우를 말하며, 이때 싱글톤 객체의 클래스를 동반 클래스 (compa.. 더보기
.screenrc .vimrc .bashrc .profile 백업 맥에서 숨김파일 확인하기defaults write com.apple.finder AppleShowAllFiles -bool true killall Finder export CLICOLOR=1export LSCOLORS=GxFxCxDxBxegedabagacedexport PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Homealias hstart="/usr/local/Cellar/hadoop/2.7.1/sbin/start-dfs.sh;/usr/local/Cellar/hadoop/2.7.1/s.. 더보기