분류 전체보기 578

JavaScript TCP/IO by Flash Socket Bridge

JavaScript로 원격네트웍을 이용할 수 있을까???쉽지않죠... 가장 쉽게 떠올리는건 HTML5 WebSocket 일겁니다.그러나, 사용상의 제약도 많고 브라우져 특성도 무시 못합니다.그렇다면 대안이 뭘까 ??? 생각해보면 Flash Network API를 이용하고 이걸 Javascript Callback과 연결하면 되지 않을까요 ?...이미 이러한 아이디어는 오래전부터 있어 왔네요... 일단 참고 URL 만 모아 두고, 차근차근 연구해야 될것 같습니다.암튼 좋은 아이디어고, 쓸만할것 같습니다. 아래는 참고 페이지들 입니다. http://matthaynes.net/blog/2008/07/17/socketbridge-flash-javascript-socket-bridge/ http://blog.ion..

프로그램/script 2013.11.21

awk 꼼수 - 001 - 특정 필드 뽑아내기

아래는 springmvc project 의 controller loading 로그중 mapping path 부분입니다. 개인적으로 mapping path만 발취하려고 합니다. server$ head aa AbstractHandlerMethodMapping.java[registerHandlerMethod]:179 - Mapped "{[/acl],methods=[GET],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public java.lang.String com.yudo.imc.controller.AclController.main(org.springframework.ui.Model) AbstractHandlerMethodMapping.jav..

편하게 살자 2013.11.06

Apple script를 이용한 Textwrangler 확장하기 - 라인중복, 라인삭제 등

Apple script 를 이용한 TextWrangler editor 확장하기아래는 필자가 많이 사용한는 eclipse 의 shortcut을 Textwrangler에 매핑하는 예제임. 1) Apple script 작성하기 - 1라인 중복카피 (duplicate line), 선택라인 삭제 (delete selected line)tell application "TextWrangler"tell window 1select line the (startLine of the selection)copy (contents of the selection) as text to myTextset the contents of the selection to myText & myTextend tell end tell tell ap..

편하게 살자 2013.09.16