<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title>낭만 상민이의 不老區</title>
		<link>http://www.microstrong.pe.kr/tt/</link>
		<description>재미있는 인생살기 대책위원회......

방명록 써도 뭐라안할께...</description>
		<language>ko</language>
		<pubDate>Fri, 23 Jul 2010 22:55:28 +0900</pubDate>
		<item>
			<title>안철수,박경철의 대화(다소 볼만함)</title>
			<link>http://www.microstrong.pe.kr/tt/entry/%EC%95%88%EC%B2%A0%EC%88%98%EB%B0%95%EA%B2%BD%EC%B2%A0%EC%9D%98-%EB%8C%80%ED%99%94%EB%8B%A4%EC%86%8C-%EB%B3%BC%EB%A7%8C%ED%95%A8</link>
			<description>멍때리고 있을때 한번쯤 봐주세요.&lt;a href=&quot;http://blogsabo.ahnlab.com/300&quot;&gt;&lt;br /&gt;
http://blogsabo.ahnlab.com/300&lt;/a&gt;</description>
			<category>알찬정보</category>
			<author> (낭만상민)</author>
			<pubDate>Thu, 29 Apr 2010 11:29:48 +0900</pubDate>
		</item>
		<item>
			<title>Fedora 11 x-window 가 root 로그인이 안되는 문제 해결.</title>
			<link>http://www.microstrong.pe.kr/tt/entry/Fedora-11-x-window-%EA%B0%80-root-%EB%A1%9C%EA%B7%B8%EC%9D%B8%EC%9D%B4-%EC%95%88%EB%90%98%EB%8A%94-%EB%AC%B8%EC%A0%9C-%ED%95%B4%EA%B2%B0</link>
			<description>문제라기 보다는 보안상 고의로 막아놓은 설정을 고치는 것이다.&lt;br /&gt;
아래의 문서를 읽어 보면 해답을 찾을수 있다.&lt;br /&gt;
&lt;strong&gt;/etc/pam.d/gdm&lt;/strong&gt; ,과 &lt;strong&gt;/etc/pam.d/gdm-password&lt;/strong&gt; 두스크립트에서&lt;br /&gt;
해당 설정 부분을 지우면 된다.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.labtestproject.com/using_linux/step_by_step_enable_root_login_on_fedora_11_gui_desktop.html&quot;&gt;http://www.labtestproject.com/using_linux/step_by_step_enable_root_login_on_fedora_11_gui_desktop.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
시간 날때 gdm 에 관한 심도있는 이야기를 해볼까 한다.</description>
			<category>Tip</category>
			<author> (낭만상민)</author>
			<pubDate>Tue, 13 Oct 2009 09:32:36 +0900</pubDate>
		</item>
		<item>
			<title>어느나라 ip인지 알아내는 방법.</title>
			<link>http://www.microstrong.pe.kr/tt/entry/%EC%96%B4%EB%8A%90%EB%82%98%EB%9D%BC-ip%EC%9D%B8%EC%A7%80-%EC%95%8C%EC%95%84%EB%82%B4%EB%8A%94-%EB%B0%A9%EB%B2%95</link>
			<description>&lt;strong&gt;&lt;font size=&quot;3&quot;&gt;ip address &amp;lt;-&amp;gt; ip number 전환코드를 찾다가 찾아낸 조금 재미있는 것. ip대역 CSV 파일(GeoIp Country CSV)을 구해야함.&lt;br /&gt;
