BLOG main image
분류 전체보기 (29)
이야기 (14)
코드 (5)
스압쥘 (6)
에라모르겠다 (2)
11,269 Visitors up to today!
Today 8 hit, Yesterday 1 hit
daisy rss
tistory 티스토리 가입하기!
'스압쥘'에 해당되는 글 6건
2011/10/10 18:23

IE9은 ajax호출을 자체 판단으로 캐싱해서 안보내는 경우가 있다. -_-;;
(건방지게스리..브라우저 주제에 쏘라면 쏘는거지..)

그래서 간혹 비동기(
asynchronous)가 아닌 동기(synchronous) 방식으로 ajax를 호출하다
캐싱에 걸리는 경우..브라우저가 뇌사('응답 없음..')상태로 빠지게 된다.

이를 해결하기 위해서는, 헤더 값을 조정하거나 ajax호출하는 url에 타임스탬프 값을 찍어 다른 url로 인식시키면 된다. (via http://stackoverflow.com/questions/5996702/ajax-problem-in-ie9)

header( 'Cache-Control: no-store, no-cache, must-revalidate' );
header
( 'Pragma: no-cache' );

ajaxRequest.open("GET", "pull.php?ts=" + new Date().getTime(), true);

저작자 표시
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback Address :: http://blog.kallstoy.net/trackback/38 관련글 쓰기
Name
Password
Homepage
Secret
2010/12/17 18:58
color name color code color view
unknown #000000

black #000000

white #ffffff

default background #ffffff

default background #ffffff

black #010000

red #ff0000

bright green #00ff00

blue #0000ff

yellow #ffff00

pink #ff00ff

turquoise #00ffff

dark red #800000

green #008000

dark blue #000080

dark yellow #808000

violet #808000

teal #008080

grey 25% #c0c0c0

grey 50% #808080

periwinkle% #9999ff

plum #993366

ivory #ffffcc

light turquoise #ccffff

dark purple #660066

coral #ff8080

ocean blue #0066cc

ice blue #ccccff

dark blue #000080

pink #ff00ff

yellow #ffff00

turqoise #00ffff

violet #800080

dark red #800000

teal #008080

blue #0000ff

sky blue #00ccff

light turquoise #ccffff

light green #ccffcc

very light yellow #ffff99

pale blue #99ccff

rose #ff99cc

lavender #cc99ff

tan #ffcc99

light blue #3366ff

aqua #33cccc

lime #99cc00

gold #ffcc00

light orange #ff9900

orange #ff6600

blue grey #6666cc

grey 40% #969696

dark teal #003366

sea green #339966

dark green #003300

olive green #333300

brown #993300

plum #993366

indigo #333399

grey 80% #333333

automatic #ffffff

크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback Address :: http://blog.kallstoy.net/trackback/36 관련글 쓰기
Name
Password
Homepage
Secret
2009/09/19 15:25

회사에서 간단히 쓸 테스트 서버를 데뱐으로 슥삭. 몇년만에 설치하는 데비안인지도 가물가물..;;

오랜만에 써보니 확실히 많이 발전했다.
apt-get autoremove [패키지명] 옵션이 인상적. 의존성 걸린 패키지를 같이 삭제 해준다. 아무 인자를 안주면 의존성 사라진 라이브러리 패키지만 찾아서 제거하는 듯? 그동안 의존성 많은 패키지 깔때는 의존패키지 목록을 일일히 백업해서 지우곤 했었는데..이젠 간편하게 슥삭 ㅋ

non-free 추가해서 sun-java 깔았는데..레니에서 톰캣 의존성이 좀 이상하게 걸려있어서 gcj를 자꾸 깔려고 든다. 수동으로 깔기엔 귀찮고..관련 문서를 찾아보니 좋은 문서(Debian Lenny how to)가 ㅋ 그냥 5.5 건너뛰고 바로 톰캣6을 깔아서 해결. ㅋ

문서를 읽어보니 testing에 있는 일부패키지만 가져다 설치, 사용이 가능하다. 역시 레고블럭 데뱐 ㅋ

간단하게 정리.
  1. 추가 파일 생성 : /etc/apt/sources.list.d/squeeze.list
  2. 내용추가
    deb http://ftp.daum.net/debian squeeze main contrib non-free
    deb-src http://ftp.daum.net/debian squeeze main contrib non-free
  3. 또 새파일 생성 : /etc/apt/preferences
  4. 내용추가( tomcat이랑 의존성 패키지에만 우선권 높이고 나머지는 stable이 우선 되는 듯?)

    Package: *
    Pin: release o=Debian,a=stable
    Pin-Priority: 990
    Package: *
    Pin: release o=Debian,a=testing
    Pin-Priority: 500
    Package: tomcat6,tomcat6-admin,tomcat6-common,libtomcat6-java,libservlet2.5-java
    Pin: release o=Debian,a=testing
    Pin-Priority: 990

  5. apt-get update ( 업데이트 )
  6. apt-get upgrade ( 대부분의 패키지가 버전유지하고 일부 패키지만 upgrade )
  7. apt-get install -t testing tomcat6 (톰캣6 인스톨)
  8. apt-get install -t testing postgresql-8.4 (포스트그레스 8.4 인스톨)
APM( apache, php, mysql )을 사용한다면 dotdeb 추천.
php-gd에서 보안이유로 몇몇 함수가 빠져서 꽤 불편하다( imagerotation, imageconvolution 등등).
mysql버전도 5.1 ㅋ
  1. /etc/apt/sources.list 편집
  2. 내용추가( 일본미러. 다른곳의 미러를 사용하고 싶으면 미러리스트 참조 )
    deb http://download.softagency.net/debian/dotdeb/ stable all
  3. apt-get update ( 업데이트 )
  4. apt-get install mysql-server ( 5.1 자동설치 )
  5. apt-get install php5-apc php5-gd ( php관련 이것저것 설치.. )
끗. Debian GNU/kFreeBSD는 언제쯤 정식으로 나올라나
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback Address :: http://blog.kallstoy.net/trackback/28 관련글 쓰기
Name
Password
Homepage
Secret
2009/08/22 11:26
예전에는 help -> manage 메뉴가 바로 떴었는데

갈릴레오로 넘어가면서 메뉴 위치를 옮겼네..왜 쓸데없는 짓을;

아무튼,

Help -> About eclipse -> Installation details -> 목록에서 필요없는거 고르고 uninstall

끗.
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback Address :: http://blog.kallstoy.net/trackback/26 관련글 쓰기
지편한세상 | 2010/06/27 10:08 | PERMALINK | EDIT/DEL | REPLY
좋은 정보 감사합니다
Name
Password
Homepage
Secret
2009/04/17 01:07
  1. IDC장비의 RAID5번 하드 중 하나가 나감.
  2. 스페어도 같이 나감 -_-; (알고보니 전설의 시게이트 급사하드 모델명 목록에 들어있다..)
  3. 사무실에 있던 남는 하드 하나를 들고 IDC 출동.
  4. 하드를 끼움.
  5. 인식 안됨.
  6. 레이드 관리자를 보니 새로 꽂은 디스크가 새로운 유닛으로 붙어있다.
  7. Remove Unit 으로 제거하고 빼서 다시 꽂아도 같은 증상
  8. Delete Unit 으로 제거하니 기존 유닛에 추가돼서 리빌드 시작..
  9. 추가로 꽂은 하드가 다른 레이드에 들어있던 상태였던것으로 추정.
결론 : 레이드 하드가 나가서 교체할때는
  1. 새하드를 사서 꽂는다.
  2. 싹밀고 새하드처럼 만들어서 꽂는다.
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback Address :: http://blog.kallstoy.net/trackback/21 관련글 쓰기
Name
Password
Homepage
Secret
2008/06/07 01:22

http://www.varesano.net/blog/fabio/installing+flash+player+plugin+firefox+without+having+administrator+access+or+premissions

firefox3 portable 을 사용하고 있었는데 flash가 안깔려서 결국 구글링..

요약해보면
  1. 기존 XPI 플래시 플러그 인을 다운받는다.
  2. 다운 받은 파일 확장자를 zip으로 바꾸거나, 그냥 압축푸는 프로그램으로 파일을 푼다.
  3. flashplayer.xpt, NPSWF32.dll 두개의파일을 firefox portable이 설치된 폴더의 \Data\plugins 폴더에 넣는다.
  4. 불여우 재시작. 끝.
크리에이티브 커먼즈 라이선스
Creative Commons License
Trackback Address :: http://blog.kallstoy.net/trackback/14 관련글 쓰기
Name
Password
Homepage
Secret
prev"" #1 next