'보이스'에서 에이타(다이키 역)가 녹색 옷을 입고 다니는 이유^^?

법의학 드라마이면서 추리와 감동이 들어간 2009년 1분기 드라마 '보이스'에서 주인공 다이키가 왜 녹색옷을 입고 다닐까 신기했습니다.

머리모양도 너저분한 것 같고^^;;

그런데 알고 보니 .. 너무 눈에 익은 희동이 머리 ㅎㅎ
옷은 녹색.. 둘리를 좋아해서 입은 것 아닐까요?

연출자가 아기 공룡 둘리의 팬이라는 설이 있습니다 ^^;;
by 4Deyes | 2009/02/19 15:27 | 일본드라마 | 트랙백
SMAP(스맙)의 고로, 드디어 형사가 되었네요. (트라이앵글)
이번 분기 트라이앵글 보기 전에 긴다이치 코우스케(우리 식으로 읽으면 김전일 ㅡㅡ.. 김전일 소년 탐정의 할아버지입니다.)를 재미있게 봤는데, 트라이앵글에서 그 소설가와 고로가 나란히 나와서 반가웠습니다.

그리고 보면 고로는 긴다이치 같은 탐정역도 했지만,  M의 비극이라는 드라마에서처럼 평범한 사람(?)으로 나와 사건을 추적하는 경우도 있었네요.

알게 모르게 서스펜스 드라마에 많이 나와서 좋아했는데, 드디어 형사가 되었네요. 이번 작품에서도 긴다이치와 같은 명추리를 보여줄 지.. 첫인상은 왠지 뒷걸음치다가 소잡는 ㅎㅎ 역할이 아닐까 하는 생각도 잠시 들었지만요.

어쨌든 시작은 백야행 같이 시작해서, 유성의 인연 삘로 끝나는 흥미진진한 드라마가 될 것 같아서 기대가 큽니다.

그나저나 칸노 미호나 후카짱처럼 나이를 먹는 건지 안 먹는 건지 모르는 사람이 있는 반면, 히로시에 료코는 나이를 먹는 다는 분위기가 나서 아쉽네요 ㅡㅜ
by 4Deyes | 2009/02/03 13:56 | 일본드라마 | 트랙백
Adobe flash ActiveX가 어떻게 하든 설치가 안 될 때
노란 줄 나와서 눌렀는데, 실패가 나오고
도움말이 걸린 링크
www.adobe.com/go/tn_19166_kr 이라는 링크도 안 열릴 때 난감합니다.

지식인에 찾아봐도 이전 버전 언인스톨하고 설치하면 된다고만 나와있고,
(대부분의 사람은 위와 같이 레지스트리에서 이전 버전 삭제해주면 되나 봅니다.)

그런데도 안 될 경우 난감합니다.
위 주소의 영문 주소는 현재
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19166&sliceId=1

여기에 보면 이전 버전 언인스톨 외에 권한 설정하는 부분도 나와있습니다.
전 설치만은 확실하기 위해서 인터넷 익스플로어에서 보안은 잠시동안 위험한 수준으로 개방해 놓고
위 문서에 링크 걸린 툴을 받아 고쳤습니다.

그 부분은 다음과 같습니다.

Download SubInACL from Microsoft to fix permission issues that prevent the Flash Player installation. For instruction on how to run SubInACL to fix these permission issues please refer to "Download SubInACL from Microsoft to fix permission issues that prevent the Flash Player installation" (TechNote fb1634cb).

밑에 MS에서 다운 받을 수 있게 고친 걸 받을 수 있다고 나왔죠?
누르고 들어가면,
http://kb.adobe.com/selfservice/viewContent.do?externalId=fb1634cb&sliceId=1

여기로 연결되고, 급할 경우 해결책만 받아서 따라하면 됩니다.

