virtual box linux 로딩후 putty로 사용하기
● 아이피 확인 ● 머신-> 설정 -> 네트워크 ● 포트 포워딩 (p) -> 원격할 포트2222 //게스트 가상머신 포트22 ● putty 포트 2222로 접속
● 아이피 확인 ● 머신-> 설정 -> 네트워크 ● 포트 포워딩 (p) -> 원격할 포트2222 //게스트 가상머신 포트22 ● putty 포트 2222로 접속
참조 : http://stackoverflow.com/questions/4791794/client-to-send-soap-request-and-received-respons
아웃룩 오류코드 모음 1. 지정한 암호가 거부 되었습니다. (서버오류 : 0x800CCC90 , 오류번호 : 0x800CCC92) -> 아이디(ID)에 사용하는 비밀번호(암호)가 틀리거나, 보내는 메일서버(SMTP)의 경우 인증체크를 하기 […]
______________C# sample________________
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
using System; using System.Collections.Generic; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.IO; - 중간 생략 - public XmlElement ...... { XmlDocument docXml = new XmlDocument(); XslCompiledTransform xslt = new XslCompiledTransform(); StringWriter stringWriter = new StringWriter(); docXml = new XmlDocument(); docXml.PreserveWhitespace = false; docXml.LoadXml(resultXML); xslt.Load(Server.MapPath("XSLTDefault.xslt")); xslt.Transform(docXml, null, stringWriter); docXml.LoadXml(stringWriter.ToString()); return docXml.DocumentElement; } |
|
1 2 3 |
cat /etc/apt/sources.list |
sudo vi /etc/apt/sources.list.d/ferramroberto-java-precise.list //확인 및 삭제 apt-get clean cd /var/lib/apt mv lists lists.old mkdir -p lists/partial apt-get clean apt-get update 또는 http://kr.archive.ubuntu.com 를 http://ftp.daum.net 으로 변경 […]
http://www.google.com/ncr
svchost.exe의 기능과 바이러스 대책.
두 날짜 비교해서 달수 구하기따로 함수가 없어 만들었는데. 문제는 달마다 마지막 일이 다르다는것=> MS에서도 모호해서 함수를 만들지 않은 것 같음
LIMIT_N : 컬럼명 PATINDEX 와일드카드(패턴) 사용법 와일드카드 설명 % 0개 이상의 문자를 가진 문자열 _ 임의의 한 문자 [ ] 문자 클래스 (대괄호에 포함된 한 문자) […]
대문자 2글자 추출
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
using System; using System.Text.RegularExpressions; class Program { static void Main() { // Part 1: the input string. string input = "abcABC1234567ㅏㅣ"; // Part 2: call Regex.Match. Match match = Regex.Match(input, @"[A-Z]{2}", RegexOptions.IgnoreCase); // Part 3: check the Match for Success. if (match.Success) { // Part 4: get the Group value and display it. string key = match.Groups[0].Value; Console.WriteLine(key); } } } //AB |
다음은 숫자만 추출할때 쓰면 된다. 반드시 숫자가 하나이상 있어야 됨.
|
1 2 3 4 5 6 7 |
using System.Text.RegularExpressions;</code> string strText = "abc1234567ㅏㅣ" string strNum = ""; strNum = Regex.Replace(strText, @"\D", ""); |
=> 1234567 닷넷 정규식에서 \d는 숫자. \D는 숫자가 아닌 문자를 […]
c# – Append XML string block to existing XmlDocument – Stack Overflow.
HP Communities – HP xw4300 workstation Windows XP installation fail… – Enterprise Business Community.
hadoop 다운로드 : Index of /hadoop/common/hadoop-1.1.2. single node 세팅 방법 : http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-single-node-cluster/
① 한글만 입력(자판이 영문모드여도 자동으로 한글 전환)
|
1 2 3 |
style='ime-mode:active' |
② 영문만 입력(자판이 한글모드여도 자동으로 영문 전환)
|
1 2 3 |
style='ime-mode:inactive' |
③ 한/영 전환가
|
1 2 3 |
style='ime-mode:auto' |
④ 한글사용불가
|
1 2 3 |
style='ime-mode:disabled' |
⑤ 한글모드 […]
string strWithTabs = “here is a string with a tab”; // tab-character char tab = ‘\u0009’; String line = strWithTabs.Replace(tab.ToString(), ” “);
환경 OS : Ubuntu / CentOS MYSQL : 5.6 version 특정 사용자 계정의 외부접속 허용하기 – 여기서는 root 를 예로 든다. 1. mysql 접속 후 […]
InfraRecorder 사용 방법 : CD/DVD 버닝 프로그램 :: 네이버 블로그.
Copyright © 2025 | WordPress Theme by MH Themes