SQL Server 2005 주의대상 시 복구 방법
*SQL Server 2005 주의 대상 (Suspect) DB 복구 방법 데이터베이스 엔진 연결 권한 거부로 한다음 다음 명령어 실행. EXEC sp_resetstatus ‘yourDBname’; ALTER DATABASE yourDBname SET […]
*SQL Server 2005 주의 대상 (Suspect) DB 복구 방법 데이터베이스 엔진 연결 권한 거부로 한다음 다음 명령어 실행. EXEC sp_resetstatus ‘yourDBname’; ALTER DATABASE yourDBname SET […]
디비 컬럼 수정이 안될때 다음과 같이 조치
64비트 버전의 Windows에서 32비트 DLL을 등록할 때 오류가 발생하는 경우 다음을 수행합니다. 관리자 권한 명령 프롬프트를 엽니다. 32비트 DLL이 %systemroot%\System32 폴더에 있으면 %systemroot%\SysWoW64 폴더로 옮깁니다. […]
아래와 같은 공격이 있는 경우 서버 및 사이트 멈춤 root@localhost:/var/log/apache2# cat access.log 62.204.144.62 – – [16/Jul/2014:18:59:45 +0900] “POST /xmlrpc.php HTTP/1.1” 404 530 “-” “Mozilla/4.0 (compatible; […]
64bit에서 vba 매크로가 되지 않는경우 소스 수정 필요. http://stackoverflow.com/questions/5506912/how-should-i-make-my-vba-code-compatible-with-64-bit-windows
MSSQL Output in XML using For XML « Naveen’s Weblog. http://technet.microsoft.com/en-us/library/ms345137(SQL.90).aspx#forxml2k5_topic8
|
1 2 3 |
<span style="color: #0000ff; font-size: small;">select</span><span style="font-size: small;"> FirstName</span><span style="color: #808080; font-size: small;">,</span><span style="font-size: small;">LastName </span><span style="color: #0000ff; font-size: small;">from</span><span style="font-size: small;"> Employee </span><span style="color: #0000ff; font-size: small;">for <span style="color: #0000ff; font-size: small;">xml <span style="color: #0000ff; font-size: small;">AUTO </span></span></span><span style="color: #808080; font-size: small;">, </span><span style="color: #0000ff; font-size: small;">elements</span> |
Table of entities Hex C Name Ent Ref 0x0022 “ QUOTATION MARK " " 0x0026 & AMPERSAND & & 0x0027 ‘ APOSTROPHE ' ' 0x003c […]
스크립트를 실행하려면 XsltSettings.EnableScript 속성을 사용하십시오
|
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 |
using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.IO; // // XmlDocument xml = new XmlDocument(); Xml.PreserveWhitespace = false; XslCompiledTransform xslt = new XslCompiledTransform(); StringWriter stringWriter = new StringWriter(); xml.PreserveWhitespace = false; xml.LoadXml(sParsing); //XML xslt.Load(Server.MapPath("ET_KR.xslt"), XsltSettings.TrustedXslt, new XmlUrlResolver()); //WEB //XmlReaderSettings settings = new XmlReaderSettings(); //XmlReader reader = XmlReader.Create(@"D:\Test\ET_KR.xslt", settings); //xslt.Load(reader, XsltSettings.TrustedXslt, new XmlUrlResolver()); //Application xslt.Transform(xml, null, stringWriter); //return stringWriter.ToString(); |
인터넷을 인쇄하거나 인쇄 미리보기에서 빈 화면 (백지)로 표시되는 경우가 있습니다. 이 경우 아래쪽 인터넷 주소 (URL)은 file:\~~~ \temp\Low\ ~~.html 로 표시됩니다. 이 문제는 %Temp% 폴더에 […]
|
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 28 |
public static class TestEmail { /// <summary> /// Regular expression, which is used to validate an E-Mail address. /// </summary> public const string MatchEmailPattern = @"^(([\w-]+\.)+[\w-]+|([a-zA-Z]{1}|[\w-]{2,}))@" + @"((([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]? [0-9]{1,2}|25[0-5]|2[0-4][0-9])\." + @"([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]? [0-9]{1,2}|25[0-5]|2[0-4][0-9])){1}|" + @"([a-zA-Z0-9]+[\w-]+\.)+[a-zA-Z]{1}[a-zA-Z0-9-]{1,23})$"; /// <summary> /// Checks whether the given Email-Parameter is a valid E-Mail address. /// </summary> /// <param name="email">Parameter-string that contains an E-Mail address.</param> /// <returns>True, when Parameter-string is not null and /// contains a valid E-Mail address; /// otherwise false.</returns> public static bool IsEmail(string email) { if (email != null) return Regex.IsMatch(email, MatchEmailPattern); else return false; } } |
참조 : http://www.codeproject.com/Articles/22777/Email-Address-Validation-Using-Regular-Expression
[ Sendmail Relay 기능 설정하기 ] 참조 : https://qmail.jms1.net/relay.shtml Qmail도 릴레이는 기본적으로 안되게 되어있습니다. local과 virtual domains에 있는 도메인 네임들에 있는 완전 도메인네임들을 /var/qmail/control/rcpthosts파일에 적기 […]
SWT Widgets.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<xsl:function name="functx:replace-multi" as="xs:string?" xmlns:functx="http://www.functx.com"> <xsl:param name="arg" as="xs:string?"/> <xsl:param name="changeFrom" as="xs:string*"/> <xsl:param name="changeTo" as="xs:string*"/> <xsl:sequence select=" if (count($changeFrom) > 0) then functx:replace-multi( replace($arg, $changeFrom[1], functx:if-absent($changeTo[1],'')), $changeFrom[position() > 1], $changeTo[position() > 1]) else $arg "/> </xsl:function> |
|
1 2 3 4 5 6 7 |
<xsl:variable name="fr" select="('[a-c]', 'def', '\d+')"/> <xsl:variable name="to" select="('x', 'y', '0')"/> XPath Example Results functx:replace-multi('abcdef123',$fr,$to) xxxy0 |
참조 : http://www.xsltfunctions.com/xsl/functx_replace-multi.html 더 간단한 방법
|
1 2 3 4 5 |
var data = "abc/def/gh"; var result = data.replace(/\//gi, ''); console.log('결과', result); // abcdefgh |
참조 : http://www.codejs.co.kr/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%97%90%EC%84%9C-replace%EB%A5%BC-replaceall-%EC%B2%98%EB%9F%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0/
BaseX | The XML Database. 1. 대규모 XML 데이터 관리 및 분석 2. 웹 애플리케이션 및 서비스 개발 3. 데이터 변환 및 통합 4. 교육 […]
http://tuxguitar.herac.com.ar/ gp3 플레이어
[법원] 민사소송 출석명령서입니다. 라고 문자 날라와서. 크롬으로 사이트 들어가 보니 <script>location.replace(‘https://www.dropbox.com/s/ev44e5vwd8joyac/16yk.apk?dl=1’);</script> 16yk.apk 파일 다운로드 되네요. 아이폰에는 안갈리겠고 안드로이드용 입니다. 털림 1.특정 SMS 계정 털림 (국내) […]
C-1 fully-enclosed self-balancing motorcycle – YouTube. SPECIFICATIONS: year: 2014 Model: Motors price: $ 24000 Horsepower @ RPM: 54 Top Speed: 118 mph 0-100 time: 7 sec.
라즈베리파이 변신의 힘…슈퍼컴까지? – 지디넷코리아.
라즈베리 파이, 더 작아진 산업용 모듈 출시 계획 via 라즈베리 파이, 더 작아진 산업용 모듈 출시 계획 – IT World Korea.
Copyright © 2026 | WordPress Theme by MH Themes