<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>내일을 위한 기록</title>
	<atom:link href="http://2yun.pe.kr/feed" rel="self" type="application/rss+xml" />
	<link>http://2yun.pe.kr</link>
	<description></description>
	<lastBuildDate>Thu, 30 Jun 2011 23:07:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Loading pages in IFRAME dynamically from codebehind &#8211; ASP.NET</title>
		<link>http://2yun.pe.kr/archives/260</link>
		<comments>http://2yun.pe.kr/archives/260#comments</comments>
		<pubDate>Thu, 30 Jun 2011 23:04:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=260</guid>
		<description><![CDATA[Most of us who develop Web Applications would have used an IFRAME during some stage of our lives. IFRAME&#8217;s are an easy way by which you can embed another page within your original page such that you can show some important information like Stock position/Weather from another site without worrying about the changes happening to that site and updating the same. The Frame can also be used to show another page from your own application. ASP.NET also provides the option to have an IFRAME in our ASPX Pages. It can be with/without the &#8220;runat=server&#8221; attribute and does serve the purpose&#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/260/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to call JavaScript functions in a TWebBrowser from Delphi</title>
		<link>http://2yun.pe.kr/archives/255</link>
		<comments>http://2yun.pe.kr/archives/255#comments</comments>
		<pubDate>Thu, 31 Mar 2011 07:04:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=255</guid>
		<description><![CDATA[Introduction On some occasions when using a TWebBrowser I&#8217;ve needed to use Delphi to call JavaScript functions contained in the current document. This is quite easy to do. We&#8217;ll first examine the techniques then we&#8217;ll look at a case study that changes the font in an HTML document. Finally, thanks to contributions from Christian Sciberras, we will look at how to get the return value from a JavaScript function called from Delphi. Overview of Solution The window object associated with an HTML document exposes a method – execScript – that enables JavaScript to be called. The first parameter of this&#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/255/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>맥 OS X 파인더 사용 기본 팁</title>
		<link>http://2yun.pe.kr/archives/250</link>
		<comments>http://2yun.pe.kr/archives/250#comments</comments>
		<pubDate>Wed, 02 Mar 2011 06:33:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[맥 OS-X]]></category>
		<category><![CDATA[Mac OS-X]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=250</guid>
		<description><![CDATA[맥 초보를 위한 맥 OS X 파인더 사용 기본 팁 &#8211; 이것만 알면 됨 맥이 어렵게 느껴지는 이유? 윈도우만 써온 맥 초심자는 맥이 윈도우에 비해 &#8216;비직관적이고 어렵다&#8217;라고 말한다. 그 가장 큰 이유는 파인더가 윈도우의 파일 익스플로러와 다르다는 점인데 그것은 크게 두가지로 상위 폴더로 올라가는 버튼이 없다 파일 주소창이 없다. 두가지로 요약된다. 우선 디렉토리 상하 이동에 대해 정리해보도록 하자. I. 폴더 상하 이동 1. 디렉토리 구조 아래로 이동 화살표 키를 사용하는 방법 Command + Down Arrow 로 하위 폴더 열기 O키(Open)를 사용하는 방법 Command + O 로 하위 폴더 열기 Command + Control + O 로 별도의 창으로 하위 폴더 열기&#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/250/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MS-SQL 복원후 사용자 연결해주기</title>
		<link>http://2yun.pe.kr/archives/241</link>
		<comments>http://2yun.pe.kr/archives/241#comments</comments>
		<pubDate>Fri, 25 Feb 2011 02:47:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=241</guid>
		<description><![CDATA[현상 MSSQL2000 에서 백업 받은 DB를 다른 서버에 있는 MSSQL2000 에 복원 시켰을때 해당 DB의 사용자가 있는데 로그인 이름이 없어 로그인이 안되는 문제가 있다. EM에서 사용자에 가 보면 사용자 이름은 있는데 로그인 이름은 비어 있을 것이다. 이유 : 사용자의 GUID가 syslogins.sid 테이블에 있는 것과 다름 조치방법 : 이것을 해결하기 위해서는 새 서버의 로그인 계정과 복원한 DB의 사용자 를 연결해야 한다. 1. 해당 데이타베이스의 쿼리매니저에서 연결되지 않은 계정을 확인한다.   sp_change_users_login &#8216;Report&#8217;   go   2. 위 결과로 나오는 이름을 확인한 후 로그인 이름을 연결해 준다.   sp_change_users_login &#8216;Update_one&#8217;, &#8216;username&#8217;, &#8216;username&#8217;   go 3. EM에서 사용자를 보면 로그인 이름이 생겨있다.  &#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/241/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>테이블 명세 뽑는 쿼리</title>
		<link>http://2yun.pe.kr/archives/244</link>
		<comments>http://2yun.pe.kr/archives/244#comments</comments>
		<pubDate>Sun, 20 Feb 2011 02:49:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=244</guid>
		<description><![CDATA[&#8211;//SQL Database documentation script &#8211;//Description: T-SQL script to generate the database document for SQL server 2000/2005 Declare @i Int, @maxi Int Declare @j Int, @maxj Int Declare @sr int Declare @Output varchar(4000) &#8211;Declare @tmpOutput varchar(max) Declare @SqlVersion varchar(5) Declare @last varchar(155), @current varchar(255), @typ varchar(255), @description varchar(4000) create Table #Tables  (id int identity(1, 1), Object_id int, Name varchar(155), Type varchar(20), [description] varchar(4000)) create Table #Columns (id int identity(1,1), Name varchar(155), Type Varchar(155), Nullable varchar(2), [description] varchar(4000)) create Table #Fk(id int identity(1,1), Name varchar(155), col Varchar(155), refObj varchar(155), refCol varchar(155)) create Table #Constraint(id int identity(1,1), Name varchar(155), col Varchar(155), definition varchar(1000)) create Table #Indexes(id int identity(1,1), Name varchar(155), Type Varchar(25), cols varchar(1000))  If (substring(@@VERSION, 1, 25 ) = &#8217;Microsoft SQL Server 2005&#8242;)    set @SqlVersion = &#8217;2005&#8242; else if (substring(@@VERSION, 1, 26 ) = &#8217;Microsoft SQL Server  2000&#8242;)    set @SqlVersion = &#8217;2000&#8242; else     set @SqlVersion = &#8217;2005&#8242; Print &#8217;&#60;head&#62;&#8217; Print &#8217;&#60;title&#62;::&#8217; + DB_name() + &#8217;::&#60;/title&#62;&#8217; Print &#8217;&#60;style&#62;&#8217;      Print &#8217;      body {&#8216; Print &#8217;      font-family:verdana;&#8217; Print &#8217;      font-size:9pt;&#8217; Print &#8217;      }&#8217;        Print &#8217;      td {&#8216; Print &#8217;      font-family:verdana;&#8217; Print &#8217;      font-size:9pt;&#8217; Print &#8217;      }&#8217;        Print &#8217;      th {&#8216; Print &#8217;      font-family:verdana;&#8217; Print &#8217;      font-size:9pt;&#8217; Print &#8217;      background:#d3d3d3;&#8217; Print &#8217;      }&#8217; Print &#8217;      table&#8217; Print &#8217;      {&#8216; Print &#8217;      background:#d3d3d3;&#8217; Print &#8217;      }&#8217; Print &#8217;      tr&#8217; Print &#8217;      {&#8216; Print &#8217;      background:#ffffff;&#8217; Print &#8217;      }&#8217; Print &#8217;   &#60;/style&#62;&#8217; Print &#8217;&#60;/head&#62;&#8217; Print &#8217;&#60;body&#62;&#8217; set nocount on    if @SqlVersion = &#8217;2000&#8242;        begin       insert into #Tables (Object_id, Name, Type, [description])          &#8211;FOR 2000          select object_id(table_name),  &#8217;[' + table_schema + '].[' + table_name + ']&#8216;,            case when table_type = &#8217;BASE TABLE&#8217;  then &#8217;Table&#8217;   else &#8217;View&#8217; end,          cast(p.value as varchar(4000))          from information_schema.tables t          left outer join sysproperties p on p.id = object_id(t.table_name) and smallid = 0 and p.name = &#8217;MS_Description&#8217;           order by table_type, table_schema, table_name       end    else if @SqlVersion = &#8217;2005&#8242;        begin       insert into #Tables (Object_id, Name, Type, [description])       &#8211;FOR 2005       Select o.object_id,  &#8217;[' + s.name + '].[' + o.name + ']&#8216;,              case when type = &#8217;V' then &#8217;View&#8217; when type = &#8217;U' then &#8217;Table&#8217; end,               cast(p.value as varchar(4000))             from sys.objects o                 left outer join sys.schemas s on s.schema_id = o.schema_id                 left outer join sys.extended_properties p on p.major_id = o.object_id and minor_id = 0 and p.name = &#8217;MS_Description&#8217;              where type in (&#8216;U&#8217;, &#8217;V')              order by type, s.name, o.name       end Set @maxi = @@rowcount set @i = 1 print &#8217;&#60;table border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243; width=&#8221;550px&#8221; align=&#8221;center&#8221;&#62;&#60;tr&#62;&#60;td colspan=&#8221;3&#8243; style=&#8221;height:50;font-size:14pt;text-align:center;&#8221;&#62;&#60;a name=&#8221;index&#8221;&#62;&#60;/a&#62;&#60;b&#62;Index&#60;/b&#62;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;&#8217; print &#8217;&#60;table border=&#8221;0&#8243; cellspacing=&#8221;1&#8243; cellpadding=&#8221;0&#8243; width=&#8221;550px&#8221; align=&#8221;center&#8221;&#62;&#60;tr&#62;&#60;th&#62;Sr&#60;/th&#62;&#60;th&#62;Object&#60;/th&#62;&#60;th&#62;Type&#60;/th&#62;&#60;/tr&#62;&#8217;  While(@i &#60;= @maxi) begin    select @Output =  &#8217;&#60;tr&#62;&#60;td align=&#8221;center&#8221;&#62;&#8217; + Cast((@i) as varchar) + &#8217;&#60;/td&#62;&#60;td&#62;&#60;a href=&#8221;#&#8217; + Type + &#8217;:' + name + &#8217;&#8221;&#62;&#8217; + name + &#8217;&#60;/a&#62;&#60;/td&#62;&#60;td&#62;&#8217; + Type + &#8217;&#60;/td&#62;&#60;/tr&#62;&#8217;           from #Tables where id = @i        print @Output    set @i = @i + 1 end print &#8217;&#60;/table&#62;&#60;br /&#62;&#8217; set @i = 1 While(@i &#60;= @maxi) begin    &#8211;table header    select @Output =  &#8217;&#60;tr&#62;&#60;th align=&#8221;left&#8221;&#62;&#60;a name=&#8221;&#8216; + Type + &#8217;:' + name + &#8217;&#8221;&#62;&#60;/a&#62;&#60;b&#62;&#8217; + Type + &#8217;:' + name + &#8217;&#60;/b&#62;&#60;/th&#62;&#60;/tr&#62;&#8217;,  @description = [description]          from #Tables where id = @i        print &#8217;&#60;br /&#62;&#60;br /&#62;&#60;br /&#62;&#60;table border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243; width=&#8221;750px&#8221;&#62;&#60;tr&#62;&#60;td align=&#8221;right&#8221;&#62;&#60;a href=&#8221;#index&#8221;&#62;Index&#60;/a&#62;&#60;/td&#62;&#60;/tr&#62;&#8217;    print @Output    print &#8217;&#60;/table&#62;&#60;br /&#62;&#8217;    print &#8217;&#60;table border=&#8221;0&#8243; cellspacing=&#8221;0&#8243; cellpadding=&#8221;0&#8243; width=&#8221;750px&#8221;&#62;&#60;tr&#62;&#60;td&#62;&#60;b&#62;Description&#60;/b&#62;&#60;/td&#62;&#60;/tr&#62;&#60;tr&#62;&#60;td&#62;&#8217; + isnull(@description, &#8221;) + &#8217;&#60;/td&#62;&#60;/tr&#62;&#60;/table&#62;&#60;br /&#62;&#8217;     &#8211;table columns&#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/244/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS7.5 + PHP에서  MS-SQL사용</title>
		<link>http://2yun.pe.kr/archives/235</link>
		<comments>http://2yun.pe.kr/archives/235#comments</comments>
		<pubDate>Wed, 16 Feb 2011 11:21:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=235</guid>
		<description><![CDATA[IIS7.5 ( Windows Server 2008 R2 )에서 PHP5를 설치하고 MS-SQL가 활성화가 안돼서 한참을 씨름했다. 여기저기 뒤져서 Microsoft Drivers for PHP for SQL Server를 찾아서 깔고 나서야 사용 할 수 있었다.   한심한것은 8개월여전에 한번 씨름했던 기억이 나는것!! * PHP 5.2.4, or later]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/235/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress IIS7 500.50 Error</title>
		<link>http://2yun.pe.kr/archives/229</link>
		<comments>http://2yun.pe.kr/archives/229#comments</comments>
		<pubDate>Tue, 15 Feb 2011 13:45:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=229</guid>
		<description><![CDATA[워드프레스는 링크를 여러가지로 표현하도록 지원하고 있다. 기본적인 링크 ( http://2yun.pe.kr/?p=123  )와 정적인 폴더에 접근하는 것처럼하는 사용자 정의 링크 (http://2yun.pe.kr/archives/123) 가 있는데 개인적으로 사용자 정의 링크가 깔끔해서 선호한다.      문제는 IIS에 설치할 경우 iis의 rewrite 모듈을 활용하는데 잘 되다가도 가끔씩  500에러가 난다. 원인을 찾던중 아래 링크에서 권한 문제임을 알게 되었고 조치 했다. http://www.howyoudo.info/index.php/how-to-fix-windows-server-upload-file-inherit-permissions-error/  대략의 내용은 php의 업로드 임시폴더위치와 권한을 관리할 것으로 권하고 있다. 하지만 권하는 방법으로도 잘 안되서 해당 폴더의 권한을 조정하였다.]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/229/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web-Server(IIS) LOG를 SQL에 옮겨서 분석할수 없을까?</title>
		<link>http://2yun.pe.kr/archives/248</link>
		<comments>http://2yun.pe.kr/archives/248#comments</comments>
		<pubDate>Sun, 13 Feb 2011 03:31:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=248</guid>
		<description><![CDATA[IIS LOG를 SQL에 옮겨서 분석할수 없을까 하고 찾다 보니 MS에서 Log Parser 2.2를 배포하고 있었다. 기본사용법 LogParser -i:EVT -o:SQL &#8220;SELECT * INTO EventLog FROM System&#8221; -server:Laptop\SqlExpress -database:Keeper -driver:&#8221;SQL Server&#8221; -createTable:ON 로그파일을 자동으로 찾아서 처리하도록 하려면 다음과 같이 배치 파일을 만들면 된다. REM Use on servers set to UK date SET CurrentLogFile=ex%date:~8,2%%date:~3,2%%date:~0,2%.log REM SET the path to the IIS Log Files Folder. NOTE: If your IIS server has multiple Websites you may have to change the path. SET LogFilesFolder=%SYSTEMROOT%\system32\Logfiles\W3SVC1\ ECHO Attempting to process IIS Log File: %LogFilesFolder%%CurrentLogFile% PAUSE LogParser -i:IISW3C -o:SQL &#8220;SELECT * INTO IISLog FROM %LogFilesFolder%%CurrentLogFile%&#8221; -server:Laptop\SqlExpress -database:Keeper -driver:&#8221;SQL Server&#8221;&#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/248/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>홈페이지 피해 복구기(記)</title>
		<link>http://2yun.pe.kr/archives/170</link>
		<comments>http://2yun.pe.kr/archives/170#comments</comments>
		<pubDate>Fri, 11 Feb 2011 05:01:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=170</guid>
		<description><![CDATA[최근 지인들의 홈피를 몇개 탑재하여 운영하고 있는 서버에 이상이 생겨 점검하던중 서버내 많은 파일들의 끝에  ://www.ro521.com/test.htm 을 포함한 iframe을 볼수 있었다.  해당페이지는 이미 조치가 된듯하나 악성코드을 배포하는 사이트(공격당해 변형된듯)였던것 같다.   1. 증상 본문, 사진 등이 깨져 보인다. 사이트를 열면 실시간 감시 백신이 벌레를 잡았다고 알린다.   2. 조치   1)   제로보드 관리자 테이블의 헤더, 풋터에 위 문장이 포함된 내용을 제거한다.   2) 사이트 전체를 뒤져서 변형된 파일을 원위치 한다.   참고로 쉘에서 #grep -r  &#8220;http://www.ro521.com/test. htm&#8221;  /home/*  하면 모두 찾는다.   3) 혹시나 다른 루트킷이 있는지 찾아 본다. (있었다 !!) 루트킷은 데이터가 보관되는  폴더에 실행파일 형식이다보니 라이브러리 참조문자열( ld-linux.so)을  패턴으로&#8230;]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/170/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>눈 많이 내린날</title>
		<link>http://2yun.pe.kr/archives/4</link>
		<comments>http://2yun.pe.kr/archives/4#comments</comments>
		<pubDate>Sat, 22 Jan 2011 17:00:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[2윤-사랑방]]></category>

		<guid isPermaLink="false">http://2yun.pe.kr/?p=4</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://2yun.pe.kr/archives/4/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