You must have administrator privileges to successfully complete these instructions.

  1. Follow the instructions to download the SubInACL tool from the Microsoft Download Center.
  2. Install SubInACL.
  3. Download the reset_fp10.zip file.
  4. Extract the reset_fp10.cmd file to C:\Program Files\Windows Resource Kits\Tools\.

    Important: Be sure that both the subinacl.exe and reset_fp10.cmd files are in the same location here: C:\Program Files\Windows Resource Kits\Tools\.

  5. Double-click reset_fp10.cmd.
  6. This will open a command window and execute the SubInACL tool.
  7. Do not use the machine while SubInACL is running.
  8. When it is finished you will see "Press any key to continue".
  9. Install the Flash Player from www.adobe.com/go/getflashplayer.
간단하게 말하면 MS에서 SubInACL 프로그램을 다운로드 받아서 설치하고, reset_fp10.cmd라는 스크립트를 실행시키면 해결됩니다. (위 명령은 관리자 권한을 가진 사용자가 해야 합니다.)
두 프로그램이 같은 위치에서 해야 한다고 하는데, 잠시 path 에 등록해 놓고 해도 됩니다.


by 4Deyes | 2008/12/31 09:08 | 트랙백
RESTful web service Client에서 GET, POST 적용방법
package client;
import java.io.IOException;
import java.io.InputStream;
import org.apache.commons.httpclient.Credentials;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthScope;
import org.apache.commons.httpclient.methods.GetMethod;
public class LizardWSClient {
 /**
  * @param args
  * ref : http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/BasicAuthenticationExample.java?view=markup
  */
 public static void main(String[] args) {
  // To be avoided unless in debug mode
  Credentials defaultcreds = new UsernamePasswordCredentials("reader", "student1");
  HttpClient client = new HttpClient();
  client.getState().setCredentials(AuthScope.ANY, defaultcreds);
  
  // create a GET method that reads a file over HTTPS, we're assuming
        // that this file requires basic authentication using the realm above.
  String url = "http://www.test.co.kr/book/read/101";
  GetMethod method = new GetMethod(url);
  // PutMethod, PostMethod, DeleteMethod 각 방법 선택해서 구현.
  try {
   // execute the GET
   int status = client.executeMethod(method);
   
   InputStream responseBody = method.getResponseBodyAsStream();
   
   // print the status and response
            System.out.println(status + "\n" + method.getResponseBodyAsString());
  } catch (HttpException e) {
   e.printStackTrace();
  } catch (IOException e) {
   e.printStackTrace();
  }finally{
            // release any connection resources used by the method
   method.releaseConnection();
  }
  
 }
}



POST 방식은.
*reference

http://svn.apache.org/viewvc/httpcomponents/oac.hc3x/trunk/src/examples/BasicAuthenticationExample.java?view=markup

by 4Deyes | 2008/12/15 23:54 | 개발일기 | 트랙백
Restlet으로 XML 편하게 출력하려고 했다가 더 고생했습니다. ㅡㅜ

XML 형태로 출력하려고 했다가 더 고생했네요.

DomRepresentation으로 할 경우.. 출력할 때마다 자식 등록.. 트리 구조를 만들어야 하기에 번거로워서

XmlWriter를 이용해서 순차적으로 문서를 만들어서 출력하면 어떨까 했습니다.

    XmlWriter w = new XmlWriter();

    w.startDocument();
    w.dataElement("greeting", "Hello, world!");
    w.endDocument();

    w.flush();

위와 같이 해서 representation으로 연결만 하면 되는데, SaxRepresentation과도 연결이 잘 안 되고, WriterRepresentation하고도 실패..

간단하게 XML 만들어서 출력하는 다른 방법으로 IBM 사이트에서 소개한 Groovy를 이용해서 만드는 케이스가 있지만,
Groovy를 익히고 연결하는데 들어가는 시간 비용도 고려해야 할 것 같아서..

고민하다가 iBatis에서 보니 DB에서 바로 XML 형태로 출력이 가능하네요. 진작 알았으면 고생 덜 하는데요 ^^;

XmlResultName을 이용해서 StringRepresentation으로 내보내면 끝.. :)

by 4Deyes | 2008/12/12 10:38 | 개발일기 | 트랙백


<< 이전 페이지 다음 페이지 >>