심심하면 함 만들어 보심.&lt;br /&gt;
&lt;br /&gt;
GeoIP Country CSV Text Files&lt;br /&gt;
&lt;br /&gt;
&lt;/font&gt;&lt;/strong&gt;MaxMind GeoIP databases are available in a Comma Separated Value (CSV) format, in addition to the binary format. These CSV files generally contain IP Address range and geographical data for all publicly assigned IPv4 addresses.&lt;br /&gt;
&lt;br /&gt;
Due to the large size of geolocation databases, we generally recommend using our binary format with one of our APIs, since they are highly optimized for speed and disk space. On the other hand, if you have a requirement to import the data into a SQL database, the CSV format is recommended. We have listed some guidelines for importing and querying the data with a SQL database.&lt;br /&gt;
&lt;br /&gt;
&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;CSV Format&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
The CSV File contains four fields:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;* Beginning IP Number*&lt;br /&gt;
&amp;nbsp; &amp;nbsp;* Ending IP Number*&lt;br /&gt;
&amp;nbsp; &amp;nbsp;* ISO 3166 Country Code&lt;br /&gt;
&amp;nbsp; &amp;nbsp;* Country Name &lt;br /&gt;
&lt;br /&gt;
This is an sample of how the CSV file is structured:&lt;br /&gt;
&lt;br /&gt;
&quot;begin_num&quot;,&quot;end_num&quot;,&quot;country&quot;,&quot;name&quot;&lt;br /&gt;
&quot;1029177344&quot;,&quot;1029439487&quot;,&quot;AU&quot;,&quot;Australia&quot;&lt;br /&gt;
&quot;1029439488&quot;,&quot;1029570559&quot;,&quot;HK&quot;,&quot;Hong Kong&quot;&lt;br /&gt;
&quot;1029570560&quot;,&quot;1029572607&quot;,&quot;ID&quot;,&quot;Indonesia&quot;&lt;br /&gt;
&lt;br /&gt;
* Beginning IP Number and Ending IP Number are calculated as follows:&lt;br /&gt;
&lt;br /&gt;
ipnum = 16777216*w + 65536*x + 256*y + z &amp;nbsp; (1)&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
IP Address = w.x.y.z&lt;br /&gt;
&lt;br /&gt;
The reverse of this formula is&lt;br /&gt;
&lt;br /&gt;
w = int ( ipnum / 16777216 ) % 256;&lt;br /&gt;
x = int ( ipnum / 65536 &amp;nbsp; &amp;nbsp;) % 256;&lt;br /&gt;
y = int ( ipnum / 256 &amp;nbsp; &amp;nbsp; &amp;nbsp;) % 256;&lt;br /&gt;
z = int ( ipnum &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;) % 256;&lt;br /&gt;
&lt;br /&gt;
Where % is the mod operator.&lt;br /&gt;
&lt;br /&gt;
Here is sample Perl code to convert the IP number to&lt;br /&gt;
a IP address:&lt;br /&gt;
&lt;br /&gt;
sub numToStr {&lt;br /&gt;
my ($ipnum) = @_;&lt;br /&gt;
my $z = $ipnum % 256;&lt;br /&gt;
$ipnum &amp;gt;&amp;gt;= 8;&lt;br /&gt;
my $y = $ipnum % 256;&lt;br /&gt;
$ipnum &amp;gt;&amp;gt;= 8;&lt;br /&gt;
my $x = $ipnum % 256;&lt;br /&gt;
$ipnum &amp;gt;&amp;gt;= 8;&lt;br /&gt;
my $w = $ipnum % 256;&lt;br /&gt;
return &quot;$w.$x.$y.$z&quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is useful to have the IP Number if you are performing IP Address lookups using a database. For example the following queries will find the country based on IP Address 24.24.24.24:&lt;br /&gt;
&lt;br /&gt;
&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;SQL Query&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ip_country FROM geoip WHERE 404232216 BETWEEN begin_ip_num AND end_ip_num&lt;br /&gt;
&lt;br /&gt;
&lt;font size=&quot;3&quot;&gt;&lt;strong&gt;MySQL Query&lt;/strong&gt;&lt;/font&gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ip_country FROM geoip WHERE 404232216 &amp;gt;= begin_ip_num AND&lt;br /&gt;
　　　404232216 &amp;lt;= end_ip_num&lt;br /&gt;
&lt;br /&gt;
Here we used the formula (1) to compute the IP Number based on 24.24.24.24&lt;br /&gt;
&lt;br /&gt;
404232216 = 16777216*24 + 65536*24 + 256*24 + 24&lt;br /&gt;
&lt;br /&gt;
For more information on importing GeoIP CSV files into MySQL, see HOW-TO Import the MaxMind GeoIP Free Country CSV file into MySQL and save diskspace. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.delau.net/php/geoip.html&quot; target=&quot;_new&quot;&gt;http://www.delau.net/php/geoip.html&lt;/a&gt;</description>
			<author> (낭만상민)</author>
			<pubDate>Tue, 25 Nov 2008 13:28:08 +0900</pubDate>
		</item>
		<item>
			<title>Enable Or Disable Extension Loading(SQLITE)</title>
			<link>http://www.microstrong.pe.kr/tt/entry/Enable-Or-Disable-Extension-LoadingSQLITE</link>
			<description>&lt;p&gt;Interrupt A Long-Running Query&lt;br /&gt;
- 장시간 구동 쿼리 중지&lt;br /&gt;
 &amp;nbsp; void sqlite3_interrupt(sqlite3*);&lt;/p&gt;&lt;p&gt;This function causes any pending database operation to abort and return at its earliest opportunity.&lt;br /&gt;
- 이 함수는 길어지는 database 작업을 중단시켜서 빠른시간안에 다른 작업을 수행할 준비를 할수 있게 해준다.&lt;/p&gt;&lt;p&gt;This routine is typically called in response to a user action such as pressing &quot;Cancel&quot; or Ctrl-C where the user wants a long query operation to halt immediately.&lt;br /&gt;
- 이 함수의 역할은 긴 시간이 걸리는 작업에 대해서 &quot;Cancel&quot; 하거나 Ctrl-C 를 통하여 작업 중지 하는 것과 같은 역할을 한다.&lt;/p&gt;&lt;p&gt;It is safe to call this routine from a thread different from the thread that is currently running the database operation.&lt;br /&gt;
- 이 함수의 사용은 현재 실행중인 다중 쓰레드의 동시 작업 들에 대해서 안전하다.&lt;br /&gt;
But it is not safe to call this routine with a database connection that is closed or might close before sqlite3_interrupt() returns.&lt;br /&gt;
- 하지만 sqlite3_interrupt() 가 끝나기 전에 중지된 혹은 중지될 database connection 에 대해서는 안전 하지 않다.&lt;/p&gt;&lt;p&gt;If an SQL operation is very nearly finished at the time when sqlite3_interrupt() is called, then it might not have an opportunity to be interrupted and might continue to completion.&lt;br /&gt;
- 만일 sqlite3_interrupt() 가 호출되는 순간 바로 끝나버릴 SQL 작업이있다면 작업의 온전한 중지를 하지 못한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
An SQL operation that is interrupted will return SQLITE_INTERRUPT.&lt;br /&gt;
- 중지된 SQL operation 에 대해서는 SQLITE_INTERRUPT 를 반환한다.&lt;/p&gt;&lt;p&gt;If the interrupted SQL operation is an INSERT, UPDATE, or DELETE that is inside an explicit transaction, then the entire transaction will be rolled back automatically.&lt;br /&gt;
- 만일 INSERT,UPDATE,DELETE 명령어 수행중 중지 되었다면 전체 transaction이 자동적으로 Roll back 된다.&lt;/p&gt;&lt;p&gt;A call to sqlite3_interrupt() has no effect on SQL statements that are started after sqlite3_interrupt() returns.&lt;br /&gt;
- 시작된후 sqlite3_interrupt() returns 을 받은 SQL 문에 대해서는 sqlite3_interrupt() 함수를 (다시) 호출해도 아무런 영향이 없다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
Invariants:&lt;br /&gt;
H12271 The sqlite3_interrupt() interface will force all running SQL statements associated with the same database connection to halt after processing at most one additional row of data. &lt;br /&gt;
H12272 Any SQL statement that is interrupted by sqlite3_interrupt() will return SQLITE_INTERRUPT. &lt;/p&gt;&lt;br /&gt;
&lt;p&gt;Assumptions:&lt;br /&gt;
A12279 If the database connection closes while sqlite3_interrupt() is running then bad things will likely happen. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;
See also lists of Objects, Constants, and Functions.&lt;/p&gt;</description>
			<author> (낭만상민)</author>
			<pubDate>Tue, 14 Oct 2008 13:31:16 +0900</pubDate>
		</item>
		<item>
			<title>The hamsterdb Tutorial (http://hamsterdb.com) 번역문서</title>
			<link>http://www.microstrong.pe.kr/tt/entry/The-hamsterdb-Tutorial-httphamsterdbcom-%EB%B2%88%EC%97%AD%EB%AC%B8%EC%84%9C</link>
			<description>&lt;p&gt;Page 1&lt;br /&gt;
&lt;br /&gt;
The hamsterdb Tutorial&lt;br /&gt;
:hamsterdb 강좌&lt;/p&gt;&lt;p&gt;A Tutorial Book for hamsterdb.&lt;br /&gt;
:hamsterdb 강좌 자료.&lt;/p&gt;&lt;p&gt;Copyright © 2007 Christoph Rupp&lt;br /&gt;
Created on Friday, March 23, 2007&lt;br /&gt;
Last update: Friday, February 08, 2008&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
This tutorial is a WORK IN PROGRESS. Do not consider it as a finished document.&lt;br /&gt;
:이 강좌 자료는 제작중 입니다. 아직 완료 되지 않은 문서임을 고려해 주세요.&lt;/p&gt;&lt;p&gt;Feedback and comments are always welcome. Please send them to &lt;a href=&quot;mailto:contact@hamsterdb.com&quot;&gt;contact@hamsterdb.com&lt;/a&gt;.&lt;br /&gt;
:의견이나 조언은 &lt;a href=&quot;mailto:contact@hamsterdb.com&quot;&gt;contact@hamsterdb.com&lt;/a&gt; 로 보내주시고 늘 환영합니다. &lt;/p&gt;&lt;p&gt;Permission is granted to copy, distribute and/or modify this document under the terms of the GNU&lt;br /&gt;
Free Documentation License, Version 1.1 or any later version published by the Free Software&lt;br /&gt;
Foundation; with Invariant Sections being „The GNU Free Documentation License“, with no Front-&lt;br /&gt;
Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled&lt;br /&gt;
„GNU Free Documentation License“.&lt;br /&gt;
:복제 나 배포 혹은 문서 수정은 GNU Free Documentation License (Version 1.1) 혹은 자유소프트웨어재단 에 의해 &lt;br /&gt;
이후 버전의 License 에 의거하여 허용한다.&amp;nbsp; GNU Free Documentation License 의 Invariant 섹션에 의거하여 &lt;br /&gt;
앞/뒤 표지의 Text 는 유지 해야 한다. 사본의 모든 권리(권한)는 전적으로 'GNU Free Doumentaion License' 에 의거한다.&lt;br /&gt;
&lt;br /&gt;
-------------------------------------------------&lt;br /&gt;
Page 2&lt;br /&gt;
&lt;br /&gt;
Table of Contents&lt;br /&gt;
Introduction.........................................................................................................................................3&lt;br /&gt;
What is hamsterdb?.........................................................................................................................3&lt;br /&gt;
Material Covered............................................................................................................................3&lt;br /&gt;
Conventions Used in this Tutorial...................................................................................................3&lt;br /&gt;
More Documentation on hamsterdb................................................................................................3&lt;br /&gt;
Obtaining the Most Recent Versions...............................................................................................3&lt;br /&gt;
hamsterdb Licensing.......................................................................................................................4&lt;br /&gt;
Getting Started.....................................................................................................................................4&lt;br /&gt;
Building for UNIX/POSIX systems................................................................................................4&lt;br /&gt;
Building for Microsoft Windows.....................................................................................................4&lt;br /&gt;
Porting hamsterdb to Other Platforms.............................................................................................4&lt;br /&gt;
Creating a Database.............................................................................................................................5&lt;br /&gt;
Creating an In-Memory Database....................................................................................................6&lt;br /&gt;
Creating a Record Number Database...............................................................................................6&lt;br /&gt;
Opening a Database.............................................................................................................................7&lt;br /&gt;
Changing the Default Key Sorting.......................................................................................................7&lt;br /&gt;
Inserting Database Items......................................................................................................................8&lt;br /&gt;
Deleting Database Items.......................................................................................................................9&lt;br /&gt;
Looking up Database Items..................................................................................................................9&lt;br /&gt;
Working with Database Cursors.........................................................................................................10&lt;br /&gt;
Creating a Database Cursor...........................................................................................................10&lt;br /&gt;
Moving Database Cursors..............................................................................................................11&lt;br /&gt;
Inserting Database Items with Cursors..........................................................................................12&lt;br /&gt;
Looking up Database Items with Cursors......................................................................................12&lt;br /&gt;
Overwriting Database Items with Cursors.....................................................................................13&lt;br /&gt;
Deleting Database Items with Cursors...........................................................................................13&lt;br /&gt;
Cloning a Database Cursor............................................................................................................13&lt;br /&gt;
Closing a Database Cursor.............................................................................................................13&lt;br /&gt;
Closing a Database............................................................................................................................13&lt;br /&gt;
Working with Database Environments...............................................................................................14&lt;br /&gt;
Creating a new Environment.........................................................................................................14&lt;br /&gt;
Creating In-Memory Environments..........................................................................................15&lt;br /&gt;
Opening an Environment...............................................................................................................15&lt;br /&gt;
Creating a Database in an Environment........................................................................................16&lt;br /&gt;
Opening a Database in an Environment........................................................................................16&lt;br /&gt;
Renaming a Database in an Environment......................................................................................16&lt;br /&gt;
Removing a Database from an Environment.................................................................................17&lt;br /&gt;
Closing an Environment................................................................................................................17&lt;br /&gt;
Working with Duplicate Keys............................................................................................................17&lt;br /&gt;
Enabling Duplicate Keys...............................................................................................................17&lt;br /&gt;
Inserting Duplicate Keys...............................................................................................................17&lt;br /&gt;
Traversing Duplicate Keys............................................................................................................18&lt;br /&gt;
Replacing Duplicate Keys.............................................................................................................18&lt;br /&gt;
Get the Number of Duplicate Keys................................................................................................18&lt;br /&gt;
Deleting Duplicate Keys................................................................................................................19&lt;br /&gt;
The C++ API.....................................................................................................................................19&lt;br /&gt;
Appendix I: The GNU General Public License 2.0............................................................................20&lt;br /&gt;
Appendix II: The GNU General Public License 3.0..........................................................................24&lt;br /&gt;
Appendix III: The GNU Free Documentation License......................................................................35&lt;br /&gt;
&lt;/p&gt;</description>
			<category>Database</category>
			<author> (낭만상민)</author>
			<pubDate>Thu,  4 Sep 2008 21:42:15 +0900</pubDate>
		</item>
	</channel>
</rss>
