<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>초마의 세상사는 이야기</title>
		<link>http://blog.choma.kr/</link>
		<description></description>
		<language>ko</language>
		<pubDate>Thu, 02 Feb 2012 17:24:47 +0900</pubDate>
		<generator>Tistory 1.1 (http://www.tistory.com/)</generator>
		<managingEditor>초마</managingEditor>
		<image>
		<title>초마의 세상사는 이야기</title>
		<url><![CDATA[http://cfile5.uf.tistory.com/image/167A85424EB883CD21CE83]]></url>
		<link>http://blog.choma.kr/</link>
		<description></description>
		</image>
		<item>
			<title>Apache rewite rule</title>
			<link>http://blog.choma.kr/79</link>
			<description>rewite rule 설정때문에 반나절을 잡아먹었다..ㅡ,.ㅡ; fancy url을 사용하기 위해 요청파일이 - 없는 파일이거나 - .php확장자일 경우 - index.php로 redirect시킨다. 위 조건을 만족시키는 거였는데.. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d [OR] RewriteCond %{REQUEST_FILENA..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=25226582&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/79&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Linux</category>
			<category>Apache</category>
			<category>request_filename</category>
			<category>rewrite</category>
			<category>rewrite rule</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/79</guid>
			<comments>http://blog.choma.kr/79#entry79comment</comments>
			<pubDate>Thu, 02 Feb 2012 16:19:57 +0900</pubDate>
		</item>
		<item>
			<title>vi에서 치환할 때 유용한 팁</title>
			<link>http://blog.choma.kr/78</link>
			<description>치환할 패턴에서 &amp;를 이용하면 검색패턴 전체를 선택할 수 있다. 예를 들면 &lt;test&gt; asdf &lt;/test&gt; 위에서 asdf아래 라인에 aaaa를 추가하고 싶을 경우에 %s/asdf\n/&amp;aaaa/g 이렇게 할 수 있고 aaaa다음에 한 줄을 띄우고 싶을 때 \n으로 하면 실제 한 줄이 띄어지진 않고 개행 문자가 표시 되는데 \r로 해주면 된다. %s/asdf\n/&amp;aaaa\r/g 이렇게~&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/78&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Linux</category>
			<category>vi</category>
			<category>정규식</category>
			<category>치환</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/78</guid>
			<comments>http://blog.choma.kr/78#entry78comment</comments>
			<pubDate>Wed, 18 Jan 2012 10:38:15 +0900</pubDate>
		</item>
		<item>
			<title>32bit 플랫폼에서 php로 LFS(large file) 다루기</title>
			<link>http://blog.choma.kr/76</link>
			<description>64bit에서는 php로 아무 설정없이 2G이상의 파일을 컨트롤(fopen, fwrite등) 할 수 있지만 32bit에서는 기본적으로 불가능하다. 이것이 가능하게 하려면 php컴파일 시에 CFLAGS에 -D_FILE_OFFSET_BITS=64를 주고 컴파일을 해야한다. CFLAGS=&quot;-D_FILE_OFFSET_BITS=64&quot; ./configure --with-each-optoins 위와같은 방버으로 말이다. 하지만 php에만 이 옵션을 주고 fope..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=23348477&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/76&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>PHP</category>
			<category>32bit</category>
			<category>CFLAGS</category>
			<category>fopen</category>
			<category>LFS</category>
			<category>PHP</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/76</guid>
			<comments>http://blog.choma.kr/76#entry76comment</comments>
			<pubDate>Fri, 09 Dec 2011 10:04:47 +0900</pubDate>
		</item>
		<item>
			<title>PHP Memcached 연동(펌)</title>
			<link>http://blog.choma.kr/69</link>
			<description>Memcached 사용하기 (편의상 존칭은 생략했습니다. ^^) Memcached 데몬 사이트 : http://www.danga.com/memcached/ 다운로드 : http://memcached.googlecode.com/files/memcached-1.2.8.tar.gz Memcached PHP Extension 사이트 : http://pecl.php.net/package/memcache 다운로드 : http://pecl.php.net/get/..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=22274469&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/69&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Linux</category>
			<category>AutoConf</category>
			<category>memcached</category>
			<category>PHP Extenstion</category>
			<category>PHP memcached</category>
			<category>PHP 확장</category>
			<category>phpize</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/69</guid>
			<comments>http://blog.choma.kr/69#entry69comment</comments>
			<pubDate>Tue, 08 Nov 2011 11:03:19 +0900</pubDate>
		</item>
		<item>
			<title>vim 키정리 &lt;첫번째 - 기본키 정리&gt;</title>
			<link>http://blog.choma.kr/68</link>
			<description>그동안 vi를 써오면서 익힌 단축키를 정리한다. 첫번째로 기본적으로 알고 시작해야 하는 이동/입력/삭제/복사등에 관련된 키들이다. &lt;이동&gt; j - 커서를 아래로 이동 k - 커서를 위로 이동 h - 커서를 왼쪽으로 이동 l - 커서를 오른쪽으로 이동 Ctrl+f - 커서를 한페이지 아래로 이동 Ctrl+b - 커서를 한페이지 위로 이동 Ctrl+d - 커서를 반페이지 아래로 이동 Ctrl+u - 커서를 반페이지 위로 이동 Ctrl+e - 커서고정 상..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=19218397&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/68&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Linux</category>
			<category>vim</category>
			<category>단축키</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/68</guid>
			<comments>http://blog.choma.kr/68#entry68comment</comments>
			<pubDate>Wed, 03 Aug 2011 17:30:29 +0900</pubDate>
		</item>
		<item>
			<title>sequence정보 보기 및 수정하기</title>
			<link>http://blog.choma.kr/67</link>
			<description>select절로 특정테이블의 sequence정보를 알아볼 수 있다. SELECT pg_get_serial_sequence(&#039;table_name&#039;, &#039;column_name&#039;) 이렇게하면 해당 테이블의 컬럼의 sequence이름을 알 수 있다. 여기서 알게 된 sequence를 이용하여 다음 쿼리를 날려보면 SELECT * FROM sequence_name 해당 sequence의 정보를 볼 수 있다. sequence_name name last_value..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=19206908&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/67&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Postgresql</category>
			<category>pgsql</category>
			<category>PostgreSQL</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/67</guid>
			<comments>http://blog.choma.kr/67#entry67comment</comments>
			<pubDate>Wed, 03 Aug 2011 12:13:56 +0900</pubDate>
		</item>
		<item>
			<title>php에서 Enum 사용하기</title>
			<link>http://blog.choma.kr/66</link>
			<description>php에서도 native하게 Enum이라는걸 지원한다는 걸 알게 되었다. The SplEnum class Introduction SplEnum gives the ability to emulate and create enumeration objects natively in PHP. php에 Extention으로 Spl_Types라는걸 설치하면 사용가능 하단다.. 아직 정식 기능은 아니다. 메뉴얼(http://kr2.php.net/manual/en/in..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=18749706&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/66&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>PHP</category>
			<category>enum</category>
			<category>PHP</category>
			<category>splenum</category>
			<category>spl_types</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/66</guid>
			<comments>http://blog.choma.kr/66#entry66comment</comments>
			<pubDate>Tue, 19 Jul 2011 15:18:36 +0900</pubDate>
		</item>
		<item>
			<title>php로 텍스트 이미지 만들기</title>
			<link>http://blog.choma.kr/65</link>
			<description>imagettftext를 이용한다. 생각보다 사용법도 간단하다. 자세한 설명은 아래 링크에서... http://kr2.php.net/manual/en/function.imagettftext.php ※ 주의 할 점은 폰트 경로를 잘 지정해야 한다. 아래 소스처럼 putenv(&#039;GDFONTPATH=&#039; . realpath(&#039;.&#039;)); 이렇게 지정해도 되고 미리 세팅 해도 됨. // Set the content-type header(&#039;Content-Type..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=18740479&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/65&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>PHP</category>
			<category>imagettftext</category>
			<category>PHP</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/65</guid>
			<comments>http://blog.choma.kr/65#entry65comment</comments>
			<pubDate>Tue, 19 Jul 2011 11:13:40 +0900</pubDate>
		</item>
		<item>
			<title>Cent OS에서 파일 인코딩 정보 알아볼 때</title>
			<link>http://blog.choma.kr/64</link>
			<description>가끔 필요할 때가 있는데 많이 쓰지 않다보니 잘 까먹는다; 먼저 라이브러리가 있는지 확인! ]# nkf --version 없다면 설치해준다. ]# yum install nkf 설치가 완료되면 인코딩을 확인한다! ]# nkf --guess aaa.csv&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=18261533&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/64&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Linux</category>
			<category>CentOS</category>
			<category>chracterset</category>
			<category>nkf</category>
			<category>리눅스</category>
			<category>언어셋</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/64</guid>
			<comments>http://blog.choma.kr/64#entry64comment</comments>
			<pubDate>Mon, 04 Jul 2011 15:18:18 +0900</pubDate>
		</item>
		<item>
			<title>특정 이름의 파일이나 폴더 한번에 지우기(하위디렉토리 포함)</title>
			<link>http://blog.choma.kr/63</link>
			<description>Subversion을 쓰다보면 가끔 .svn디렉토리를 한번에 지워야 하는 경우가 생긴다. 리눅스 명령어로 이걸 한큐에 해결 가능! 아래는 내가 보통 쓰는 방법. for문은 누구나 쉽게 기억할 수 있고 직관적이라 보통 이렇게 한다. for i in `find . -name .svn`; do `rm -rf $i`; done; 좀 더 짧게 이렇게도 할 수 있다. find . -name .svn -print0 | xargs -0 rm -rf rf : rad..&lt;div class=&quot;blogger-news-widget&quot; style=&quot;width: 100%; text-align: center&quot;&gt;
		  					&lt;embed src=&quot;http://api.v.daum.net/static/recombox1.swf&quot; quality=&quot;high&quot; flashvars=&quot;nid=17647840&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;false&quot; bgcolor=&quot;#ffffff&quot; width=&quot;400&quot; height=&quot;80&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot;&gt;&lt;/embed&gt;
						&lt;/div&gt;&lt;div style=&quot;text-align:left; padding-top:10px;&quot;&gt;
&lt;iframe src=&quot;http://www.facebook.com/plugins/like.php?href=blog.choma.kr/63&amp;amp;layout=box_count&amp;amp;show_faces=true&amp;amp;width=70&amp;amp;action=like&amp;amp;font=tahoma&amp;amp;colorscheme=light&amp;amp;height=65&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;border:none; overflow:hidden; width:70px; height:65px;&quot; allowTransparency=&quot;true&quot;&gt;&lt;/iframe&gt;
&lt;/div&gt;
</description>
			<category>Linux</category>
			<category>.svn</category>
			<category>Linux</category>
			<author>초마</author>
			<guid>http://blog.choma.kr/63</guid>
			<comments>http://blog.choma.kr/63#entry63comment</comments>
			<pubDate>Tue, 14 Jun 2011 19:08:52 +0900</pubDate>
		</item>
	</channel>
</rss>

