티스토리 툴바


erlang eunit is a eunit compile and coverage tools on Emacs. I think it's very useful emacs plugin. but nobody does not care it. 

It is a advantage for high development performance in erlang language. On OSX use homebrew to install erlang. It's installed default.

write blew in ~/.emacs 
(setq load-path (cons "/usr/local/Cellar/erlang/R14B03/lib/erlang/lib/tools-2.6.6.4/emacs" load-path))
(setq erlang-root-dir "/usr/local/Cellar/erlang/R14B03")
(setq exec-path (cons "/usr/local/Cellar/erlang/R14B03/bin" exec-path))
(setq erlang-man-root-dir "/usr/local/Cellar/erlang/R14B03/share/man")
(require 'erlang-start)
(require 'erlang-flymake)
(require 'erlang-eunit)


That's all.

blow is a list of shortcut in erlang-eunit
  '(("\C-c\C-et" erlang-eunit-toggle-src-and-test-file-other-window)
    ("\C-c\C-ek" erlang-eunit-compile-and-run-module-tests)
    ("\C-c\C-ej" erlang-eunit-compile-and-run-current-test)
    ("\C-c\C-el" erlang-eunit-compile-and-run-recent)
    ("\C-c\C-ec" erlang-eunit-compile-and-run-module-tests-under-cover)
    ("\C-c\C-ev" erlang-eunit-cover-compile)
    ("\C-c\C-ea" erlang-eunit-analyze-coverage))) 
Posted by feelform

아이폰 필름

분류없음 2011/06/01 10:00


Posted by feelform
1. local port forwarding
     sudo ssh -f -NL 139:localhost:139 -NL 445:localhost:445 userName@remoteServer sleep 10 

2.  mount remote samba
    mount_smbfs //userName@localhost/data ~/var/

 
Posted by feelform

ubuntu settup

분류없음 2011/05/19 01:58
http://www.psychocats.net/ubuntu/mountlinux
http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/ 
Posted by feelform

MACBOOK LCD Check

분류없음 2011/05/17 01:40
http://www.imac.squeaked.com/test.php
http://feelform.tistory.com 
Posted by feelform
brew install git bash-completion

Add the following lines to your ~/.bash_profile file:
  if [ -f `brew --prefix`/etc/bash_completion ]; then
    . `brew --prefix`/etc/bash_completion
  fi

To install Homebrew's own completion script:
  ln -s "/usr/local/Library/Contributions/brew_bash_completion.sh" "/usr/local/etc/bash_completion.d"

Posted by feelform
http://stackoverflow.com/questions/254281/best-practices-for-overriding-isequal-and-hash
Posted by feelform
http://cocoawithlove.com/2009/05/variable-argument-lists-in-cocoa.html

http://developer.apple.com/library/mac/#qa/qa1405/_index.html 
Posted by feelform
Node.js는 서버사이드 자바스크립트 runtime이다.

event Loop 방식으로 비동기식으로 응답을하는 장점이 있다. 기본 자바를 기반으로하는 play도 있다. 

http://www.infoq.com/news/2011/04/javascript-lamp

위 기사를 보면 AMP 시스템은 죽었다라고 표현한다. 2011년 웹 프레임워크에 큰 변혁이 있을 것 같다.

http://blog.outsider.ne.kr/480
를 보면 자세하게 node.js에 대한 설명이 나와있다.

http://www.subbu.org/blog/2011/03/nodejs-vs-play-for-front-end-apps
보면 play와 node.js에 대한 비교를 해볼 수 있다. 
Posted by feelform
break methodName:
break -[ClassName methodName:]
b removeObject:atIndex:

print object
po object
po (int)[sender retainCount]
p [[sender selectedCell] title]
po [[sender selectedCell] title]

referrece : http://erik.cabetas.com/stuff/debug/gdb-objC-tips.pdf
 
Posted by feelform