<?xml version="1.0" encoding="utf-8"?>
<!-- generator="empas blog/2.0" -->
<rss version="2.0" 
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
	xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
	<channel>
		<!-- if (id exists )	-->
		<title><![CDATA[멋진 삶을 위하여...]]> </title>
		<userid>p14406</userid>
		<link>http://blog.empas.com/p14406</link>
		<description><![CDATA[살아가면서 느끼거나 배운것,그리고 실수한것을 잊지 않기 위하여 이곳에 하나하나 모아 멋진 삶을 만들..]]></description>
		<language>ko</language>
		<copyright>Copyright(c) empas corp. All Rights Reserved.</copyright> 
		<pubDate>Fri, 29 Aug 2008 16:59:02 +0900</pubDate>
		<item>
			<category><![CDATA[IT이야기]]></category>
			<title>기술등급</title>
			<link>http://blog.empas.com/p14406/30129462</link>
			<description><![CDATA[기술자등급
학력기준 / 기술자격 기준

박사
석사
학사
초대졸
고졸
기능대졸
직업훈련기관이수
기능시험합격 
기타

기술사
 
 
 
 
 
 
 
 
 

특급기술자
3년이상
9년이상
12년이상
15년이상
 
 
 
 
 

고급기술자
3년미만
6년이상9년미만
9년이상12년미만
12년이상15년미만
15년이상
 
 
 
 

중급기술자
 
3년이상6년미만
6년이상9년미만
9년이상12년미만
12년이상15년미만
 
 
 
 

초급기술자
 
3년미만
6년미만
9년미만
3년이상12년미만
 
 
 
 

고급기능사
 
 
 
 
7년이상
기능대졸
7년이상
10년이상
 

중급기능사
 
 
 
 
3년이상7년미만
 
5년이상
5년이상
10년이상

초급기능사
 
 
 
 
3년미만
 
교육이수자
실기시험합격자
5년이상



기술자등급
자격증기준 / 기술자격 기준

기술사
기사
산업기사
기능장
산업기사
기능사
기능사보

기술사
기술사
 
 
 
 
 
 

특급기술자
 
10년이상
13년이상
 
 
 
 

고급기술자
 
7년이상
10년이상
 
 
 
 

중급기술자
 
4년이상
7년이상
 
 
 
 

초급기술자
 
4년미만
7년미만
 
 
 
 

고급기능사
 
 
 
기능장
4년이상
7년이상
10년이상

중급기능사
 
 
 
 
4년미만
3년이상
5년이상

초급기능사
 
 
 
 
 
3년미만
5년미만]]></description>
			<pubDate>Tue, 19 Aug 2008 15:21:15 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[소프트웨어]]></category>
			<title>[펌]잘 모르는 한자나 글자 찾기</title>
			<link>http://blog.empas.com/p14406/30129420</link>
			<description><![CDATA[가끔 한자를 입력할 때가 있는데... 음을 몰라 못찾는경우가 더러 있어 이런 팁을 쓰네요.1. 바탕화면 오른쪽 하단에 컴퓨터 시계에 마우스를 대고 오른쪽버튼을 누릅니다.    도구 모음(T) &amp;gt; 입력 도구 모음2. 아래화면처럼 아래 작은화살표를 클릭하면 아래처럼 주르륵 뜨는데..확장 입력기를 클릭합니다.3. 확장 입력기를 클릭합니다.4. 확장 입력기의 그리기바탕에 글씨를 쓰면 오른쪽에 비슷한 글자들이 나옵니다. ^^  끝.
 
출처:http://www.phplab.co.kr/cms/board/bod_view.php?code=etc&amp;amp;no=168&amp;amp;pageID=1&amp;amp;item=&amp;amp;find=&amp;amp;flg=]]></description>
			<pubDate>Tue, 19 Aug 2008 15:18:28 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[네트워크]]></category>
			<title>wireshark 사용법</title>
			<link>http://blog.empas.com/p14406/29340978</link>
			<description><![CDATA[]]></description>
			<pubDate>Mon, 30 Jun 2008 11:14:41 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[네트워크]]></category>
			<title>Packet Capture Tool 인 Wireshark</title>
			<link>http://blog.empas.com/p14406/29340943</link>
			<description><![CDATA[Packet Capture Tool 인 Wireshark(http://www.wireshark.org)
 
 SSL(Secure Socket Layer)를 사용 여부를 파악해야 되는 작업이였는데, 검증을 하기 위한 툴이 필요로 했었다. 아주 유용한 프로그램이다.
 
- 네트웍 Interface 설정하기
1. 설치 후 프로그램을 구동한다. 셋팅은 Edit - Preferences 를 선택한다.
2. 좌측 메뉴 중 Capture 를 선택하면 Default interface 항목 중에 자기 네크웍 카드를 선택
3. OK 선택
 
- 모니터링 할 Filter 선택하기
1. Analyze - Display Filter 를 선택한다.
2. Display Filter 창에서 New를 선택한다.
3. 하단에 위치한 Properties 의 Filter name을 입력한다.
4. 모니터링 할 Filter string을 입력한다. (참고)정상적인 값이면 배경색이 녹색으로 바뀐다.
5. OK
 
- 실행하기
1. Capture - Start 를 선택한다.
 
예를 들자면, TCP 24007 port를 모니터링하고 싶다면 Filter를 아래와 같이 추가한다. 그리고 실행을 하면 된다.
 
Filter name : TCP 24007
Filter string : tcp.port == 24007 

[출처] [Tool] Wireshark - Packet Capture|작성자 zerang]]></description>
			<pubDate>Mon, 30 Jun 2008 11:13:30 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[좋은사이트]]></category>
			<title>wireshark 네트워크 분석툴</title>
			<link>http://blog.empas.com/p14406/29340932</link>
			<description><![CDATA[http://www.wireshark.org/ 보안관련 사이트
 
무료패킷분석 툴]]></description>
			<pubDate>Mon, 30 Jun 2008 11:11:36 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>LED sign matrix and C#</title>
			<link>http://blog.empas.com/p14406/29267490</link>
			<description><![CDATA[LED sign matrix and C# 

For Maker Faire I built a LED display using 10 BetaBrite Prism signs.  Everything I used was store bought and nothing custom.  The general idea was to capture motion video using a webcam and display it on this matrix of LED signs.  However, after receiving the hardware this became impossible noting the 3-4 second delay in the time from which transmission to the sign starts, and when the image is displayed.  I also wanted to take advantage of the usb port on each sign but ran into problems connecting more than one BetaBrite Prism via usb at a time.
COMPROMISE-- 

Since the signs where too slow I had to change the direction of this project into a &quot;photo booth&quot; of sorts meaning that I would take timed snapshots via a webcam instead of full motion video. 
Connecting more than one sign using USB didn't work so I was stuck buying 10 USB-&amp;gt;Serial adaptors 
The signs support up to 64 colors, however trying to modify the BetaBrite class to handle these colors fell through. 
Hardware:
    

10 BetaBrite Prism signs 
10 Serial to USB converters 
3 USB SQUID 
1 USB Xbox Webcam 
Plywood 
Drywall Screws 
Software:

BetaBrite API written by Jeff Atwood, ported by Clint Rutkas 
DirectShow lib (emphasis on DxSnap application) 
Code to splice web cam images and send to sign 
You can download my source here.
How it works:
A picture (bitmap) is taken by the attached webcam using DirectShowLib, that bitmap is &quot;spliced&quot; m..]]></description>
			<pubDate>Wed, 25 Jun 2008 16:06:30 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>로드한 이미지를 패널 안에서 이리저리 드래그 하는 프로그램을 짜려면</title>
			<link>http://blog.empas.com/p14406/29255127</link>
			<description><![CDATA[로드한 이미지를 패널 안에서 이리저리 드래그 하는 프로그램을 짜려면 어떤 event를 사용해야하나요?
 
 
마우스를 드래그(Down -&amp;gt; Move -&amp;gt; Up 순서로 조작)할 경우에
 
 
마우스의 정보로부터 이전 위치와 새 위치를 계산한 다음
 
 
새 위치에 이미지를 다시 그려주는 것입니다.
 
 
 
작업 순서는 대충 이렇습니다.
 
 
MouseDown 에서 현재 위치를 기억하고 플래그를 켭니다.
 
MouseMove 에서 if(플래그) 이면 이동 벡터를 계산한 다음 이미지를 다시 그려줍니다.
 
MouseUp 에서 플래그를 끕니다.
 
 
 다음과 같이 하시면 될 것 같네요.
 
        bool dragging = false;
        int x, y;
 
        private void pictureBox1_MouseDown(object sender, MouseEventArgs e)
        {
            dragging = true;
            
            x = e.X;
            y = e.Y;
        }
 
        private void pictureBox1_MouseMove(object sender, MouseEventArgs e)
        {
            if (dragging)
            {
                panel1.SuspendLayout();
                Point p = pictureBox1.Location;
                p.X += e.X - x;
                p.Y += e.Y - y;
                pictureBox1.Location = p;
                panel1.ResumeLayout();
 
            }
        }
 
        private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
        {
            dragging = false;
        }
 
 
출처: http://www.devpia.com/Forum/BoardView.aspx?no=47334&amp;amp;ref=47326&amp;amp;page=13&amp;amp;forumname=CSHARP_QA&amp;amp;stype=&amp;amp;KeyW=%c0%cc%b9%cc%c1%f6&amp;..]]></description>
			<pubDate>Tue, 24 Jun 2008 21:02:32 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>유저컨트롤을 투명하게 만들기</title>
			<link>http://blog.empas.com/p14406/29255121</link>
			<description><![CDATA[유저컨트롤을 투명하게 만들기 

[출처] 유저컨트롤을 투명하게 만들기|작성자 스티커
public void 유저컨트롤생성자(){
 
   SetStyle(ControlStyles.SupportsTransparentBackColor, true);    //투명스타일 설정
   this.BackColor = Color.Transparent;    //배경색 투명으로 설정
   UpdateStyles();        //스타일 업데이트
 
 
}
 

[출처] 유저컨트롤을 투명하게 만들기|작성자 스티커]]></description>
			<pubDate>Tue, 24 Jun 2008 21:01:42 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>[C#]보다 빠르게 썸네일이미지 만드는 방법</title>
			<link>http://blog.empas.com/p14406/29255113</link>
			<description><![CDATA[GOM Life Style Blog... Snowboard, C#, Life Styler | 곰보더 http://blog.naver.com/gboarder/90018733004

Written by Youngil Kim, C#.NET Developer
 
이번에는 System.Drawing.Image클래스에 있는 GetThumbnailImage메소드에 의해서 썸네일이미지를 만드는 방법을 소개할까 합니다.
 
이전에 팁으로 소개한 이미지파일을 빨리 읽는 방법을 소개한 적이 있는데 이번에는 그때 방법을 좀더 활용하는 케이스로서 FromStream메소드와 GetThumbnailImage메소드를 사용하여 만들어보겠습니다. 또한, Exif정보로부터 썸네일이미지를 얻는 방법도 알아보겠습니다.
 
- FromFile 메소드 + GetThumbnailImage 메소드
이 예제는 C:\TEMP에 있는 JPEG이미지를 순서대로 읽어 Image객체를 만들고 이를 통해 120*100픽셀의 썸네일이미지를 만들어 파일로 저장합니다. 모든 처리에 관련된 시간체크는 Stopwatch클래스로 측정합니다.
참고로 최근 디지탈카메라로 찍은 JPEG이미지는 사이즈의 썸네일이미지 Exif정보를 가지고 있을 것입니다.
 
[BasicThumbnail.cs]
using System;using System.Collections.Generic;using System.IO;using System.Drawing;using System.Diagnostics;
namespace BasicThumbnail{    class Program    {        static void Main(string[] args)        {             string dir = @&quot;C:\Temp&quot;;             string[] jpgfile = Directory.GetFiles(dir, &quot;*.jpg&quot;);
             Stopwatch sw = Stopwatch.StartNew();
             foreach(string jpg in jpgfile)            {                Console.WriteLine(jpg);                Image org = Image.FromFile(jpg);
                Image tn = org.GetThumbnailImage(120, 100, dele..]]></description>
			<pubDate>Tue, 24 Jun 2008 21:00:40 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[자바스크립트]]></category>
			<title>Unicode Whitespace Trim 구현하기(Javascript)</title>
			<link>http://blog.empas.com/p14406/29255069</link>
			<description><![CDATA[한국에서는 그다지 사용할 일이 없는 스크립트 이지만 , 일본에서는 히라가나체로 글을 작성할때 공백이 2바이트가 된다.(기존 공백은 0x20 인데 일본에서는 0x0020 으로 입력이 된다)그런데 이게 기존 자바스크립트의 String.trim() 으로 제거가 되지 않는다.그래서 , 새로 구현해야 했다.정규식을 이용해서 처리하였다.function trimRe(text) {    text = '\u0020\u0020\u0020\u0020\u0020' + text + '\u0020\u0020\u0020' + text +'\u0020';    alert(text);     text = text.replace(/^[ \u0020]+|[\u0020]+$/g, '');    alert(text);}위와 같이 처리하면 중간의 unicode 공백 값은 변하지 않은채 , 앞뒤의 공백만 제거 된다.즉 의도했던 trim 효과를 가져올수 있다 난다.]]></description>
			<pubDate>Tue, 24 Jun 2008 20:56:20 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>Proxy Server 를 사용하는 클라이언트의 원 주소를 가져오는 방법.</title>
			<link>http://blog.empas.com/p14406/29255047</link>
			<description><![CDATA[우리나라에서는 드물지만 , 네트워크 망이 원활하지 않은 여러 나라들은 (유럽의 몇몇 나라가 이런식의 서비스를 진행한다고 한다)상당히 많은 수가 프락시 서버(Proxy)를 통해서 서비스를 진행한다고 한다.그래서 웹서버에서 사용자의 IP 주소를 해더를 통해서 인식할때프락시서버의 IP주소가 반환되는 문제가 있다.이것이 , 만약 클라이언트 서비스 + 서버 서비스를 동시에 이용하는 서비스이고 , 두개간의 상호작용의 키값으로 IP값을 이용한다면 문제가 발생한다.(꼭 그렇지 않더라도 , 통계수집에서 문제가 발생할수 있다.  호출한곳은 영국인데 프락시 서버의 주소는 아랍 에미레이트 따위-_-  로 나온다(진짜다!))즉 다음과 같은 현상이 발생한다. 
클라이언트 서비스 ㅡ&amp;gt; 소켓으로 넘겨준 IP Address(원래의 클라이언트 IP)웹 서비스 ㅡ&amp;gt; 프락시 서버 ㅡ&amp;gt; 프락시서버의 IP Address결과적으로 Request.ServerVariables[&quot;REMOTE_ADDR&quot;] 혹은 Request.UserHostAddress 로 불러들이는 해더 값은 프락시 서버의 IP주소가 전달되어 , 결과적으로 클라이언트의 IP와 불일치가 되서 , 인증이 진행되지 않는다.(혹,  GUID 등으로 인증하라는 의견이 있다면 .... 이미 그것도 하고 있다 ^^)이럴때 프락시 서버에 접속한 원 IP를 전달해주는 헤더 값이 있으니.. 그것이 바로
Request.ServerVariables[&quot;HTTP_X_FORWARDED_FOR&quot;]이놈이다. 단 이넘은 프락시 서버를 경유하지 않는경우는 NULL값을 리턴한다.즉 루틴을 다음과 같이 작성하면 , 항상 원래 클라이언트의 IP주소를 가져올수 있다
public String IpAddress(){        string strIp;        strIp = Request.ServerVariables[&quot;HTTP_X_FORWARDED_FOR&quot;];        if (strIp == null)        {           ..]]></description>
			<pubDate>Tue, 24 Jun 2008 20:54:26 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>URL 분석을 위한 System.Uri 클래스</title>
			<link>http://blog.empas.com/p14406/29199630</link>
			<description><![CDATA[URL 분석을 위한 System.Uri 클래스 
www.wssplex.net가끔 프로그래밍을 하다보면 URL 분석을 할 경우가 필요하다. 이럴때 정말 유용한 클래스 하나를 소개하겠다. 바로 System.Uri 클래스 이다. 자. 백문이불여일타 이다. 아래와 같이 코딩해보자
using System;namespace StartSocket{    class Class1    {        [STAThread] static void Main(string[] args)        {            string taeyoUrl=&quot;http://www.taeyo.pe.kr/threadboard/Content.asp?table=Board_Asp&amp;amp;seqs=93626&amp;amp;page=1&quot;;            Uri uri = new Uri(taeyoUrl);            Console.WriteLine(&quot;Host : &quot; + uri.Host);             // www.taeyo.pe.kr            Console.WriteLine(&quot;URL Query : &quot; + uri.Query);            //?table=Board_Asp&amp;amp;seqs=93626&amp;amp;page=1&amp;amp;IsSearch= 쿼리가 출력된다.            Console.WriteLine(&quot;Host Type:&quot; + uri.HostNameType);             // Dns 가 출력된다. IP 인경우 IPv4 로 출력된다.            Console.WriteLine(uri.AbsolutePath);             //threadboard/Content.asp 절대 경로가 출력된다.        }    } Url 에 대한 정보를 상세하게 분석하여 필요한 정보를 대부분 string 형태로 얻어올 수 있다 정말 유용한 클래스 이다.출처: http://www.taeyo.net/lecture/NET_01/NetSocket02.asp]]></description>
			<pubDate>Sat, 21 Jun 2008 12:01:35 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[C#]]></category>
			<title>GeoIP 를 이용해서 전세계 IP 할당 지역(국가 및 도시) 확인</title>
			<link>http://blog.empas.com/p14406/29199607</link>
			<description><![CDATA[GeoIP 를 이용해서 전세계 IP 할당 지역(국가 및 도시) 확인 
www.wssplex.net이미 수많은 개발자 및 서버들에서 이용되고 있는걸 저도 한번 해봤습니다...^^ 샘플코드가 있으니 뭐 딱히 할꺼라론....전세계의 IP 할당에 관련된 최신 데이터 베이스는 http://www.maxmind.com/ 에서 구할수가 있습니다. 물론 상용버젼도 있으나 Free 버젼도 일반적인 상황에서는 훌륭 합니다.샘플코드 : http://www.maxmind.com/app/apiDB파일 : http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz특히 Linux 계열에서는 GeoIP 를 방화벽에서 컴파일을 통한 모듈 추가를 해서, 특히 중국측 IP 대역을 차단하는데 많이들 이용하는 것 같습니다.iptables -A INPUT -m geoip ! --src-cc KR -j DROP다음은, 예제 코드에 있는 내용중 일부 입니다.
using System.IO;using System.Net;string IpAddress = Request.UserHostAddress;CountryLookup cl = new CountryLookup(Server.MapPath(&quot;/&quot;) + &quot;GeoIP_200805.dat&quot;);Literal_GeoIp.Text = cl.lookupCountryName(IpAddress);샘플코드에 있는 클래스는 별도로 만들어도 상관 없고요...public partial class CountryLookup 처럼 해도 되고,. 그대로 쓰면 됩니다.IP 주소는 숫자형으로 변환을 해야 합니다.
private long addrToNum(IPAddress addr){        long ipnum = 0;        byte[] b = BitConverter.GetBytes(addr.Address);        for (int i = 0; i &amp;lt; 4; ++i)        {            long y = b[i];            if (y &amp;lt; 0)            {                y += 256;            }            ipnum += y &amp;lt;&amp;lt; ((3 - i) * 8);        }        Console.WriteLine(ipnum);        return ipnum;}그외,. http://www.ip2na..]]></description>
			<pubDate>Sat, 21 Jun 2008 12:00:01 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[좋은사이트]]></category>
			<title>.NET Sites</title>
			<link>http://blog.empas.com/p14406/29199441</link>
			<description><![CDATA[.NET Sites 



Technology PointC#, VB.NET, and .NET Tutorials and Training. 


Know Dot Net.NET site 


The .NET Collectiveplaces to find software and information for Microsoft .NET developers. 


.NET Developers.NET Developers is a community web site, devoted to bringing you the best free information available on .NET development. 


WindojitsuShawn A Van Ness site with .NET and Win32 resources. 


.NET Training Modules at Dev HoodThese learning modules have been provided by Wintellect who specialize in training services for Microsoft technologies. These training modules are a great way to get started in .NET as well as enhance your skills if you are already an experienced developer. 


Error Bank.NET Error Repository. 


www.rwendi.com/This website belongs to Rendy Wendi, and is hosted by www.christianasp.com. It may seems like another personal website, but its main focus will be on the content of Microsoft .NET technology. 


Windows Forms TutorialsSet of free tutorials for learning Windows Forms. 


.NET D2D.comDotNetD2D.com is your one-stop resource center for Microsoft .NET developers. This .NET site contains valuable tips, articles, news, discussion forums relating to Microsoft .NET technology with topics including ASP.NET, Visual Basic, .NET framework, web development, C#, components and much more. 


CarlProthman.netCarl Prothmans excellent site with connection strings and other valuable ADO.NET resources. 


Codersource.n..]]></description>
			<pubDate>Sat, 21 Jun 2008 11:51:49 +0900</pubDate>
		</item>
		<item>
			<category><![CDATA[좋은사이트]]></category>
			<title>C Sharp Sites</title>
			<link>http://blog.empas.com/p14406/29199412</link>
			<description><![CDATA[C Sharp Sites 



FunctionX C# PageC# Tutorials and C# Code Examples 


MSDN Visual C# Developer CenterMicrosoft's developer site, dedicated to the C# Pr 


The C# LanguageMSDN Resource for C# Language introduction and tut 


BrainBell.comFree Tutorials 


GeekpediaC# Tutorials 


The HitmillAnnotated C# resource site for C# programmers; includes links to courses, chats, C# articles, C# white papers, C# books,e-books, courses, discussions, C# newsgroups, articles, C# whitepapers, products, tools, code examples, and the topic of C# and Web Services. 


DevelopersDex.comC# Resource Index Page 


MonoC# Compiler and other resources developed by the open-source Mono Project 


4GuysFromRolla.comC# Resources Page 


fincher.orgCode-based C# Tutorial 


Overview of C#Language Overview by Jesse Liberty 


ProgrammersHeaven.comC# Zone at Programmers Heaven 


About.comC# for Beginners 


LearnVisualStudio.NETVideo Tutorial Library - Beginning C# 


TechInterviews.comC# Interview Questions 


Richard BaldwinC# Tutorial 


David HaydenC# Articles and Web log 


Exforsys Inc.C# Tutorials 


WebReference.comC# Links and Resources 


DeitelC# Programming Resource Center 


Go4ExpertC# Tutorials and Source Code 


InfoQAll content and news on InfoQ about C# 


AlienPicks.comFree C# Downloads 


Urban DictionaryDefinitions for C# 


TooBlooThere are 700 articles &amp;amp; tutorials regarding &quot;C#&quot; ..]]></description>
			<pubDate>Sat, 21 Jun 2008 11:50:14 +0900</pubDate>
		</item>
	</channel>
</rss>
