« Previous : 1 : 2 : 3 : 4 : Next »

아이폰 위치 정보 테스트

명동 롯데 영플라자 건너편에서 아이폰으로 테스트를 해봤습니다.

사용자 삽입 이미지
대략 위와 같은 사진을 찍을 수 있는 위치에서 테스트 해보았는데요
사용자 삽입 이미지
조오금~ 아쉽긴 하지만 그래도 비슷하게 나오는군요 ^^

다시 한번 살짝 움직여서 시도해봤습니다.
사용자 삽입 이미지
위와 같은 사진이 찍히는 곳에서 했더니...
사용자 삽입 이미지
갑자기 순간이동을 했군요~

아무튼 아이폰 위치 정보가지고 노는 것 참 재미있네요 :-)

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/12/17 22:18 2009/12/17 22:18
, , ,
Response
200 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/43

신림 정말 맛있는 곱창집

제가 먹어본 곱창 중에서는 BEST에 드는 신림동 구석에 숨어있는 집입니다.
가게 이름은 안성 곱창으로 기억하는데요 ^^; 가격은 1인분에 12000원합니다.
 
가서 잠깐 앉아서 기다리고 있으면 친절하신 주인 아저씨가 어느정도 구워서 줍니다.
사용자 삽입 이미지
사용자 삽입 이미지
염통, 막창, 대창이 좀 나오고요. 주인아저씨가 항상 염통을 먼저 먹으러고 설명해주신답니다.

그리고 메인이 나오기전엔 항상 천엽과 생간이 나오지요
사용자 삽입 이미지

사진은 아이폰군이 수고해주셨습니다~

 
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/12/17 22:06 2009/12/17 22:06
, ,
Response
No Trackback , No Comment
RSS :
http://corpseplay.com/rss/response/42

아이폰을 구매후 해야할 것

한 블로그에 잘 정리된 내용이 있어 담아봅니다.
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/12/16 15:02 2009/12/16 15:02
,
Response
203 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/41

FREB: LOG_FILE_MAX_SIZE_TRUNCATE

Windows 2008 IIS7에서 Classic ASP를 운영하고 있습니다.
요즘 실패한 요청 규칙 추적(Failed Request Tracing, Failed Request Event Buffering)을 애용하고 있는 중입니다. 클라이언트에서 발생한 오류를 자세하게 표시해 주니 좋더라구요.

저장된 로그 파일을 보는 중에 LOG_FILE_MAX_SIZE_TRUNCATE 이라는 경고를 보게 되었는데요.

이것은 메세지가 뜻하는 그대로 추적 로그를 만들다가 최대 크게를 초과해서 나타난 것입니다.

실제로 로그를 보면 특정 부분부터 메시지가 없을 것입니다. (짤린거죠)

FREB에서는 최대 크기 기본 값이 512KB라는군요.

아래 처럼하면 그 크기를 변경할 수 있습니다. (1024KB)
필요에 따라서 값을 조정하면 되겠죠 ^^
cd /d "%windir%\system32\inetsrv"
appcmd set config /section:sites-siteDefaults.traceFailedRequestsLogging.maxLogFileSizeKB:1024

아래 주소의 글을 보면 좀 더 자세히 볼 수 있습니다. (영문)
http://blogs.iis.net/robert_mcmurray/archive/2008/03/08/freb-log-file-max-size-truncate.aspx
크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/04/07 16:07 2009/04/07 16:07
, , , ,
Response
188 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/40

강순권님의 블로그 글을 보고 저도 한글 Trac 0.10.4에서 Gantt 한글화를 해봤습니다.
OS는 우분투(Ubuntu) 리눅스입니다

1. Download - 0.10 버전으로 다운로드를 했습니다.
# cd /usr/local/src
# svn co http://svn.sourceforge.jp/svnroot/shibuya-trac/plugins/ganttcalendarplugin/branches/0.10/
# mv 0.10 ganttcalendarplugin
2. 한글화 작업
총 4개의 파일을 수정해야합니다. 아래와 같습니다
ganttcalendar/ticketcalendar.py
ganttcalendar/ticketgantt.py
ganttcalendar/templates/calendar.cs
ganttcalendar/templates/gantt.cs
UTF-8 인코딩으로 파일을 열어서 보면 일본어로 되어있는 부분들이 있습니다. 이걸 적당히 수정해 주면 됩니다. ex. 日 → 월, イルストーン → Milstone
글에 다 쓰긴 그렇고 첨부파일로 업로드~





3. 설치
easy_install을 이용하여 간단히 설치했습니다.
# cd /usr/local/src/ganttcalendarplugin
# easy install .
4. 설정
trac.ini을 아래 처럼 수정해줍니다. 강순권님 글에서 datefieldplugin 설정 부분을 제거했습니다. 사실 저는 datefieldplugin도 사용해서 이 글의 내용처럼 설정을 했지요
[components]
ganttcalendar.ticketcalendar.* = enabled
ganttcalendar.ticketgantt.* = enabled

[ticket-custom]
complete = select
complete.label = % Complete
complete.options = 0|5|10|15|20|25|30|35|40|45|50|55|60|65|70|75|80|85|90|95|100
complete.order = 3
due_assign = text
due_assign.label = Start (YYYY/MM/DD)
due_assign.order = 1
due_close = text
due_close.label = End (YYYY/MM/DD)
due_close.order = 2
그리고 서비스 (apache 또는 trac)를 재시작해 줍니다. 안그러면 적용이 안되기도 하더군요

아래는 설치 스샷~ (윗부분은 짜름 ^^; )

사용자 삽입 이미지
사용자 삽입 이미지




크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/03/12 10:45 2009/03/12 10:45
, , , ,
Response
89 Trackbacks , 2 Comments
RSS :
http://corpseplay.com/rss/response/39

