본문 바로가기

Tip!!!28

특정 단어를 가지고 있는 파일 목록 만들기 리눅스를 사용하다 보면 많은 파일중에서 특정 문자를 포함하고 있는 파일만 필요할 때가 있다. 그럴때 사용하면 좋을듯.. 주의) 하나의 파일에 특정 단어가 반복될 수 있으므로 uniq명령어를 추가해 줘야한다. fgrep "love" *.txt | cut -d':' -f1 | uniq 대소문자 무시할 경우 fgrep -i "love" *.txt | cut -d':' -f1 | uniq 2011. 3. 29.
bash에서 float 계산하기 echo "$sum/$subjects" | bc -l 2011. 3. 28.
우분투에서 R과 관련된 Cairo 패키지 설치하기. 우분투에서 sudo apt-get install libcairo2-dev sudo apt-get install libxt-dev 설치후 install.packages('Cairo', dep=T) 설치. 좋은점 :그래프가 R의 기본 보다 이쁘다. 관련링크: http://www.remantu.com/r/package/cario 2011. 2. 25.
Convert tabs to spaces http://vim.wikia.com/wiki/Converting_tabs_to_spaces 2010. 11. 24.
Using eclipse galileo/ShellEd plugin for writing bash scripts http://www.chasetechnology.co.uk/eclipse/updates install software에 추가.. http://toddgee.com/node/56 2010. 4. 5.
Mockups 한글 입력 가능... On Windows XP: C:\Documents and Settings\\Application Data\BalsamiqMockupsForDesktop.#numbers#\Local Store On Mac OS X: /Library/Preferences/BalsamiqMockupsForDesktop.#numbers#/Local Store On Windows Vista: C:\Users\\AppData\Roaming\BalsamiqMockupsForDesktop.#numbers#\Local Store On Linux: ~/.appdata/BalsamiqMockupsForDesktop.#numbers#/Local Store The config file might look like this: 나눔고딕 false.. 2009. 7. 23.