VC++ TCHAR string copy example TCHAR szUpdater[MAX_PATH] = {0}; _stprintf_s(szUpdater, L"%s%s\\%s", g_Define->drive, g_Define->dir, UPDATER_APP_NAME); ShellExecute(NULL, NULL, szUpdater, NULL, NULL, SW_SHOWNORMAL); vc 에서 유니코드땜에 이런일을 많이 한다. 프로그램 2010.07.09
jQuery Search 구현 초간단... Search 함수 구현 $(document).ready(function() { //apply fancybox to each of the elements, passing in the correct size $('#search-go').click(function() { var searchTerm = $('#search-input').val(); if (searchTerm.length > 0) window.location.href = '/us/search?q=' + escape(searchTerm); return false; }); $('#search-input').bind('keypress', function(e) { if (e.keyCode == 13) { var searchTerm = $('.. 프로그램/jQuery 2010.06.27
jQuery memo dialog example 오늘 만든건데.. 계속 버전업할 생각 입니다..... 한번 사용해 보세요 ㅋㅋㅋ //----------------------------------------------- // my JQuery UI Dialog Maker by Mulder //----------------------------------------------- // opt.dlgid // opt.title // opt.txtid // opt.cols // opt.rows // opt.width // opt.height // opt.savefunc // opt.prologue // opt.deftext : default text var gxPrebuildedDlg = new Array(); makeMemoDialogEx = function.. 프로그램/jQuery 2010.06.24
tomcat utf-8 setup maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" bufferSize="2048" maxProcessors="350" minProcessors="5"/> port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> --> T.. 프로그램/java 2010.06.13
mysql utf8 설정하기 퍼온글 : http://blog.daum.net/_blog/BlogView.do?blogid=0HOUi&articleno=6030189#ajax_history_home utf8 + struts2 + mysql5 + jsp 여기에서 한글이 문제인 경우 아래의 해법을 참조 한다 1. 우선 있을지 모르는 오류를 대비해 설정파일을 백업합니다. $sudo cp /etc/mysql/my.cnf /etc/mysql/my.cnf.orig 2. my.cnf 파일을 다음과 같이 편집해줍니다.(각 항목에 추가만 해주시면 됩니다.) [client] default-character-set=utf8 [mysqld] character-set-client-handshake=FALSE init_connect="SET collation.. 프로그램/database 2010.06.07
jQuery 에서 cookie 사용하기 먹는 cookie 아님... http://plugins.jquery.com/files/jquery.cookie.js.txt /** * Cookie plugin * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ /** * Create a cookie with the given name and value and other optional parameters. * * @example $.cookie('the_cook.. 프로그램/jQuery 2010.06.04
Howto: Remote Root Access to MySql Very quickly, another thing that I typically like to do on my server boxes is allow root access to my Mysql database from remote computers. I don’t forward the port through my router and I use a very secure password (doesn’t everyone?). I don’t want to create a security risk, I just want to connect to the database from other computers around my network – particularly from my laptop. Again (like .. 프로그램/database 2010.05.31
jqGrid ... 저도 캐 공감 합니다. jqMagic 이라는 블로그가 있는데, 저와 비슷한 생각입니다.. http://www.jquerymagic.com/2009/06/jqgrid-now-powered-by-jquery-ui-wow/ 프로그램/jQuery 2010.05.25
jQuery.. before and after ... 사진 초대박 http://www.jquerymagic.com/2009/10/jquery-before-after/ 참 재미 있는 사진 입니다... before and after ... 이용하기전이 왼쪽,,,, 우측은 이용한후.... 프로그램/jQuery 2010.05.25
apache2.2 + tomcat6 연동 (펌) 원본 : http://www.okjsp.pe.kr/seq/147782 아직 테스트는 하직 안았지만. 나름 좋은 글 같습니다. APACHE update: ------------------------------------------------------------------------------------------------------------ Apache download: http://httpd.apache.org/ Latest version http://httpd.apache.org/download.cgi ** 윈도우 비스타에서는 아파치 서버가 제대로 설치가 되지 않는다 설치시에는 별 이상없이 설치가 완료되지만 실제로 서버를 구동하면 에러가 발생한다 비스타에는 UAC란 장치가 있는데 이 UAC가 윈도.. 프로그램 2010.05.24