SVN Ignore pattern

개인적으로 vim, eclipse 로 요즘 웹 개발을 하고 있습니다.
SVN을 사용하면서 일반적으로 아래의 제외/무시 패턴을 사용하면 불필요한 파일은 Commit하지 않게 됩니다.
~* *~ * *.bak .* *.class Thumbs.db *.tmp *.~* _*.*

Visual Studio 개발시에는 아래 항목도 추가..
*/debug *\debug */Debug *\Debug */Release *\Release */release *\release *.obj *.pdb *.pch *.ncb *.suo  *.~ml *.o *.exec


크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2009/02/20 10:41 2009/02/20 10:41
, ,
Response
4 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/38

다음 위젯뱅크에서 온오프믹스 위젯을 쓰려고 제 블로그에 퍼왔답니다.

아니! 근데 이게 왠일... 제목만 보이게 하고 싶어서 다른 설정을 다 제거하고 확인을 해봤더니! 위젯 아래쪽에 여백이 훵~하니 생겨버린겁니다. ㅠ_ ㅠ

그래서 확인해보니까.. 위젯 뱅크의 iFrame영역은 고정되어있는데 그 안에서 위젯 내용만 줄어든 거였더라구요~ (사실은 만든 사람이 누군지 알아서 쉽게 알고 있는..)

하지만 방법은 있습니다. 위젯 뱅크에서 퍼올때 아래와 같은 코드가 있을겁니다.
<script src="http://widgetprovider.daum.net/view?url=http://widgetcfs1.daum.net/xml/16/widget/2008/09/24/15/28/48d9de0cd3a6e.xml&up_WidgetStyle=A&up_Category=00&up_Username=&up_HideDateLocation=true&up_HideStatus=true&up_HideBottom=true&&width=166&height=350&widgetId=122&scrap=1" type="text/javascript"></script>
여기서 height=350 부분을 아래처럼 적당히 수정하는거죠!
이미 제 블로그에는 그렇게 되어있답니다 :-)
<script src="http://widgetprovider.daum.net/view?url=http://widgetcfs1.daum.net/xml/16/widget/2008/09/24/15/28/48d9de0cd3a6e.xml&up_WidgetStyle=A&up_Category=00&up_Username=&up_HideDateLocation=true&up_HideStatus=true&up_HideBottom=true&&width=166&height=200&widgetId=122&scrap=1" type="text/javascript"></script>
많은 분들에게 도움이 되었으면 좋겠군요. ^^

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2008/10/24 14:43 2008/10/24 14:43
, , ,
Response
No Trackback , No Comment
RSS :
http://corpseplay.com/rss/response/36

이번에 회사에서 블로그를 운영한다고 아이네임즈에서 웹 호스팅을 받고, TextCube를 설치하였답니다. 그런데, 글쓰기에서 파일 업로드가 되지 않는거에요. 그래서 디버깅을 해보니까.... 이상하게도 SWF Uploader에서만 403 에러를 뱉는 것이었습니다.. (정확하게는 302 -> http://error.uhost.co.kr/stop/403_Error_Page.html 이동)

그래서 호스팅업체에 문의해서 확인해 보니까 웹 방화벽님께서 막아주시더군요.
아무튼 이렇게 저렇게 테스트 해보니까 SWF Upload가 될 경우에는 방화벽에서 막히고, FF나 IE 등에서 업로드 될 경우엔 막히지 않더군요.

그래서 일단 해결책으로 config.php 에서 $service['flashuploader'] = false; 를 설정하여 해결을 했습니다.

웹방화벽에서 막은 이유는 "... request body: Multipart: final boundary missing ..."이라는데 SWF에서 업로드 될 경우엔 마지막 부스래기가 빠진건지.. 나원참... -_-;

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2008/10/24 14:37 2008/10/24 14:37
, ,
Response
84 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/35

gvim을 사용하다가 몇가지 맘에는 컬러 스키마중에서 고민이 되더라구요.
그러다가 random colors vim 으로 검색을 했더니 짠 하고 나오는게 있더군요.

아래 코드를 vimrc 에 등록하고 gvim 을 다시 켜보면! 랜덤하게 색상이 변경되는 것을 볼 수 있습니다.

" Create the comma-separated list of colorscheme files
let s:colors = substitute(globpath(&runtimepath, 'colors/*.vim'), '\n', ',', 'g')
if strlen(s:colors)
  " Count the number of color schemes
  let s:num = strlen(substitute(s:colors, '[^,]\+', '', 'g')) + 1
  if s:num > 1
    let s:loop = localtime() % s:num
    " Rotate the list s:loop times
    while s:loop
      let s:colors = substitute(s:colors, '^\([^,]\+\),\(.*\)$', '\2,\1', '')
      let s:loop = s:loop - 1
    endwhile
  endif
  let s:color = matchstr(s:colors, '^[^,]\+')
  unlet! g:colors_name
  execute 'source' s:color
  " Prevent the message from disappearing
  redraw
  " 스킨이름을 보고 싶으면 아래 주석을 푸세요~
  "echomsg 'Color applied: '.(exists('g:colors_name') ? g:colors_name : '').' ('.s:color.')'
endif
unlet! s:colors s:color s:num s:loop
[edit] - [startup settings] 에 등록하시고 :wq! 하고 실행하면 짠~ 하고 계속 바뀝니다 ^^

출처 : http://vim.wikia.com/wiki/Set_a_random_color_scheme_at_startup

크리에이티브 커먼즈 라이센스
Creative Commons License

Posted by dino

2008/10/23 16:36 2008/10/23 16:36
, , ,
Response
219 Trackbacks , No Comment
RSS :
http://corpseplay.com/rss/response/34