<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>claztec's programming</title>
    <link>https://dev-claztec.tistory.com/</link>
    <description>개발에 관한 것들..</description>
    <language>ko</language>
    <pubDate>Sat, 13 Jun 2026 12:10:40 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>dopio double</managingEditor>
    <image>
      <title>claztec's programming</title>
      <url>https://t1.daumcdn.net/cfile/tistory/1828C60B4BCAFFDCA8</url>
      <link>https://dev-claztec.tistory.com</link>
    </image>
    <item>
      <title>psycopg2 설치</title>
      <link>https://dev-claztec.tistory.com/133</link>
      <description>psycopg2 설치
http://stackoverflow.com/questions/11583714/psycopg2-on-ubuntu

&lt;pre&gt;
claztec@claztec:~/Downloads/psycopg2-2.5$ sudo apt-get install python-psycopg2
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다       
상태 정보를 읽는 중입니다... 완료
다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다:
  libcrypto++9 libmaven-archiver-java libmaven-clean-plugin-java libmaven-compiler-plugin-java libmaven-dependency-tree-java
  libmaven-filtering-java libmaven-install-plugin-java libmaven-jar-plugin-java libmaven-resources-plugin-java
  libmaven-shade-plugin-java libplexus-compiler-api-java libplexus-compiler-java libplexus-compiler-javac-java
  libplexus-compiler-manager-java libplexus-digest-java
Use 'apt-get autoremove' to remove them.
다음 패키지를 더 설치할 것입니다:
  python-egenix-mxdatetime python-egenix-mxtools
제안하는 패키지:
  python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc python-egenix-mxtools-dbg python-egenix-mxtools-doc
  python-psycopg2-doc
다음 새 패키지를 설치할 것입니다:
  python-egenix-mxdatetime python-egenix-mxtools python-psycopg2
0개 업그레이드, 3개 새로 설치, 0개 제거 및 81개 업그레이드 안 함.
322 k바이트 아카이브를 받아야 합니다.
이 작업 후 1,447 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까 [Y/n]? y
받기:1 http://ftp.daum.net/ubuntu/ saucy/main python-egenix-mxtools amd64 3.2.5-1 [89.3 kB]
받기:2 http://ftp.daum.net/ubuntu/ saucy/main python-egenix-mxdatetime amd64 3.2.5-1 [79.5 kB]
받기:3 http://ftp.daum.net/ubuntu/ saucy/main python-psycopg2 amd64 2.4.5-1build3 [153 kB]
내려받기 322 k바이트, 소요시간 0초 (1,244 k바이트/초)
Selecting previously unselected package python-egenix-mxtools.
(데이터베이스 읽는중 ...현재 195224개의 파일과 디렉터리가 설치되어 있습니다.)
python-egenix-mxtools 패키지를 푸는 중입니다 (.../python-egenix-mxtools_3.2.5-1_amd64.deb에서) ...
Selecting previously unselected package python-egenix-mxdatetime.
python-egenix-mxdatetime 패키지를 푸는 중입니다 (.../python-egenix-mxdatetime_3.2.5-1_amd64.deb에서) ...
Selecting previously unselected package python-psycopg2.
python-psycopg2 패키지를 푸는 중입니다 (.../python-psycopg2_2.4.5-1build3_amd64.deb에서) ...
python-egenix-mxtools (3.2.5-1) 설정하는 중입니다 ...
python-egenix-mxdatetime (3.2.5-1) 설정하는 중입니다 ...
python-psycopg2 (2.4.5-1build3) 설정하는 중입니다 ...
claztec@claztec:~/Downloads/psycopg2-2.5$ ll

&lt;/pre&gt;</description>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/133</guid>
      <comments>https://dev-claztec.tistory.com/133#entry133comment</comments>
      <pubDate>Mon, 18 Nov 2013 15:59:14 +0900</pubDate>
    </item>
    <item>
      <title>DispatcherServlet</title>
      <link>https://dev-claztec.tistory.com/132</link>
      <description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center; clear: none; float: none;&quot;&gt;&lt;span class=&quot;imageblock&quot; style=&quot;display: inline-block; width: 628px;  height: auto; max-width: 100%;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/225473495288A8971B&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F225473495288A8971B&quot; width=&quot;628&quot; height=&quot;285&quot; filename=&quot;dispatcherservlet.png&quot; filemime=&quot;image/png&quot; style=&quot;&quot;/&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/132</guid>
      <comments>https://dev-claztec.tistory.com/132#entry132comment</comments>
      <pubDate>Sun, 17 Nov 2013 20:29:32 +0900</pubDate>
    </item>
    <item>
      <title>ubuntu sqldeveloper 한글 문제</title>
      <link>https://dev-claztec.tistory.com/131</link>
      <description>&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$ ll&lt;/p&gt;&lt;p&gt;합계 66620&lt;/p&gt;&lt;p&gt;drwxr-xr-x 18 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 ./&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;7 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 ../&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; 123459 10월 18 19:06 alt-rt.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;42042 10월 18 19:06 alt-string.jar&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;8 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 amd64/&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 applet/&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 audio/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 1200 10월 18 19:06 calendars.properties&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp;6773677 10월 18 19:06 charsets.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;80589 10월 18 19:06 classlist&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 cmm/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 5869 10월 18 19:06 content-types.properties&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 deploy/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp;3551785 10월 18 19:06 deploy.jar&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;5 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 desktop/&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 ext/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 3847 10월 18 19:06 flavormap.properties&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 5438 10월 18 19:06 fontconfig.RedHat.2.1.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 9024 10월 18 19:06 fontconfig.RedHat.2.1.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 5760 10월 18 19:06 fontconfig.RedHat.3.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;11006 10월 18 19:06 fontconfig.RedHat.3.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 4494 10월 18 19:06 fontconfig.RedHat.4.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 8782 10월 18 19:06 fontconfig.RedHat.4.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 4250 10월 18 19:06 fontconfig.RedHat.6.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 8735 10월 18 19:06 fontconfig.RedHat.6.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 4532 10월 18 19:06 fontconfig.RedHat.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 8845 10월 18 19:06 fontconfig.RedHat.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 6478 10월 18 19:06 fontconfig.SuSE.11.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;16150 10월 18 19:06 fontconfig.SuSE.11.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 6702 10월 18 19:06 fontconfig.SuSE.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;16298 10월 18 19:06 fontconfig.SuSE.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 4644 10월 18 19:06 fontconfig.Sun.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 8650 10월 18 19:06 fontconfig.Sun.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 4668 10월 18 19:06 fontconfig.Turbo.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 9202 10월 18 19:06 fontconfig.Turbo.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 6040 10월 18 19:06 fontconfig.Ubuntu.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;11327 10월 18 19:06 fontconfig.Ubuntu.properties.src&lt;/p&gt;&lt;p&gt;-r--r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 1678 10월 18 19:06 fontconfig.bfc&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 1948 10월 18 19:06 fontconfig.properties.src&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 fonts/&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 im/&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;4 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 images/&lt;/p&gt;&lt;p&gt;-rwxr-xr-x &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; &amp;nbsp; 91 10월 18 19:06 jar.binfmt*&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; 918971 10월 18 19:06 javaws.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;88238 10월 18 19:06 jce.jar&lt;/p&gt;&lt;p&gt;-rwxr-xr-x &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;16851 10월 18 19:06 jexec*&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; 640447 10월 18 19:06 jsse.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 2784 10월 18 19:06 jvm.hprof.txt&lt;/p&gt;&lt;p&gt;drwxr-xr-x 15 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 locale/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 2245 10월 18 19:06 logging.properties&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 management/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; &amp;nbsp;382 10월 18 19:06 management-agent.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 2246 10월 18 19:06 meta-index&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 3070 10월 18 19:06 net.properties&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 oblique-fonts/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp;1872228 10월 18 19:06 plugin.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 3040 10월 18 19:06 psfont.properties.ja&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp;10639 10월 18 19:06 psfontj2d.properties&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp;1163732 10월 18 19:06 resources.jar&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root 52558009 10월 18 19:06 rt.jar&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 security/&lt;/p&gt;&lt;p&gt;drwxr-xr-x &amp;nbsp;2 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 servicetag/&lt;/p&gt;&lt;p&gt;-rw-r--r-- &amp;nbsp;1 root root &amp;nbsp; &amp;nbsp; 1210 10월 18 19:06 sound.properties&lt;/p&gt;&lt;p&gt;drwxr-xr-x 13 root root &amp;nbsp; &amp;nbsp; 4096 10월 18 19:06 zi/&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$ cp fontconfig.Ubuntu.bfc fontconfig.bfc&amp;nbsp;&lt;/p&gt;&lt;p&gt;cp: 일반 파일 `fontconfig.bfc'을(를) 생성할 수 없음: 허가 거부&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$ sudo cp fontconfig.Ubuntu.bfc fontconfig.bfc&amp;nbsp;&lt;/p&gt;&lt;p&gt;[sudo] password for claztec:&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$ sudo cp fontconfig.Ubuntu.properties.src fontconfig.properties.src&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib$ cd fonts/&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts$ mkdir fallback&lt;/p&gt;&lt;p&gt;mkdir: `fallback' 디렉토리를 만들 수 없습니다: 허가 거부&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts$ sudo mkdir fallback&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts$ cd fallback/&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ cp /usr/share/fonts/truetype/nanum/Nanum&lt;/p&gt;&lt;p&gt;NanumGothic.ttf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NanumGothicBold.ttf &amp;nbsp; &amp;nbsp;NanumMyeongjo.ttf &amp;nbsp; &amp;nbsp; &amp;nbsp;NanumMyeongjoBold.ttf &amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ cp /usr/share/fonts/truetype/nanum/Nanum&lt;/p&gt;&lt;p&gt;NanumGothic.ttf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NanumGothicBold.ttf &amp;nbsp; &amp;nbsp;NanumMyeongjo.ttf &amp;nbsp; &amp;nbsp; &amp;nbsp;NanumMyeongjoBold.ttf &amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ cp /usr/share/fonts/truetype/nanum/* .&lt;/p&gt;&lt;p&gt;cp: 일반 파일 `./NanumGothic.ttf'을(를) 생성할 수 없음: 허가 거부&lt;/p&gt;&lt;p&gt;cp: 일반 파일 `./NanumGothicBold.ttf'을(를) 생성할 수 없음: 허가 거부&lt;/p&gt;&lt;p&gt;cp: 일반 파일 `./NanumMyeongjo.ttf'을(를) 생성할 수 없음: 허가 거부&lt;/p&gt;&lt;p&gt;cp: 일반 파일 `./NanumMyeongjoBold.ttf'을(를) 생성할 수 없음: 허가 거부&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ sudo cp /usr/share/fonts/truetype/nanum/* .&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ ll&lt;/p&gt;&lt;p&gt;합계 16692&lt;/p&gt;&lt;p&gt;drwxr-xr-x 2 root root &amp;nbsp; &amp;nbsp;4096 10월 21 13:43 ./&lt;/p&gt;&lt;p&gt;drwxr-xr-x 3 root root &amp;nbsp; &amp;nbsp;4096 10월 21 13:43 ../&lt;/p&gt;&lt;p&gt;-rw-r--r-- 1 root root 4343844 10월 21 13:43 NanumGothic.ttf&lt;/p&gt;&lt;p&gt;-rw-r--r-- 1 root root 4288380 10월 21 13:43 NanumGothicBold.ttf&lt;/p&gt;&lt;p&gt;-rw-r--r-- 1 root root 3808496 10월 21 13:43 NanumMyeongjo.ttf&lt;/p&gt;&lt;p&gt;-rw-r--r-- 1 root root 4638736 10월 21 13:43 NanumMyeongjoBold.ttf&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$&amp;nbsp;&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ mkfontdir&lt;/p&gt;&lt;p&gt;./fonts.dir: fopen(w): Permission denied&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ sudo mkfontdir&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$ sudo mkfontscale&lt;/p&gt;&lt;p&gt;claztec@claztec:/usr/lib/jvm/java-6-oracle/jre/lib/fonts/fallback$&amp;nbsp;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/131</guid>
      <comments>https://dev-claztec.tistory.com/131#entry131comment</comments>
      <pubDate>Mon, 21 Oct 2013 13:48:30 +0900</pubDate>
    </item>
    <item>
      <title>마크다운</title>
      <link>https://dev-claztec.tistory.com/130</link>
      <description>&lt;pre class=&quot;markdown&quot;&gt;

## 마크다운을 이용한 테스트
마크 다운이 좋은데 티스토리에서는 잘 안된다.
* 무엇이 문제일까?

### 해결점
잘 모르겠다

### 코드
```
#!/usr/bin/python
# -*- coding: UTF-8 -*-

from time import time

def f(n):
    if n == 0:
        return 1
    else:
        return n * f(n-1)


def binary_search(data, target, low, high):
    if low &gt; high:
        return False
    else:
        mid = (low + high)/2 
        if target == data[mid]:
            return True
        elif target &lt; data[mid]:
            return binary_search(data, target, low, mid - 1)
        else:
            return binary_search(data, target, mid + 1, high)

def reverse(S, start, stop):
    if start &lt; stop -1:
        temp1 = S[start]
        temp2 = S[stop-1]
        S[start] = temp2
        S[stop-1] = temp1
        reverse(S, start+1, stop-1)
        

def linear_sum(S, n):
    if n == 0:
        return 0
    else:
        return linear_sum(S, n-1) + S[n-1]

if __name__ == &quot;__main__&quot;:
    print &quot;hello&quot;
    start_time = time()
    
    list = [2,4,5,7,8,9,12,14,17,19,22,25,27,28,33,37]
#     result = f(3)
#     result = binary_search(list, 23, 0, 15)
#     result= linear_sum(list, 15)
#     print (&quot;find:%s&quot; % result)
    print list
    reverse(list, 0, len(list))
    print list
    
    end_time = time()
    elapsed = end_time - start_time
    print elapsed
    print &quot;end&quot;
```

&lt;/pre&gt;</description>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/130</guid>
      <comments>https://dev-claztec.tistory.com/130#entry130comment</comments>
      <pubDate>Tue, 24 Sep 2013 22:15:16 +0900</pubDate>
    </item>
    <item>
      <title>테스트</title>
      <link>https://dev-claztec.tistory.com/129</link>
      <description>&lt;h2&gt;마크다운을 이용한 테스트&lt;/h2&gt;
&lt;p&gt;마크 다운이 좋은데 티스토리에서는 잘 안된다.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;무엇이 문제일까?&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;해결점&lt;/h3&gt;
&lt;p&gt;잘 모르겠다&lt;/p&gt;
&lt;h3&gt;코드&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;#!/usr/bin/python
# -*- coding: UTF-8 -*-

from time import time

def f(n):
    if n == 0:
        return 1
    else:
        return n * f(n-1)


def binary_search(data, target, low, high):
    if low &amp;gt; high:
        return False
    else:
        mid = (low + high)/2 
        if target == data[mid]:
            return True
        elif target &amp;lt; data[mid]:
            return binary_search(data, target, low, mid - 1)
        else:
            return binary_search(data, target, mid + 1, high)

def reverse(S, start, stop):
    if start &amp;lt; stop -1:
        temp1 = S[start]
        temp2 = S[stop-1]
        S[start] = temp2
        S[stop-1] = temp1
        reverse(S, start+1, stop-1)


def linear_sum(S, n):
    if n == 0:
        return 0
    else:
        return linear_sum(S, n-1) + S[n-1]

if __name__ == &amp;quot;__main__&amp;quot;:
    print &amp;quot;hello&amp;quot;
    start_time = time()

    list = [2,4,5,7,8,9,12,14,17,19,22,25,27,28,33,37]
#     result = f(3)
#     result = binary_search(list, 23, 0, 15)
#     result= linear_sum(list, 15)
#     print (&amp;quot;find:%s&amp;quot; % result)
    print list
    reverse(list, 0, len(list))
    print list

    end_time = time()
    elapsed = end_time - start_time
    print elapsed
    print &amp;quot;end&amp;quot;
&lt;/code&gt;&lt;/pre&gt;</description>
      <category>claztec's develop</category>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/129</guid>
      <comments>https://dev-claztec.tistory.com/129#entry129comment</comments>
      <pubDate>Tue, 24 Sep 2013 22:03:57 +0900</pubDate>
    </item>
    <item>
      <title>자바 유용한 툴 정리</title>
      <link>https://dev-claztec.tistory.com/128</link>
      <description>&lt;p&gt;java 유용한 툴&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;div class=&quot;prezi-player&quot;&gt;&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;.prezi-player { width: 550px; } .prezi-player-links { text-align: center; }&lt;/style&gt;&lt;object id=&quot;prezi_kwhudvwvksxo&quot; name=&quot;prezi_kwhudvwvksxo&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; width=&quot;550&quot; height=&quot;400&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://prezi.com/bin/preziloader.swf&quot;/&gt;&lt;param name=&quot;allowfullscreen&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowFullScreenInteractive&quot; value=&quot;true&quot;/&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;/&gt;&lt;param name=&quot;wmode&quot; value=&quot;direct&quot;/&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#ffffff&quot;/&gt;&lt;param name=&quot;flashvars&quot; value=&quot;prezi_id=kwhudvwvksxo&amp;amp;lock_to_path=0&amp;amp;color=ffffff&amp;amp;autoplay=no&amp;amp;autohide_ctrls=0&quot;/&gt;&lt;embed id=&quot;preziEmbed_kwhudvwvksxo&quot; name=&quot;preziEmbed_kwhudvwvksxo&quot; src=&quot;http://prezi.com/bin/preziloader.swf&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot; allowfullscreeninteractive=&quot;true&quot; allowscriptaccess=&quot;always&quot; width=&quot;550&quot; height=&quot;400&quot; bgcolor=&quot;#ffffff&quot; flashvars=&quot;prezi_id=kwhudvwvksxo&amp;amp;lock_to_path=0&amp;amp;color=ffffff&amp;amp;autoplay=no&amp;amp;autohide_ctrls=0&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class=&quot;prezi-player-links&quot;&gt;&lt;p&gt;&lt;a title=&quot;Useful tools for Java developer&quot; href=&quot;http://prezi.com/kwhudvwvksxo/useful-tools-for-java-developer/&quot;&gt;Useful tools for Java developer&lt;/a&gt; on &lt;a href=&quot;http://prezi.com&quot;&gt;Prezi&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>claztec's develop</category>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/128</guid>
      <comments>https://dev-claztec.tistory.com/128#entry128comment</comments>
      <pubDate>Sat, 10 Nov 2012 05:51:23 +0900</pubDate>
    </item>
    <item>
      <title>java 에서 inputstream을 string 으로...</title>
      <link>https://dev-claztec.tistory.com/127</link>
      <description>&lt;p&gt;도움이 될것 같아 스크랩&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://javarevisited.blogspot.kr/2012/08/convert-inputstream-to-string-java-example-tutorial.html&quot;&gt;http://javarevisited.blogspot.kr/2012/08/convert-inputstream-to-string-java-example-tutorial.html&lt;/a&gt;랩&lt;/p&gt;</description>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/127</guid>
      <comments>https://dev-claztec.tistory.com/127#entry127comment</comments>
      <pubDate>Mon, 27 Aug 2012 10:45:21 +0900</pubDate>
    </item>
    <item>
      <title>GAE coffee shop 예제 CRUD</title>
      <link>https://dev-claztec.tistory.com/109</link>
      <description>&lt;table key=&quot;0X8Nx&quot; category=&quot;book_detail&quot; openpost=&quot;false&quot; width=&quot;374&quot; height=&quot;105&quot; cellpadding=&quot;12&quot; cellspacing=&quot;0&quot; border=&quot;0&quot; style=&quot;border:1px #F3F3F3 solid; background-color:#ffffff; line-height:16px !important;&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td style=&quot;padding-bottom:0px&quot;&gt;
 &lt;table width=&quot;350&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;0&quot;&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td width=&quot;68&quot; valign=&quot;top&quot;&gt;&lt;a href=&quot;http://book.daum.net/detail/book.do?bookid=KOR9788991268715&quot; target=&quot;_blank&quot;&gt;&lt;img width=&quot;55&quot; height=&quot;80&quot; src=&quot;http://book.daum-img.net/R72x100/KOR9788991268715&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/td&gt;
 
  &lt;td width=&quot;12&quot;&gt;&lt;/td&gt;
  &lt;td width=&quot;278&quot; valign=&quot;top&quot;&gt;
   &lt;table width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; border=&quot;0&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;th height=&quot;18&quot; colspan=&quot;2&quot; align=&quot;left&quot; valign=&quot;top&quot;&gt;
     &lt;font style=&quot;font-size:12px; font-weight:bold; color:#333333; font-family:굴림,gulim,sans-serif;&quot;&gt;&lt;a style=&quot;color:#333333 !important;text-decoration:none !important;&quot; href=&quot;http://book.daum.net/detail/book.do?bookid=KOR9788991268715&quot; target=&quot;_blank&quot;&gt;구글앱엔진시작하기&lt;/a&gt;&lt;/font&gt;
    &lt;/th&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;55&quot; height=&quot;18&quot; align=&quot;left&quot; valign=&quot;top&quot;&gt;
     &lt;font style=&quot;font-size:12px; color:#999999; font-family:굴림,gulim,sans-serif; line-height:1.4;&quot;&gt;카테고리&lt;/font&gt;
    &lt;/td&gt;
    &lt;td height=&quot;18&quot; align=&quot;left&quot; valign=&quot;top&quot;&gt;
     &lt;span style=&quot;display:block; float:left; height:14px; overflow:hidden; text-overflow:ellipsis;&quot;&gt;&lt;font style=&quot;font-size:12px; color:#333333; font-family:굴림,gulim,sans-serif; line-height:1.4;&quot;&gt;컴퓨터/IT &amp;gt; 프로그래밍/언어 &amp;gt; JAVA &amp;gt; JAVA일반&lt;/font&gt;&lt;/span&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width=&quot;55&quot; height=&quot;36&quot; align=&quot;left&quot; valign=&quot;top&quot;&gt;
     &lt;font style=&quot;font-size:12px; color:#999999; font-family:굴림,gulim,sans-serif; line-height:1.4;&quot;&gt;지은이&lt;/font&gt;
    &lt;/td&gt;
    &lt;td height=&quot;36&quot; align=&quot;left&quot; valign=&quot;top&quot;&gt;
     &lt;span style=&quot;display:block; float:left; height:14px; overflow:hidden; text-overflow:ellipsis;&quot;&gt;&lt;font style=&quot;font-size:12px; color:#333333; font-family:굴림,gulim,sans-serif; line-height:1.4;&quot;&gt;박상엽 (인사이트, 2010년)&lt;/font&gt;&lt;/span&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td colspan=&quot;2&quot; align=&quot;left&quot; valign=&quot;top&quot;&gt;
     &lt;a style=&quot;padding:0px 5px 0px 0px; background:url(http://deco.daum-img.net/contents/info/ic_more.gif) no-repeat 100% 3px; font-size:11px; color:#999999 !important; font-family:돋움,dotum,verdana; text-decoration:underline;&quot; href=&quot;http://book.daum.net/detail/book.do?bookid=KOR9788991268715&quot; target=&quot;_blank&quot;&gt;상세보기&lt;/a&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;/tbody&gt;&lt;/table&gt;
  &lt;/td&gt;
 
 &lt;/tr&gt;
&lt;/tbody&gt;
 &lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;
coffee shop 예제.&lt;br /&gt;
CRUD 의 예제를 보여주어 좋았다. 구글 맵을 연동하는 것도 재미있었다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/157A15354D48D7221D&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F157A15354D48D7221D&quot; width=&quot;710&quot; height=&quot;697&quot; alt=&quot;&quot; filename=&quot;6.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;1. Google Map API&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
구글 맵 API version 3 이 나왔다. 3은 key 가 필요 없다. API 도 한글로 잘 되어 있어 쉽게 사용할 수 있었다.&lt;br /&gt;
http://code.google.com/intl/ko-KR/apis/maps/documentation/javascript/&lt;br /&gt;
하는 김에 API 사이트에 예제로 나와있는 현재 위치를 가져오는 코드를 넣었다. IP로 위치를 가져오는 크롬에서는 알아서 현재 위치를 찾아준다.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2. jQuery&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
jQuery는 구글 jsapi 를 사용하지 않고 바로 링크걸어 사용하였다. 1.5 버전이 나왔다. jQuery가 하는일은 그리 없다. 페이지 로드시 스크립트가 실행되는 정도.&lt;br /&gt;
http://code.jquery.com/jquery-1.5.min.js&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;3. mudule import&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
예제에 shop &amp;gt; model &amp;gt; coffeeuser.py 이런식으로 model 디렉토리를 만들어 사용하는데 __init__.py 파일이 있어야 모듈로 인식한다. 간단하지만 이걸로 고생했다.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;4. 오타&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
책 예제에 오타가 있다. 그래서 예제를 그대로 타이핑 하면 고생한다. 샘플 예제 파일을 보면서 따라하는게 편하다.&lt;br /&gt;
&lt;br /&gt;
예제를 따라해보니 어떤 식으로 구성이 되는지 감이 온다. django와 appengine의 함수들이 자세한 설명이 없어 이 부분은 따로 익혀야 될 것 같다.&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/1453054D4D48DAFA13&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/zip.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;coffee-shop.zip&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;</description>
      <category>GAE</category>
      <category>Google App Engine</category>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/109</guid>
      <comments>https://dev-claztec.tistory.com/109#entry109comment</comments>
      <pubDate>Wed, 2 Feb 2011 13:13:28 +0900</pubDate>
    </item>
    <item>
      <title>GAE 데이터스토어 연결</title>
      <link>https://dev-claztec.tistory.com/108</link>
      <description>&lt;table key=&quot;0X8Nx&quot; category=&quot;book_detail&quot; openpost=&quot;false&quot; style=&quot;border: 1px solid rgb(243, 243, 243); background-color: rgb(255, 255, 255); line-height: 16px ! important;&quot; width=&quot;374&quot; border=&quot;0&quot; cellpadding=&quot;12&quot; cellspacing=&quot;0&quot; height=&quot;105&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td style=&quot;padding-bottom: 0px;&quot;&gt;
 &lt;table width=&quot;350&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td valign=&quot;top&quot; width=&quot;68&quot;&gt;&lt;a href=&quot;http://book.daum.net/detail/book.do?bookid=KOR9788991268715&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;http://book.daum-img.net/R72x100/KOR9788991268715&quot; width=&quot;55&quot; border=&quot;0&quot; height=&quot;80&quot;&gt;&lt;/a&gt;&lt;/td&gt;
 
  &lt;td width=&quot;12&quot;&gt;&lt;/td&gt;
  &lt;td valign=&quot;top&quot; width=&quot;278&quot;&gt;
   &lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;th colspan=&quot;2&quot; valign=&quot;top&quot; align=&quot;left&quot; height=&quot;18&quot;&gt;
     &lt;font style=&quot;font-size: 12px; font-weight: bold; color: rgb(51, 51, 51); font-family: 굴림,gulim,sans-serif;&quot;&gt;&lt;a style=&quot;color: rgb(51, 51, 51) ! important; text-decoration: none ! important;&quot; href=&quot;http://book.daum.net/detail/book.do?bookid=KOR9788991268715&quot; target=&quot;_blank&quot;&gt;구글앱엔진시작하기&lt;/a&gt;&lt;/font&gt;
    &lt;/th&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td valign=&quot;top&quot; width=&quot;55&quot; align=&quot;left&quot; height=&quot;18&quot;&gt;
     &lt;font style=&quot;font-size: 12px; color: rgb(153, 153, 153); font-family: 굴림,gulim,sans-serif; line-height: 1.4;&quot;&gt;카테고리&lt;/font&gt;
    &lt;/td&gt;
    &lt;td valign=&quot;top&quot; align=&quot;left&quot; height=&quot;18&quot;&gt;
     &lt;span style=&quot;display: block; float: left; height: 14px; overflow: hidden;&quot;&gt;&lt;font style=&quot;font-size: 12px; color: rgb(51, 51, 51); font-family: 굴림,gulim,sans-serif; line-height: 1.4;&quot;&gt;컴퓨터/IT &amp;gt; 프로그래밍/언어 &amp;gt; JAVA &amp;gt; JAVA일반&lt;/font&gt;&lt;/span&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td valign=&quot;top&quot; width=&quot;55&quot; align=&quot;left&quot; height=&quot;36&quot;&gt;
     &lt;font style=&quot;font-size: 12px; color: rgb(153, 153, 153); font-family: 굴림,gulim,sans-serif; line-height: 1.4;&quot;&gt;지은이&lt;/font&gt;
    &lt;/td&gt;
    &lt;td valign=&quot;top&quot; align=&quot;left&quot; height=&quot;36&quot;&gt;
     &lt;span style=&quot;display: block; float: left; height: 14px; overflow: hidden;&quot;&gt;&lt;font style=&quot;font-size: 12px; color: rgb(51, 51, 51); font-family: 굴림,gulim,sans-serif; line-height: 1.4;&quot;&gt;박상엽 (인사이트, 2010년)&lt;/font&gt;&lt;/span&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td colspan=&quot;2&quot; valign=&quot;top&quot; align=&quot;left&quot;&gt;
     &lt;a style=&quot;padding: 0px 5px 0px 0px; background: url(&amp;quot;http://deco.daum-img.net/contents/info/ic_more.gif&amp;quot;) no-repeat scroll 100% 3px transparent; font-size: 11px; color: rgb(153, 153, 153) ! important; font-family: 돋움,dotum,verdana; text-decoration: underline;&quot; href=&quot;http://book.daum.net/detail/book.do?bookid=KOR9788991268715&quot; target=&quot;_blank&quot;&gt;상세보기&lt;/a&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;/tbody&gt;&lt;/table&gt;
  &lt;/td&gt;
 
 &lt;/tr&gt;
&lt;/tbody&gt;
 &lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;
6장 데이터스토어 실습한 내용을 정리하였다.&lt;br /&gt;
&lt;br /&gt;
로컬 환경에서 데이터베이스를 사용하기 위해서는 데이터스토어 위치를 꼭 정해줘야 할 것 같다. 데이터스토어 위치를 설정하지 않고 왜 안되지를 고민했다.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;1. --gee-datestore 설정&lt;/span&gt;&lt;br /&gt;
nose를 돌릴때 콘솔에서 아래와 같이 --gae-datastore 옵션을 주어 data 파일을 생성한다. data는 이름이니 마음데로 정하면 된다.&lt;br /&gt;
&lt;br /&gt;
nosetests -v --with-gae --gae-lib-root=&quot;C:\Program Files\Google\google_appengine&quot; --gae-datastore=&quot;d:\workspace\coffee-shop\data&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;2. Launcher 설정 &lt;/span&gt;&lt;br /&gt;
&lt;blockquote&gt;여기서 개발 서버를 실행할 때 데이터저장소는 테스트 케이스와 같은 경로를 사용해야 함을 기억해야 합니다. dev_appserver.py를 실행할 때 --datastore_path 옵션을 이용해 경로를 지정합니다.&lt;br /&gt;
&lt;/blockquote&gt;datastore를 지정해 주고 나서 이 말의 뜻을 이해할 수 있었다.&lt;br /&gt;
런처에 --datestore_path로 앞서 생성한 data 파일 경로를 입력하였다.&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/172F34494D46794B22&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F172F34494D46794B22&quot; width=&quot;639&quot; height=&quot;604&quot; alt=&quot;&quot; filename=&quot;1.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;3. 확인&lt;/span&gt;&lt;br /&gt;
서버를 띄우고 http://localhost:port/_ah/admin 로 확인 (port 에는 8080 과 같은 포트 번호를 입력한다.)&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/165EC64A4D4679C230&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F165EC64A4D4679C230&quot; width=&quot;710&quot; height=&quot;697&quot; alt=&quot;&quot; filename=&quot;2.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
이제 책에서 설명한 내용이 보인다.&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/184578484D467B9926&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/zip.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;coffee-shop.zip&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</description>
      <category>GAE</category>
      <category>Google App Engine</category>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/108</guid>
      <comments>https://dev-claztec.tistory.com/108#entry108comment</comments>
      <pubDate>Mon, 31 Jan 2011 17:59:40 +0900</pubDate>
    </item>
    <item>
      <title>GAE 테스트, nose 설치</title>
      <link>https://dev-claztec.tistory.com/106</link>
      <description>&lt;table key='0X8Nx' category='book_detail' openpost='false' width='374' height='105' cellpadding='12' cellspacing='0' border='0' style='border:1px #F3F3F3 solid; background-color:#ffffff; line-height:16px !important;'&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td style='padding-bottom:0px'&gt;
 &lt;table width='350' cellpadding='0' cellspacing='0' border='0'&gt;
 &lt;tbody&gt;&lt;tr&gt;
  &lt;td width='68' valign='top'&gt;&lt;a href='http://book.daum.net/detail/book.do?bookid=KOR9788991268715' target='_blank'&gt;&lt;img width='55' height='80' src='http://book.daum-img.net/R72x100/KOR9788991268715' border='0'/&gt;&lt;/a&gt;&lt;/td&gt;
 
  &lt;td width='12'&gt;&lt;/td&gt;
  &lt;td width='278' valign='top'&gt;
   &lt;table width='100%' cellpadding='0' cellspacing='0' border='0'&gt;
   &lt;tbody&gt;&lt;tr&gt;
    &lt;th height='18' colspan='2' align='left' valign='top'&gt;
     &lt;font style='font-size:12px; font-weight:bold; color:#333333; font-family:굴림,gulim,sans-serif;'&gt;&lt;a style='color:#333333 !important;text-decoration:none !important;' href='http://book.daum.net/detail/book.do?bookid=KOR9788991268715' target='_blank'&gt;구글앱엔진시작하기&lt;/a&gt;&lt;/font&gt;
    &lt;/th&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width='55' height='18' align='left' valign='top'&gt;
     &lt;font style='font-size:12px; color:#999999; font-family:굴림,gulim,sans-serif; line-height:1.4;'&gt;카테고리&lt;/font&gt;
    &lt;/td&gt;
    &lt;td height='18' align='left' valign='top'&gt;
     &lt;span style='display:block; float:left; height:14px; overflow:hidden; text-overflow:ellipsis;'&gt;&lt;font style='font-size:12px; color:#333333; font-family:굴림,gulim,sans-serif; line-height:1.4;'&gt;컴퓨터/IT &gt; 프로그래밍/언어 &gt; JAVA &gt; JAVA일반&lt;/font&gt;&lt;/span&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td width='55' height='36' align='left' valign='top'&gt;
     &lt;font style='font-size:12px; color:#999999; font-family:굴림,gulim,sans-serif; line-height:1.4;'&gt;지은이&lt;/font&gt;
    &lt;/td&gt;
    &lt;td height='36' align='left' valign='top'&gt;
     &lt;span style='display:block; float:left; height:14px; overflow:hidden; text-overflow:ellipsis;'&gt;&lt;font style='font-size:12px; color:#333333; font-family:굴림,gulim,sans-serif; line-height:1.4;'&gt;박상엽 (인사이트, 2010년)&lt;/font&gt;&lt;/span&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;tr&gt;
    &lt;td colspan='2' align='left' valign='top'&gt;
     &lt;a style='padding:0px 5px 0px 0px; background:url(http://deco.daum-img.net/contents/info/ic_more.gif) no-repeat 100% 3px; font-size:11px; color:#999999 !important; font-family:돋움,dotum,verdana; text-decoration:underline;' href='http://book.daum.net/detail/book.do?bookid=KOR9788991268715' target='_blank'&gt;상세보기&lt;/a&gt;
    &lt;/td&gt;
   &lt;/tr&gt;
   &lt;/table&gt;
  &lt;/td&gt;
 
 &lt;/tr&gt;
&lt;/tbody&gt;
 &lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;&lt;/tbody&gt;
&lt;/table&gt;
&lt;br /&gt;windows 7에서 nose를 설치하였다.&lt;br /&gt;
책에서는 리눅스 환경에서 설치하는 방법이라 간단하지만 윈도우에서는 한참 해맸다.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;1. setuptools 설치&lt;/span&gt;&lt;br /&gt;
http://pypi.python.org/pypi/setuptools&lt;br /&gt;
Google App Engine을 위한것이라 &lt;span style=&quot;white-space: nowrap;&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c11.win32-py2.5.exe#md5=cb0cd7b844bed5106aeb0d4583848b1f&quot;&gt;setuptools-0.6c11.win32-py2.5.exe&lt;/a&gt; 를 설치하였다.&lt;br /&gt;
setuptools를 설치해야 나머지 것들을 설치할 수 있다.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/144220484D453EA311&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F144220484D453EA311&quot; width=&quot;710&quot; height=&quot;678&quot; alt=&quot;&quot; filename=&quot;1.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/154220484D453EA312&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F154220484D453EA312&quot; width=&quot;608&quot; height=&quot;389&quot; alt=&quot;&quot; filename=&quot;2.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/164220484D453EA313&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F164220484D453EA313&quot; width=&quot;608&quot; height=&quot;391&quot; alt=&quot;&quot; filename=&quot;3.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;2. NoseGAE 설치&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
http://pypi.python.org/pypi/NoseGAE/&lt;br /&gt;
압축을 풀고 setup.py가 있는 위치에서 python setup.py install 을 실행한다.&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/174220484D453EA314&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F174220484D453EA314&quot; width=&quot;677&quot; height=&quot;1114&quot; alt=&quot;&quot; filename=&quot;4.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;3. &lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;WebTest 설치&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
http://pypi.python.org/pypi/WebTest/&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/194220484D453EA415&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F194220484D453EA415&quot; width=&quot;677&quot; height=&quot;1130&quot; alt=&quot;&quot; filename=&quot;5.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;4. Nose 설치&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
nosetests 명령이 되지 않아 nose도 설치하였다. 명령이 실행되지 않는것은 환경변수 문제였기 때문에 설치를 안해도 될듯하다. 일단 설치는 하였다.&lt;br /&gt;
http://code.google.com/p/python-nose/downloads/list&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: 11pt; font-weight: bold;&quot;&gt;5. 환경변수 설정&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/203605354D4540EE0D&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F203605354D4540EE0D&quot; width=&quot;710&quot; height=&quot;668&quot; alt=&quot;&quot; filename=&quot;6.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
PYTHON_HOME을 만들어 파이썬이 설치된 경로를 추가하였다. C:\Python25&lt;br /&gt;
그리고 시스템 변수 Path를 편집해 아래의 경로를 추가하였다. 핵심은 scripts를 추가하는 것이다. &lt;br /&gt;
%PYTHON_HOME%;%PYTHON_HOME%\scripts;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;6. 테스트&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
GAE 어플리케이션이 설치된 경로에서 nosetests를 실행한다.&lt;br /&gt;
이클립스에서 등록한 후 실행하는게 편할 것 같다.&lt;br /&gt;
뒤에 --gae-lib-root는 sdk가 설치된 경로.&lt;br /&gt;
&lt;span style=&quot;font-family: monospace;&quot;&gt;nosetests -v --with-gae --gae-lib-root=&quot;C:\Program Files\Google\google_appengine&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;img src=&quot;https://t1.daumcdn.net/cfile/tistory/192CA6524D45429320&quot; srcset=&quot;https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&amp;fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F192CA6524D45429320&quot; width=&quot;677&quot; height=&quot;442&quot; alt=&quot;&quot; filename=&quot;7.png&quot; filemime=&quot;image/jpeg&quot;/&gt;&lt;/div&gt;
&lt;br /&gt;
드디어 OK. 성공이다.&lt;br /&gt;
&lt;div class=&quot;imageblock center&quot; style=&quot;text-align: center; clear: both;&quot;&gt;&lt;a href=&quot;https://t1.daumcdn.net/cfile/tistory/1321FD344D4543FC29&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/zip.gif&quot; style=&quot;vertical-align: middle;&quot; onerror=&quot;this.onerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';&quot;/&gt;coffee-shop.zip&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <category>Google App Engine</category>
      <author>dopio double</author>
      <guid isPermaLink="true">https://dev-claztec.tistory.com/106</guid>
      <comments>https://dev-claztec.tistory.com/106#entry106comment</comments>
      <pubDate>Sun, 30 Jan 2011 19:52:14 +0900</pubDate>
    </item>
  </channel>
</rss>