??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲精品在线免费,国内精品伊人久久久久影院对白,国产青青草在线http://www.aygfsteel.com/wintys/zh-cnSat, 17 May 2025 00:16:45 GMTSat, 17 May 2025 00:16:45 GMT60CentOS6.3(Linux)盘安装步骤http://www.aygfsteel.com/wintys/archive/2013/01/22/linux_centos6_install_in_hard_disk.html天堂露珠天堂露珠Tue, 22 Jan 2013 07:20:00 GMThttp://www.aygfsteel.com/wintys/archive/2013/01/22/linux_centos6_install_in_hard_disk.htmlhttp://www.aygfsteel.com/wintys/comments/394562.htmlhttp://www.aygfsteel.com/wintys/archive/2013/01/22/linux_centos6_install_in_hard_disk.html#Feedback1http://www.aygfsteel.com/wintys/comments/commentRss/394562.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/394562.htmlCentOS6.3(Linux)盘安装步骤Q?br />
【作者】:Wintys (wintys@gmail.com)
【时间】:2013-01-20
【参考】:centos6.3三种安装ҎQU盘,盘Q光盘) Q?http://www.springzoo.com/linux-basic/402.html Q从原文修改而来。)

1、腾Z个或者重新划分一个E盘,大小定义?G可以了Q注意一定要于32G。用FAT32格式化这个盘?br /> 注意Q这个分区是CentOS盘安装源ISO文g所在的分区Q就相当于U?光盘安装时的U?光盘。最l的CentOSpȝq不能安装在q个分区中,需要新Z个FAT32分区用于安装CentOS。另外,Linuxq需要一?G左右的swap分区。所以一p准备3个分区,大小分别为:swap分区(2G)、Linuxpȝ分区(10G+)、安装源分区(5G)。最l的pȝ是安装在"Linuxpȝ分区"的。Linux也不能识别NTFS分区Q所以相关的分区都要格式化成FAT32?br />
2、下载DVD镜像文gCentOS-6.3-i386-bin-DVD1.isoQ放入E盘,把里面的ioslinux文g夹中的vmlinuz和initrd.img文gQ以及images文gҎ取出来,解压到和CentOS镜像文g相同的目录。解压完后E盘应该有四个文gQCentOS-*.iso、vmlinuz、initrd.img、images?br />
3、打开EasyBCDQAdd New Entry –> NeoGrub — > Install –> ConfigureQ?q时会弹Z个txt文gQ在其中输入Q?br />
title install centos6.3

kernel (hd0,4)/vmlinuz

initrd (hd0,4)/initrd.img

注:因ؓ我装windows7的时候系l自带分了一?00M的启动分区,代号为hd0Q那么C盘代号就?hd0,1)了,以此cLQ我的Win 7 分成了C盘系l盘和D盘,那么E盘ؓ逻辑分区W一个分区,那么是(hd0,4)了?br /> 注意Q选择安装CentOSq程中,可能会出?Can not mount selected partition"{错误信息,那么可能?hd0,4)需要修改,比如修改?hd0,5){,可逐一试?br />
5、关闭,重启后选择安装CentOS6.3Q选择CentOS-*.iso文g所在的目录?br /> 注意Q?br /> a.我的电脑是华的Q选择安装CentOSӞq入安装状态,输出一堆命令行信息Q最l会卡在"registered taskstats version1"处。解x法:q入BIOS->security->I/O interface securityQ将其中的选项new card interface改ؓlocked?br />

附:Win7中引导Linux
1、正常安装Win7到C盘,q激zR?br /> 2、正常安装Linux到其它分区,最后要求写入GRUBӞ选择Linux的挂载点?的分区。这一步很重要Q因为GRUB写入Linux所在分Z会将MBR的GRUB覆盖?br /> 3、这时Win7可以正常启动Q但是没有选项来选择q入Linux?br /> 4、下载EasyBCD 2.2Q在EasyBCD中,“d新条?#8221;里,选择Linux/BSD选项卡,cd选择Grub(Legacy)Q名UCQ意,驱动器选Linux所在分区。这里选择的分和刚才安装Linux时GRUB安装位置一致。最后选择“d条目”保存讄。点?#8220;查看讄”可以看C个选项Q一个是Win7Q一个是刚徏的Linux?br /> 5、重启,完成?br /> 6、重装Win7后,可以再次使用EasyBCD来完成修复Linux的GURB。重装Linux后,q是GRUB安装到Linux分区QWin7无需改变卛_?br />

天堂露珠 2013-01-22 15:20 发表评论
]]>
[原]命o行运行class文g出现NoClassDefFoundErrorhttp://www.aygfsteel.com/wintys/archive/2012/02/14/java_noclassdeffounderror_httpentity.html天堂露珠天堂露珠Tue, 14 Feb 2012 08:03:00 GMThttp://www.aygfsteel.com/wintys/archive/2012/02/14/java_noclassdeffounderror_httpentity.htmlhttp://www.aygfsteel.com/wintys/comments/369952.htmlhttp://www.aygfsteel.com/wintys/archive/2012/02/14/java_noclassdeffounderror_httpentity.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/369952.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/369952.html[标题]:[原]命o行运行class文g出现NoClassDefFoundError
[旉]:2012-02-14
[摘要]:Java命oq行E序时出现java.lang.NoClassDefFoundError: org/apache/http/HttpEntity?br /> [关键字]: Java、package、Jar、运行、error、class-path、库、HttpClient
[文章~号]:暂无
[环境]: JDK 7.0
[作者]: Wintys  (wintys@gmail.com)

[错误]:
    q行命o行:
    java  NetLogin -cp .;commons-codec-1.4.jar;commons-logging-1.1.1.jar;httpclient-4.1.3.jar;httpclient-cache-4.1.3.jar;httpcore-4.1.4.jar;httpmime-4.1.3.jar
    出现如下错误Q?br />
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/http/HttpEntity
        at java.lang.Class.getDeclaredMethods0(Native Method)
        at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
        at java.lang.Class.getMethod0(Unknown Source)
        at java.lang.Class.getMethod(Unknown Source)
        at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.http.HttpEntity
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 6 more

[原因&解决]:
    被运行的E序~译正常通过Q运行却出现了NoClassDefFoundErrorQ不知道是哪里出错了。找了半天,发现~译E序的命令行有问题,-cp参数应放到类名前面来Q?br />
    java  -cp .;commons-codec-1.4.jar;commons-logging-1.1.1.jar;httpclient-4.1.3.jar;httpclient-cache-4.1.3.jar;httpcore-4.1.4.jar;httpmime-4.1.3.jar NetLogin

原创作品Q{载请务必保持原文完整性ƈ注明出处?br /> 作?wintys (wintys@gmail.com)
博客:http://www.aygfsteel.com/wintys


天堂露珠 2012-02-14 16:03 发表评论
]]>
[原]手动打包JAR为可执行文ghttp://www.aygfsteel.com/wintys/archive/2012/02/13/jar_package.html天堂露珠天堂露珠Mon, 13 Feb 2012 12:35:00 GMThttp://www.aygfsteel.com/wintys/archive/2012/02/13/jar_package.htmlhttp://www.aygfsteel.com/wintys/comments/369892.htmlhttp://www.aygfsteel.com/wintys/archive/2012/02/13/jar_package.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/369892.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/369892.html[标题]:[原]手动打包JAR为可执行文g
[旉]:2012-02-13
[摘要]:打包JAR的步骤、JAR包内部的资源讉K以及MANIFEST.MF文g格式注意事项?br /> [关键字]: Java、package、打包、Jar、manifest、可执行文g
[文章~号]:暂无
[环境]: JDK 7.0
[作者]: wintys  (wintys@gmail.com)

[正文]:
0、背?br />     管IDE自动打包JAR的功能已l很强大Q但是手动打包JAR的步骤和注意事项也得心知肚明。对于简单的CZE序Q用手动打包也很方ѝ?br />
1、打包JAR
    1.1 建立清单文g
    以下内容为文件内?nbsp;  
    清单文gMANIFEST.MF(在D:\test\class目录?:
    ==================
    Manifest-Version: 1.0   
    Main-Class: aQ主cȝ路径Q此选项可?如果希望在windows下双d执行Q必d)   
    Created-By: 1.7.0_02 (Oracle Corporation)(随便写,q个是创Zh名字)   
    ==================   

    1.2 打包   
    在D:\test\class\目录下执?nbsp;  
    jar cvfm classes.jar MANIFEST.MF *.*   

    以上命oclass下所有文件打包到classes.jar,生成在class目录下?nbsp;  

    1.3 执行   
    输入java -jar classes.jar执行  ?nbsp;  双击classes.jar卛_?

    1.4 另一U方?nbsp;  
    如果希望使用非JAR工具建立JAR文g, 使用WinRAR。首先还是需要徏立一个清单文?名字必须为MANIFEST.MF), 向此文g中写入同使用JAR 工具时一L内容, 接着需要徏立一个META-INF子目? 然后?MANIFEST.MF攑օ此目? 接着可以保持目录结构将所有这些内容?WinRAR 压羃?ZIP 格式的文Ӟ文g名取?xxx.jar 卛_?br />
2、需要注意的相关问题
2.1 JAR中的资源讉K
    E序的资源文??.gif, *.jpg, *.jpeg, *.properties {等)不能使用物理路径, 只能使用相对于当前类文g的相对资源\? 只有q样才能保证打包以后E序才能扑ֈq些资源文g. 那么, q些文g在打开的时候都要用下列语?
    URL url = getClass().getResource(String name);
    或?br />     InputStream in = getClass().getResourceAsStream(String name);

    例如:
    URL url = getClass().getResource("loading.gif");
    ImageIcon icon = new ImageIcon(url);
    其它的资源文件的使用也与此相? 不过属性文?*.properties)的? Java 自动会加?JAR 文g中的属性文? 例如:
ResourceBundle.getBundle("com.abc.test");
那么, q个文g只要攑֜ JAR 文g目录l构下的 com/abc/test.properties, Java p自动扑ֈq个文g.

2.2 清单文g的格?br /> MANIFEST.MF内容CZQ添加JAR库文Ӟ在Class-Path指明路径Q?
    Manifest-Version: 1.0   
    Class-Path: lib/commons-codec-1.4.jar lib/commons-logging-1.1.1.jar li
     b/httpclient-4.1.3.jar lib/httpclient-cache-4.1.3.jar lib/httpcore-4.
     1.4.jar lib/httpmime-4.1.3.jar    
    Created-By: 1.7.0_02 (Oracle Corporation)
    Main-Class: MyLogin

    a.清单文g文g条目的冒号后有一个空根{?br />     b.清单文gL以Manifest-Version属性开?br />     c.每行最?2个字W,如果过Q采用箋行。(手动写MANIFEST.MF时不受此限,用JAR.exe生成JAR包时会自动断行。)
    d.认每行都以回Rl束Q否则改行将会被忽略?br />     e.如果Class-Path 中的存在路径Q?/"分隔目录Q与q_无关?br />     f.Class-Path中的jar包之间用I格分隔Q而非分号?br />     g.如果库不打包入JARQ写成:Class-Path: ./lib/jacob.jar ./lib/jdom.jar ./lib/log4j.jar

[参考资料]:
    [1]*《命令行用JAR打包CALSS文g,很简单? http://www.diybl.com/course/3_program/java/javajs/20090407/164482.html
    [2] 《打包程序ؓ JAR 可执行文件?: http://www.moon-soft.com/doc/25438.htm
    [3] 《打jar把第三方的jar也打q去?: http://www.aygfsteel.com/soddabao/archive/2007/01/08/92455.html
    [4] 《Jar命o Manifest.mf的用法?: http://ganqing.iteye.com/blog/1138341
    [5] 《关?jar包中MANIFEST.MF 写法 ?: http://blog.csdn.net/happyhell/article/details/6639792
    [6]*《JAR File Specification?Oracle) : http://docs.oracle.com/javase/1.3/docs/guide/jar/jar.html#The%20META-INF%20directory
原创作品Q{载请务必保持原文完整性ƈ注明出处?br /> 作?wintys (wintys@gmail.com)
博客:http://www.aygfsteel.com/wintys


天堂露珠 2012-02-13 20:35 发表评论
]]>
Winty注册表系l设|?http://www.aygfsteel.com/wintys/archive/2010/06/15/misc_wintys_register_settings.html天堂露珠天堂露珠Tue, 15 Jun 2010 13:20:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/06/15/misc_wintys_register_settings.htmlhttp://www.aygfsteel.com/wintys/comments/323639.htmlhttp://www.aygfsteel.com/wintys/archive/2010/06/15/misc_wintys_register_settings.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/323639.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/323639.html阅读全文

天堂露珠 2010-06-15 21:20 发表评论
]]>
常用命ohttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_command.html天堂露珠天堂露珠Mon, 12 Apr 2010 04:28:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_command.htmlhttp://www.aygfsteel.com/wintys/comments/318043.htmlhttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_command.html#Feedback1http://www.aygfsteel.com/wintys/comments/commentRss/318043.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/318043.html
■验证MX记录的方?br /> 输入“nslookup -qt=mx 你的域名”Q比如gyqqmail.comQ,然后按回车键Q?br />
■用Firefox无须解压~直接浏览jar/zip文g
jar:file:///D:/filename.zip!/

■查看端口占用情?br /> C:\>netstat -aon|findstr "9050"
TCP    127.0.0.1:9050         0.0.0.0:0              LISTENING       2016
看到了吗Q端口被q程号ؓ2016的进E占用,l箋执行下面命oQ?br /> C:\>tasklist|findstr "2016"
tor.exe                     2016 Console                 0     16,064 K
很清楚吧Qtor占用了你的端口?/font>


天堂露珠 2010-04-12 12:28 发表评论
]]>
常用软ghttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_software.html天堂露珠天堂露珠Mon, 12 Apr 2010 04:19:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_software.htmlhttp://www.aygfsteel.com/wintys/comments/318041.htmlhttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_software.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/318041.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/318041.html常用软gQ?br /> SkyDrive SDExplorer、Navicat、XMLSpy、StarUML、ACDSee、UltraISO、Editplus、PDFCreator、CodeBlocks、WizExplorer

?strong>实用工具:
Recuva、Everything、Q-Dir、Picpick、EyeFoo?br />
?strong>常用Firefox插g:
ViewSourceWith、Fiddler、Firebug、GMarks、Greasemonkey、Stylish、HttpFox、Menu Editor、Personal Menu、SrapBook、Tab Mix Plus、wmlbrowser、WebDeveloper、Fox Splitter

?strong>Windows Live Writer 插gQ?br /> Attach File、Clipboard、Text Template?a >WintyCodeArea ?br />
■其它YӞ
Adobe Audition、Visual Sniffer





天堂露珠 2010-04-12 12:19 发表评论
]]>
常用讄http://www.aygfsteel.com/wintys/archive/2010/04/12/winty_settings.html天堂露珠天堂露珠Mon, 12 Apr 2010 04:15:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_settings.htmlhttp://www.aygfsteel.com/wintys/comments/318040.htmlhttp://www.aygfsteel.com/wintys/archive/2010/04/12/winty_settings.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/318040.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/318040.html ?strong>Google.com 中文: http://www.google.com/webhp?hl=zh-cn
?strong>51Job RSS订阅: http://my.51job.com/rss/Rss001.php
?strong>Google Public DNS: 8.8.8.8 and 8.8.4.4
?strong>Google Wap: http://www.google.com/m/search/?site=mobile
?strong>W一|?/strong>Qhttp://www.peizhi1.com/
?strong>FTP快捷方式:Z快捷方式Q在目标里面输入:"C:\WINDOWS\explorer.exe ftp://账号:密码@服务器地址/"


天堂露珠 2010-04-12 12:15 发表评论
]]>
Greasemonkey猴子脚本http://www.aygfsteel.com/wintys/archive/2010/03/23/css_greasemonkey1.html天堂露珠天堂露珠Tue, 23 Mar 2010 06:18:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/03/23/css_greasemonkey1.htmlhttp://www.aygfsteel.com/wintys/comments/316302.htmlhttp://www.aygfsteel.com/wintys/archive/2010/03/23/css_greasemonkey1.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/316302.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/316302.html // ==UserScript==
// @name           china_pub
// @namespace      wintys
// @include        http://www.china-pub.com/*
// ==/UserScript==

/*
功能:使china-pub目录可复制
旉:2009-05
Author: Winty
E-mail: wintys@gmail.com
*/


/*使可以复?/
var body = document.body;
body.setAttribute("onselect" , "");
body.setAttribute("oncopy" , "");
body.setAttribute("oncontextmenu", "");
body.setAttribute("onmouseup", "");
body.setAttribute("onmousemove", "");

/*去除防复制的无用字符*/
var white = document.getElementsByTagName("font");
for(var item = 0 ; item < white.length; item++){
    white[item].removeChild(white[item].childNodes[0]);
}





// ==UserScript==
// @name           qqshuqian
// @namespace      wintys
// @description     delete all bookmarks in qqshuqian
// @include        http://shuqian.qq.com/home/
// ==/UserScript==

//扚w删除QQ书签

//只需要修改begin ?end值即?br />
var frmDelete = document.getElementById("frmDelete");
var linkID = frmDelete.elements[0];

//计算linkID?br /> //linkID形如:"1626996,1626997,1626998,1626999"
//latest linkID-2009-8-3:1631912
var begin = 1632307;//1625972;
var end =    1633756;//1627177;
var linkIDvalue = "";
while(begin < end){
    linkIDvalue += begin + ",";
    begin++;
}
linkIDvalue += end;

//提交
linkID.value = linkIDvalue;
frmDelete.submit();
window.alert("finished");


天堂露珠 2010-03-23 14:18 发表评论
]]>
我的Stylish CSShttp://www.aygfsteel.com/wintys/archive/2010/03/23/css_stylish1.html天堂露珠天堂露珠Tue, 23 Mar 2010 06:10:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/03/23/css_stylish1.htmlhttp://www.aygfsteel.com/wintys/comments/316301.htmlhttp://www.aygfsteel.com/wintys/archive/2010/03/23/css_stylish1.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/316301.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/316301.html ■去?26邮箱q告的Stylish CSS:
@-moz-document domain("mail.126.com") {
/**去除126邮箱q告**/
/**wintys@gmail.com**/

/**********************/
/*逍遥3.0版界面去q告*/
/**********************/
#inboxFakeLetterDiv/*收g广?/,
#divWelcomeBody/*登陆面q告*/,
#RightAD/*邮g头广?/,
.rm_expand/*邮gֹ?/{
display:none;
}

/**********************/
/**极?.5版界面去q告**/
/*2010-05-01*/
/**********************/
.links .chl a[style] /*首页-剙q告链接*/,
#liWelcomeTab + li /*首页-今日新闻*/,
#divWelcomePanel .pan-news /*首页-今日新闻-内容*/,
#divWelcomePanel .prt1 .pic  /*首页-邮箱推荐-q告囄*/,
#welcomeSwf /*首页-flashq告*/,
.gWel-gg-2 /*首页-推广链接*/,
.part-sec a/*首页-每日p提示日期*/,
.part-sec .txt-info/*首页-每日p提示日期*/,
.gRead .g-dxgg/*收g?商业推广*/,
.mailinfo .gRead-floatgg/*收g?信g头广?/,
#draftFakeLetterDiv/*草稿?有道推广*/,
.gIbx-tablayout .simletter/*自定义文件夹-推广链接*/,
.cnav .tip-popup/*左边D?提示?/{
  display:none !important;
}
#divWelcomePanel .pan-recmd/*首页-邮箱推荐内容*/{
  display:block !important;
}


}



■去除china-pub目录q的Stylish CSSQ?br />
@-moz-document domain("china-pub.com") {
font[color="#ffffff"] , font[color="white"]{
  display:none;
}

}


天堂露珠 2010-03-23 14:10 发表评论
]]>
Winty's Windows Live Writer Styleshttp://www.aygfsteel.com/wintys/archive/2010/03/22/css_windowslivewritercss.html天堂露珠天堂露珠Mon, 22 Mar 2010 08:15:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/03/22/css_windowslivewritercss.htmlhttp://www.aygfsteel.com/wintys/comments/316185.htmlhttp://www.aygfsteel.com/wintys/archive/2010/03/22/css_windowslivewritercss.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/316185.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/316185.html阅读全文

天堂露珠 2010-03-22 16:15 发表评论
]]>
[原]ORACLE实验2007http://www.aygfsteel.com/wintys/archive/2010/03/10/database_oracle_2007.html天堂露珠天堂露珠Wed, 10 Mar 2010 05:46:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/03/10/database_oracle_2007.htmlhttp://www.aygfsteel.com/wintys/comments/315046.htmlhttp://www.aygfsteel.com/wintys/archive/2010/03/10/database_oracle_2007.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/315046.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/315046.html阅读全文

天堂露珠 2010-03-10 13:46 发表评论
]]>
[原]手机姓名U - NameShowhttp://www.aygfsteel.com/wintys/archive/2010/01/30/java_javame_nameshow.html天堂露珠天堂露珠Sat, 30 Jan 2010 13:48:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/01/30/java_javame_nameshow.htmlhttp://www.aygfsteel.com/wintys/comments/311343.htmlhttp://www.aygfsteel.com/wintys/archive/2010/01/30/java_javame_nameshow.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/311343.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/311343.html1、如果你的名字是生僻字,没法l成常见词,别h问vQ你得解释半天,最l还是要拿笔写出来别人才明白?
2、当你想向别人展CZ性签名时Q拿出纸质签名就太土了,也不方便?
3、当你需要展C名片时Q纸质名片没有带Q手机d了吧QNameShow派上用Z?

  阅读全文

天堂露珠 2010-01-30 21:48 发表评论
]]>
全球号召-拯救MySQLhhttp://www.aygfsteel.com/wintys/archive/2010/01/22/news_helpmysql.html天堂露珠天堂露珠Fri, 22 Jan 2010 14:49:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/01/22/news_helpmysql.htmlhttp://www.aygfsteel.com/wintys/comments/310562.htmlhttp://www.aygfsteel.com/wintys/archive/2010/01/22/news_helpmysql.html#Feedback1http://www.aygfsteel.com/wintys/comments/commentRss/310562.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/310562.html阅读全文

天堂露珠 2010-01-22 22:49 发表评论
]]>
一个面试题http://www.aygfsteel.com/wintys/archive/2010/01/18/job_12347152875489.html天堂露珠天堂露珠Mon, 18 Jan 2010 08:44:00 GMThttp://www.aygfsteel.com/wintys/archive/2010/01/18/job_12347152875489.htmlhttp://www.aygfsteel.com/wintys/comments/309968.htmlhttp://www.aygfsteel.com/wintys/archive/2010/01/18/job_12347152875489.html#Feedback5http://www.aygfsteel.com/wintys/comments/commentRss/309968.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/309968.html 我也不知道答案,大家x?br />


天堂露珠 2010-01-18 16:44 发表评论
]]>
[原]观察者模?Java自定义事?/title><link>http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer_event.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Sun, 11 Oct 2009 12:32:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer_event.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/297810.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer_event.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/297810.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/297810.html</trackback:ping><description><![CDATA[     摘要: java.util.EventListener <br>java.util.EventObject <br>javax.swing.event.EventListenerList  <a href='http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer_event.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/297810.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-10-11 20:32 <a href="http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer_event.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]观察者模?/title><link>http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Sun, 11 Oct 2009 11:56:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/297806.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/297806.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/297806.html</trackback:ping><description><![CDATA[     摘要: java.util.Observer <br>java.util.Observable  <a href='http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/297806.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-10-11 19:56 <a href="http://www.aygfsteel.com/wintys/archive/2009/10/11/pattern_observer.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]易Windows密码查看?/title><link>http://www.aygfsteel.com/wintys/archive/2009/10/10/cpp_passwordviewer.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Fri, 09 Oct 2009 16:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/10/10/cpp_passwordviewer.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/297612.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/10/10/cpp_passwordviewer.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/297612.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/297612.html</trackback:ping><description><![CDATA[<p>[标题]:易Windows密码查看?<br /> [旉]:2009-10-09 <br /> [摘要]:通过全局钩子获取当前鼠标处的H口控g句柄Q然后直接调用GetWindowText()获取密码文本?<br /> [关键字]:密码、查看、星受全局钩子、Hook、WM_COPYDATA、DLL、XP样式 <br /> [环境]:Visual Studio 2008、Visual C++ 6.0 <br /> [作者]:天堂露珠 (wintys@gmail.com) <a href="http://www.aygfsteel.com/wintys">http://www.aygfsteel.com/wintys</a> <br /> <br /> [正文]:</p> <p>    此密码查看器原理:通过全局钩子获取当前鼠标处的H口控g句柄Q然后直接调用GetWindowText()获取密码文本。工E在VC++6.0和VS2008中编译通过?</p> <h3>1、查看密码的DLL工程</h3> <p>    因ؓ查看密码功能要用到全局鼠标HookQ所以要把功能放C个DLL中?/p> <p>PasswordViewerMouseHookDLL.h:</p> <div id="wmqeeuq" class="mycode"> <p>#pragma once </p> <p>#ifdef PSWMOUSEHOOKDLL_API_EXPORTS <br /> #define PSWMOUSEHOOKDLL_API __declspec(dllexport) <br /> #else <br /> #define PSWMOUSEHOOKDLL_API __declspec(dllimport) <br /> #endif </p> <p>/* <br /> Winty:2009-09-29 <br /> 调用SetHook()讄HookQ但无需卸蝲HookQDLLMain中有清理?<br /> */ <br /> //My Declaration================================ <br /> #define MAXCOUNT 200 //密码最大长?<br /> #define DWDATA_PSW_NOTIFY 1 //COPYDATASTRUCT的dwData自定义?</p> <p>//密码信息l构体,用于发?<br /> typedef struct tagPswNotify <br /> { <br />     char psw[MAXCOUNT];//password/text <br />     POINT pt;//鼠标位置 <br />     HWND hWnd;//控g句柄 <br /> } PSWNOTIFY , *PPSWNOTIFY; </p> <p>/*extern表示q里只是变量声明Q变量定义在cpp文g?/ <br /> extern PSWMOUSEHOOKDLL_API BOOL g_bReadySend;//WM_COPYDATA互斥的标志,因ؓWM_COPYDATA不能重叠 <br /> extern PSWMOUSEHOOKDLL_API HWND g_hWnd; //接收消息的窗体句?<br /> extern PSWMOUSEHOOKDLL_API HHOOK g_hhk; //钩子句柄 <br /> extern PSWMOUSEHOOKDLL_API BOOL g_bView;//是否需要查看密?</p> <p>//鼠标钩子q程 <br /> PSWMOUSEHOOKDLL_API LRESULT CALLBACK MouseProc(int nCode, WPARAM wParam, LPARAM lParam ); <br /> //讄钩子(可在H口的OnInitDialog()中调? <br /> PSWMOUSEHOOKDLL_API void SetHook(HWND hWnd);</p> </div> <p>PasswordViewerMouseHookDLL.cpp:</p> <div id="wmqeeuq" class="mycode"> <p>#include "stdafx.h" </p> <p>#define PSWMOUSEHOOKDLL_API_EXPORTS <br /> #include "PasswordViewerMouseHookDLL.h" </p> <p>#include <stdio.h></p> <p>//q程间共享数?q要在链接器选项里添?"/SECTION:.MyShare,RWS" <br /> //? #pragma   comment(linker,"/SECTION:.MyShare,RWS")  <br /> //查看l果:dumpbin /headers *.DLL <br /> #pragma data_seg(".MyShare") <br /> HHOOK g_hhk = NULL;/*Hook句柄*/ <br /> HWND  g_hWnd = NULL;/*接收消息的窗口句?/ <br /> BOOL  g_bReadySend = TRUE;/*用于同步COPYDATA消息*/ <br /> #pragma data_seg() <br /> #pragma   comment(linker,"/SECTION:.MyShare,RWS") </p> <p>BOOL APIENTRY DllMain( HANDLE hModule, <br />                        DWORD  ul_reason_for_call, <br />                        LPVOID lpReserved <br />                      ) <br /> { <br />     switch (ul_reason_for_call) <br />     { <br />         case DLL_PROCESS_ATTACH: <br />             break; <br />         case DLL_PROCESS_DETACH: <br />             if(g_hhk != NULL) <br />             { <br />                 UnhookWindowsHookEx(g_hhk); <br />                 g_hhk = NULL; <br />                 g_hWnd = NULL; <br />             } <br />             break; <br />         case DLL_THREAD_ATTACH: <br />         case DLL_THREAD_DETACH: <br />             break; </p> <p>    } <br />     return TRUE; <br /> } </p> <p>LRESULT CALLBACK MouseProc( <br />                            int nCode,      // hook code <br />                            WPARAM wParam,  // message identifier <br />                            LPARAM lParam   // mouse coordinates <br /> ) <br /> { <br />     if(nCode == HC_ACTION) <br />     { <br />         PMOUSEHOOKSTRUCT pMouseHookStruct <br />             = reinterpret_cast<PMOUSEHOOKSTRUCT>(lParam); <br />         LONG x = pMouseHookStruct->pt.x; <br />         LONG y = pMouseHookStruct->pt.y; <br />         HWND hWnd = pMouseHookStruct->hwnd; </p> <p>        HWND hWndFromPoint = <strong>::WindowFromPoint</strong>(pMouseHookStruct->pt); </p> <p>        if(hWndFromPoint != g_hWnd  &&  g_bReadySend)//不能获取昄密码的文本框的内?<br />         { <br />             g_bReadySend = FALSE; <br />             char psw[MAXCOUNT]; <br />             ::GetWindowText(hWndFromPoint , psw , MAXCOUNT); <br />             PSWNOTIFY pswNotify; <br />             strcpy(pswNotify.psw , psw); <br />             pswNotify.pt.x = x; <br />             pswNotify.pt.y = y; <br />             pswNotify.hWnd = hWndFromPoint; </p> <p>            COPYDATASTRUCT cd; <br />             cd.lpData = &pswNotify; <br />             cd.cbData = sizeof(PSWNOTIFY); <br />             cd.dwData = DWDATA_PSW_NOTIFY; <br />             ::SendMessage(g_hWnd, <font color="#ff0000">WM_COPYDATA</font>, NULL , (LPARAM)(LPVOID)&cd); <br />         } <br />     } </p> <p>    return CallNextHookEx(g_hhk , nCode , wParam ,lParam); <br /> } </p> <p>void SetHook(HWND hWnd) <br /> { <br />     g_hWnd = hWnd; <br />     g_hhk = SetWindowsHookEx(WH_MOUSE , <br />                              MouseProc , <br />                              <strong>GetModuleHandle("PasswordViewerMouseHookDLL")</strong> , <br />                              NULL); <br /> }</p> </div> <p> </p> <p>    <font color="#ff0000">DLL要想密码消息发送到ȝ口显C,要用WM_COPYDATA消息(或其它进E间通信方式)Q否则会发送失败?/font>如果用WM_SETTEXTQ因为全局Hook发送的消息所带的字符串指针lParam可能不能被主H口讉KQ从而造成讉K异常?/p> <p>    g_bReadySend的设|是因ؓWM_COPYDATA消息不能q箋发送,必须{前一条消息取C后才能发送下一条消息?/p> <h3>2、显C密码的工程PasswordViewer</h3> <p>    创徏一个对话框工程PasswordViewer?/p> <p>使用DLL步骤:</p> <ul> <li>把PasswordViewerMouseHookDLL工程生成的PasswordViewerMouseHookDLL.dll、PasswordViewerMouseHookDLL.libQ以及PasswordViewerMouseHookDLL.h复制到PasswordViewer工程?<br /> [参考资料]: <br /> [附g]: </li> <li>在PasswordViewerDlg.cpp 中加?include "PasswordViewerMouseHookDLL.h"?pragma comment(lib , "PasswordViewerMouseHookDLL.lib") </li> </ul> <p>    如果要设|最后生成XP样式的窗口,得在PasswordViewerDlg.cpp 中加?/p> <div id="wmqeeuq" class="mycode"> <p>#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")</p> </div> <p> </p> <p> </p> <p>    PasswordViewerDlg.cpp主要代码为响应WM_COPYDATA消息Q把消息内容昄到窗口上:</p> <div id="wmqeeuq" class="mycode"> <p>BOOL CPasswordViewerDlg::OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct) <br /> { <br />     if(pCopyDataStruct->dwData == DWDATA_PSW_NOTIFY && !g_bReadySend) <br />     { <br />         PPSWNOTIFY pPswNotify = (PPSWNOTIFY)pCopyDataStruct->lpData; </p> <p>        CString strMousePosition; <br />         strMousePosition.Format("(%3d,%3d)" , pPswNotify->pt.x ,pPswNotify->pt.y); <br />         m_strMousePosition = strMousePosition; <br />         CString strPsw; <br />         strPsw.Format("%s" , pPswNotify->psw); <br />         m_strPsw = strPsw; <br />         CString strHWnd; <br />         strHWnd.Format("%p" , pPswNotify->hWnd); <br />         m_strHWnd = strHWnd; <br />         UpdateData(FALSE); </p> <p>        g_bReadySend = TRUE; </p> <p>        return TRUE; <br />     } <br />     else <br />     { <br />         CString str(_T("未发现窗?)); <br />         m_strPsw = str; </p> <p>        UpdateData(FALSE); </p> <p>        return CDialog::OnCopyData(pWnd, pCopyDataStruct); <br />     }    <br /> }</p> </div> <p> </p> <p>    别忘了要在CPasswordViewerDlg::OnInitDialog()中调用DLL的SetHook(m_hWnd)Q初始化全局钩子?/p> <h3>3、运?/h3> <p>    q行l果如图:</p> <p><a href="http://www.aygfsteel.com/images/blogjava_net/wintys/WindowsLiveWriter/1_11D15/cpp_PasswordViewer_4.jpg"><img style="border-width: 0px; display: block; float: none; margin-left: auto; margin-right: auto;" title="cpp_PasswordViewer" alt="cpp_PasswordViewer" src="http://www.aygfsteel.com/images/blogjava_net/wintys/WindowsLiveWriter/1_11D15/cpp_PasswordViewer_thumb_1.jpg" border="0" height="350" width="470" /></a> </p> <p align="center">【cpp_PasswordViewer.jpg?/p> <p>[附g]:</p> <p> </p> <div style="margin: 0px; padding: 0px; display: inline; float: none;" id="scid:F60BB8FA-6F02-4999-8F5E-9DD4E92C4DA7:3a281a8f-e72d-4343-9cec-4b8b3b1d6ac6" class="wlWriterEditableSmartContent"> <div><a href="http://www.aygfsteel.com/images/blogjava_net/wintys/WindowsLiveWriter/1_11D15/PasswordViewer.zip" target="_self">PasswordViewer.zip</a></div> </div> :  <p>PasswordViewer.exe、PasswordViewerMouseHookDLL.dll、工E源代码</p> <div class="wmqeeuq" id="mycopyright" style="border-width: 1px 0pt 0pt; border-top: 1px solid red; padding: 5px; margin-top: 5px;"> <span style="color: #ff0000;">原创作品Q{载请注明出处?br /> 作?Winty (wintys@gmail.com)<br /> 博客:http://www.aygfsteel.com/wintys</span> </div> <img src ="http://www.aygfsteel.com/wintys/aggbug/297612.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-10-10 00:08 <a href="http://www.aygfsteel.com/wintys/archive/2009/10/10/cpp_passwordviewer.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]开发自qWindows Live Writer插ghttp://www.aygfsteel.com/wintys/archive/2009/10/05/dotNET_WindowLiveWriter_WintyCodeArea.html天堂露珠天堂露珠Mon, 05 Oct 2009 11:26:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/10/05/dotNET_WindowLiveWriter_WintyCodeArea.htmlhttp://www.aygfsteel.com/wintys/comments/297273.htmlhttp://www.aygfsteel.com/wintys/archive/2009/10/05/dotNET_WindowLiveWriter_WintyCodeArea.html#Feedback1http://www.aygfsteel.com/wintys/comments/commentRss/297273.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/297273.html[标题]: 开发自qWindows Live Writer插g
[旉]:2009-10-04
[摘要]: 开发一个Windows Live Writer插gQ在写博客时Q添加自q代码样式。最l效果是Q在Windows Live Writer中选中代码Q然后点LӞ代码包含在<div class="mycode">your code</div>中?
[关键字]: plugin、Windows Live Writer、code、format、highlight?插g、博客、blog、msi、package、打包、C#、前~、后~、简单代码、样?br /> [环境]: Windows Live Writer 14.0.8089.726 zh-cn, Visual Studio 2008 , Windows XP SP3 , Wordpress 2.8.4
[作者]:Winty  (wintys@gmail.com) http://www.aygfsteel.com/wintys

[正文]:

         开发一个Windows Live Writer插gQ在写博客时Q添加自q代码样式。最l效果是Q在Windows Live Writer中选中代码Q然后点LӞ代码包含在<div class="mycode">your code</div>中。当然要在最l发表的博客上添?mycode 的CSS样式才有效果?/p>

        .mycode样式如下:

.mycode {
    margin: 10px;
    padding: 10px;
    background: #DDEDFB;
    border: 1px solid #428EDE; 
    text-align: left;
    /*width:500px;*/
    overflow-x:auto;
    font-size:20px;
    white-space:nowrap;
    *white-space: normal;
    WORD-WRAP: break-word;/*IE*/
    word-break:break-all;/*IE*/
}
选中代码Q点?WintyCodeArea":
image 
 
效果如下?/pre>
(在Writer需启用"使用主题~辑"Qƈ已从博客中获取主题,才能立即看到效果):
image 
 

0、准备工?/h3>
  • 在Visual Studio 2008中新建C#"Class Library"目
  • 在项目中dReferences:"C:\Program Files\Windows Live\Writer\WindowsLive.Writer.Api.dll"
  • 在项目属性的"Build Events"=>"Post Build Event command line"d:(XCOPY /D /Y /R "$(TargetPath)" "C:\Program Files\Windows Live\Writer\Plugins")

 

1?Class Library"ȝQ承于ContentSource

WintyCodeArea.cs:

using System.Windows.Forms;
using WindowsLive.Writer.Api;

/*
2009-10-02

Winty

wintys@gmail.com

http://www.aygfsteel.com/wintys
  */
namespace MyWindowsLiveWriterPlugin
{
    /*Plugin ȝ*/
    [WriterPlugin("{7DFB5431-D7DA-4e61-9E4B-056D30DFDB63}",
        "WintyCodeArea",
        PublisherUrl = "http://www.aygfsteel.com/wintys",
        ImagePath = "image.jpg",
        HasEditableOptions = true,
        Description = "Insert <div class=\"mycode\">your code</div>\nhttp://www.aygfsteel.com/wintys\nwintys@gmail.com")]
    [InsertableContentSource("WintyCodeArea")]
    public class WintyCodeArea : ContentSource
    {
        WintyCodeAreaSettings m_settings;

        public override void Initialize(IProperties pluginOptions)
        {
            base.Initialize(pluginOptions);
            m_settings = new WintyCodeAreaSettings(pluginOptions);
        }
        public override DialogResult CreateContent(IWin32Window dialogOwner, ref string content)
        {
            string originalContent = content;

            content = m_settings.FrontCode;
            if(m_settings.EscapeCode)
                content +=  System.Web.HttpUtility.HtmlEncode(originalContent);
            else
                content += originalContent;
            content += m_settings.BackCode;

            return DialogResult.OK;
        }

        public override void EditOptions(IWin32Window dialogOwner)
        {
            SettingForm settingForm = new SettingForm(m_settings);
            settingForm.ShowDialog(dialogOwner);
        }
    }
}

 

         Initialize()、EditOptions()q不是必ȝQ这里因为用C"讄选项"H口Q才需要?/p>

CreateContent(IWin32Window dialogOwner, ref string content)在此为必,content传入gؓLive Writer当前被选中的高亮区的HTML代码Q无论在~辑q是在源代码视图中都是这L。content的传出gؓ你修改后的HTML代码Q最l将在Live Writer中显C的?/p>

        在CreateContent()中也可以弹出H体Q此处ƈ未用到。以下是代码CZ:

public override DialogResult CreateContent(IWin32Window dialogOwner, ref string content)
{
    using (InsertCodeForm insertCodeForm = new InsertCodeForm())
    {
        DialogResult result = insertCodeForm.ShowDialog();
        content = insertCodeForm.MyCode;
        return result;
    }
}

        相应的InsertCodeFormcȝ部分代码如下:

public partial class InsertCodeForm : Form
{
    private string m_MyCode;
    public string MyCode
    {
        get { return m_MyCode; }
        set { m_MyCode = value; }
    }

    public InsertCodeForm()
    {
        InitializeComponent();
    }

    private void buttonInsert_Click(object sender, EventArgs e)
    {
        if (textBoxCode.Text == string.Empty)
        {
            return;
        }

        m_MyCode = "<div class=\"mycode\">";
        m_MyCode += System.Web.HttpUtility.HtmlEncode(textBoxCode.Text);
        m_MyCode += "</div>";           

        this.DialogResult = DialogResult.OK;
    }
}


 

2、用于设|WintyCodeArea插g行ؓ的类

WintyCodeAreaSettings.cs:

using WindowsLive.Writer.Api;

namespace MyWindowsLiveWriterPlugin
{
    class WintyCodeAreaSettings
    {
        IProperties m_properties;

        private const string FRONT_CODE = "FRONT_CODE";//前缀代码
        private const string BACK_CODE = "BACK_CODE";//后缀代码
        private const string ESCAPE_CODE = "ESCAPE_CODE";//是否转义代码

        public const string DEFAULT_FRONT_CODE = "<div class=\"mycode\">";
        public const string DEFAULT_BACK_CODE = "</div>";
        public const bool   DEFAULT_ESCAPE_CODE = false;

        public WintyCodeAreaSettings(IProperties properties)
        {
            m_properties = properties;
        }

        public string FrontCode
        {
            get
            {
                return m_properties.GetString(FRONT_CODE, DEFAULT_FRONT_CODE);
            }
            set
            {
                m_properties.SetString(FRONT_CODE, value);
            }
        }

        public string BackCode
        {
            get
            {
                return m_properties.GetString(BACK_CODE, DEFAULT_BACK_CODE);
            }
            set
            {
                m_properties.SetString(BACK_CODE, value);
            }
        }

        public bool EscapeCode
        {
            get
            {
                return m_properties.GetBoolean(ESCAPE_CODE, DEFAULT_ESCAPE_CODE);
            }
            set
            {
                m_properties.SetBoolean(ESCAPE_CODE, value);
            }
        }

    }
}

 

3?讄H口"的代?

        点击"工具=>选项"可以找到这个设|窗口?/p>

image

        WintyCodeArea的设|窗?

image

        所谓的转义原始内容Q就是将所选内容中的特DHTML字符q行~码(I格与换行不??/p>

 

SettingForm.cs:

using System;
using System.Windows.Forms;

namespace MyWindowsLiveWriterPlugin
{
    partial class SettingForm : Form
    {
        WintyCodeAreaSettings m_settings;

        public SettingForm(WintyCodeAreaSettings settings)
        {
            InitializeComponent();
            //Winty's initialization
            m_settings = settings;
            txtFrontCode.Text = m_settings.FrontCode;
            chkEscapeCode.Checked = m_settings.EscapeCode;
            textBackCode.Text = m_settings.BackCode;
        }

        /*保存讄*/
        private void btnOK_Click(object sender, EventArgs e)
        {
            m_settings.FrontCode = txtFrontCode.Text;
            m_settings.EscapeCode = chkEscapeCode.Checked;
            m_settings.BackCode = textBackCode.Text;

            Close();
        }

        /*恢复默认讄*/
        private void btnRestoreDefault_Click(object sender, EventArgs e)
        {
            m_settings.FrontCode = WintyCodeAreaSettings.DEFAULT_FRONT_CODE;
            m_settings.EscapeCode = WintyCodeAreaSettings.DEFAULT_ESCAPE_CODE;
            m_settings.BackCode = WintyCodeAreaSettings.DEFAULT_BACK_CODE;

            txtFrontCode.Text = m_settings.FrontCode;
            chkEscapeCode.Checked = m_settings.EscapeCode;
            textBackCode.Text = m_settings.BackCode;
        }
    }
}

 

SettingForm.Designer.cs(q是Visual StudioҎ设计的窗体生成的代码):

namespace MyWindowsLiveWriterPlugin
{
    partial class SettingForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }

        #region Windows Form Designer generated code

        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.btnOK = new System.Windows.Forms.Button();
            this.chkEscapeCode = new System.Windows.Forms.CheckBox();
            this.labelFont = new System.Windows.Forms.Label();
            this.labelBack = new System.Windows.Forms.Label();
            this.txtFrontCode = new System.Windows.Forms.TextBox();
            this.textBackCode = new System.Windows.Forms.TextBox();
            this.btnRestoreDefault = new System.Windows.Forms.Button();
            this.SuspendLayout();
            //
            // btnOK
            //
            this.btnOK.Location = new System.Drawing.Point(222, 211);
            this.btnOK.Name = "btnOK";
            this.btnOK.Size = new System.Drawing.Size(113, 29);
            this.btnOK.TabIndex = 0;
            this.btnOK.Text = "讄";
            this.btnOK.UseVisualStyleBackColor = true;
            this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
            //
            // chkEscapeCode
            //
            this.chkEscapeCode.AutoSize = true;
            this.chkEscapeCode.Location = new System.Drawing.Point(127, 94);
            this.chkEscapeCode.Name = "chkEscapeCode";
            this.chkEscapeCode.Size = new System.Drawing.Size(96, 16);
            this.chkEscapeCode.TabIndex = 1;
            this.chkEscapeCode.Text = "转义原始内容";
            this.chkEscapeCode.UseVisualStyleBackColor = true;
            //
            // labelFont
            //
            this.labelFont.AutoSize = true;
            this.labelFont.Location = new System.Drawing.Point(48, 12);
            this.labelFont.Name = "labelFont";
            this.labelFont.Size = new System.Drawing.Size(53, 12);
            this.labelFont.TabIndex = 2;
            this.labelFont.Text = "前缀代码";
            //
            // labelBack
            //
            this.labelBack.AutoSize = true;
            this.labelBack.Location = new System.Drawing.Point(48, 125);
            this.labelBack.Name = "labelBack";
            this.labelBack.Size = new System.Drawing.Size(53, 12);
            this.labelBack.TabIndex = 4;
            this.labelBack.Text = "后缀代码";
            //
            // txtFrontCode
            //
            this.txtFrontCode.Location = new System.Drawing.Point(125, 12);
            this.txtFrontCode.Multiline = true;
            this.txtFrontCode.Name = "txtFrontCode";
            this.txtFrontCode.Size = new System.Drawing.Size(247, 64);
            this.txtFrontCode.TabIndex = 5;
            //
            // textBackCode
            //
            this.textBackCode.Location = new System.Drawing.Point(125, 125);
            this.textBackCode.Multiline = true;
            this.textBackCode.Name = "textBackCode";
            this.textBackCode.Size = new System.Drawing.Size(247, 64);
            this.textBackCode.TabIndex = 6;
            //
            // btnRestoreDefault
            //
            this.btnRestoreDefault.Location = new System.Drawing.Point(88, 211);
            this.btnRestoreDefault.Name = "btnRestoreDefault";
            this.btnRestoreDefault.Size = new System.Drawing.Size(106, 29);
            this.btnRestoreDefault.TabIndex = 7;
            this.btnRestoreDefault.Text = "恢复默认讄";
            this.btnRestoreDefault.UseVisualStyleBackColor = true;
            this.btnRestoreDefault.Click += new System.EventHandler(this.btnRestoreDefault_Click);
            //
            // SettingForm
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(420, 252);
            this.Controls.Add(this.btnRestoreDefault);
            this.Controls.Add(this.textBackCode);
            this.Controls.Add(this.txtFrontCode);
            this.Controls.Add(this.labelBack);
            this.Controls.Add(this.labelFont);
            this.Controls.Add(this.chkEscapeCode);
            this.Controls.Add(this.btnOK);
            this.Name = "SettingForm";
            this.Text = "WintyCodeArea Settings";
            this.ResumeLayout(false);
            this.PerformLayout();

        }

        #endregion

        private System.Windows.Forms.Button btnOK;
        private System.Windows.Forms.CheckBox chkEscapeCode;
        private System.Windows.Forms.Label labelFont;
        private System.Windows.Forms.Label labelBack;
        private System.Windows.Forms.TextBox txtFrontCode;
        private System.Windows.Forms.TextBox textBackCode;
        private System.Windows.Forms.Button btnRestoreDefault;
    }
}

 

4、ȝ

        工程最l生成WintyCodeArea.dllQ将其复制到"C:\Program Files\Windows Live\Writer\Plugins"目录Q启动Windows Live Writer可以用这个插件了。或其做成WintyCodeAreaWLWPluginSetup.msi(见附?Q点安装卛_(msi制作Ҏ参考[11])?/p>

       此插件主要供自己使用Q其他h可能不会惌我的q种效果Q所以暂命名WintyCodeArea。但是除了添?lt;div class="mycode">your code</div>外,q可以进行代码{义设|,q且前后~代码都可以自定义Q根据需要自己添加前~后缀代码p了,所以,希望对别人有点用处?/p>

 

补充:

      如果插g需要访问剪贴板Q可参考如下代?

//System.Windows.Forms.Clipboard

IDataObject iData = Clipboard.GetDataObject();
if (iData.GetDataPresent(DataFormats.Text))
{
    str = (String)iData.GetData(DataFormats.Text);
    ......
}

 

[参考资料]:

[1]*?a >Developing Plugins for Windows Live Writer ?: http://www.devx.com/codemag/Article/38214/1954

[2]*?a >为Windows Live Writer开发插?#8212;—InsertSearchPageLink?: http://www.cnblogs.com/dflying/archive/2006/12/03/580602.html

[3]*?a >Writing a simple Windows Live Writer plugin?: http://blog.boyet.com/blog/blog/writing-a-simple-windows-live-writer-plugin/

[4] ?a >The New Live Writer SDK? http://www.liveside.net/developer/archive/2008/06/03/the-new-live-writer-sdk.aspx

[5] ?a >Writing Plugins For Windows Live Writer - Working With Forms?nbsp; : http://www.liveside.net/developer/archive/2006/10/19/Writing-Plugins-For-Windows-Live-Writer-_2D00_-Working-With-Forms.aspx

[6] ?a >Writing Plugins For Windows Live Writer - Using PluginHttpRequest Instead of HttpWebRequest?: http://www.liveside.net/developer/archive/2007/10/20/writing-plugins-for-windows-live-writer-using-pluginhttprequest-instead-of-httpwebrequest.aspx

[7] ?a >Windows Live Writer Plugin - Properties Panel?: http://blog.benhall.me.uk/2007/09/windows-live-writer-plugin-properties.html

[8] ?a >Windows Live Writer Plugin - Display a form / OpenFileDialog?:  http://blog.benhall.me.uk/2007/09/windows-live-writer-plugin-display-form.html

[9] LiveSide Source Code : http://cid-fabdddc5cad93494.skydrive.live.com/self.aspx/LiveSide%20-%20Public/SourceCode/MyNewPlugin%20-%20Adding%20An%20Icon.zip?wa=wsignin1.0&sa=732043521

[10] ?a >Windows Live Writer Plugin - Hello World!?: http://blog.benhall.me.uk/2007/09/windows-live-writer-plugin-hello-world.html

[11]*?a >Windows Live Writer Plugin - Installation?: http://blog.benhall.me.uk/2007/10/windows-live-writer-plugin-installation.html

[12] MSDN Windows Live Writer SDK : http://msdn.microsoft.com/en-us/library/aa738906.aspx

[13] Windows Live Writer Blog : http://www.live-writer.net/

[14] Windows Live Gallery : http://gallery.live.com/results.aspx?bt=9&pl=8


[附g]:

[1] WintyCodeAreaProject.zip(Visual Studio工程) : WintyCodeAreaProject.zip

[2] WintyCodeAreaWLWPluginSetup.zip(WintyCodeArea插g安装E序,msi格式) : http://www.aygfsteel.com/Files/wintys/WintyCodeAreaWLWPluginSetup.zip

原创作品Q{载请注明出处?br /> 作?Winty (wintys@gmail.com)
博客:http://www.aygfsteel.com/wintys

 



天堂露珠 2009-10-05 19:26 发表评论
]]>[原]Puppy Linux安装到U?/title><link>http://www.aygfsteel.com/wintys/archive/2009/09/21/linux_puppy_install.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Sun, 20 Sep 2009 16:12:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/09/21/linux_puppy_install.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/295785.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/09/21/linux_puppy_install.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/295785.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/295785.html</trackback:ping><description><![CDATA[     摘要: 使用UNetbootin安装Puppy Linux到U盘,Puppy Linux中文支持?  <a href='http://www.aygfsteel.com/wintys/archive/2009/09/21/linux_puppy_install.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/295785.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-09-21 00:12 <a href="http://www.aygfsteel.com/wintys/archive/2009/09/21/linux_puppy_install.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]Struts2-整合JFreeCharthttp://www.aygfsteel.com/wintys/archive/2009/09/03/struts_helloworld_jfreechart.html天堂露珠天堂露珠Thu, 03 Sep 2009 09:10:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/09/03/struts_helloworld_jfreechart.htmlhttp://www.aygfsteel.com/wintys/comments/293762.htmlhttp://www.aygfsteel.com/wintys/archive/2009/09/03/struts_helloworld_jfreechart.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/293762.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/293762.html阅读全文

天堂露珠 2009-09-03 17:10 发表评论
]]>
[原]Struts2-深入探烦http://www.aygfsteel.com/wintys/archive/2009/08/29/struts_helloworld_miscellaneous.html天堂露珠天堂露珠Sat, 29 Aug 2009 12:32:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/08/29/struts_helloworld_miscellaneous.htmlhttp://www.aygfsteel.com/wintys/comments/293116.htmlhttp://www.aygfsteel.com/wintys/archive/2009/08/29/struts_helloworld_miscellaneous.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/293116.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/293116.html阅读全文

天堂露珠 2009-08-29 20:32 发表评论
]]>
[原]Struts2-国际?/title><link>http://www.aygfsteel.com/wintys/archive/2009/08/10/struts_helloworld_i18n.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Mon, 10 Aug 2009 10:13:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/08/10/struts_helloworld_i18n.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/290575.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/08/10/struts_helloworld_i18n.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/290575.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/290575.html</trackback:ping><description><![CDATA[     摘要: Struts2 internationalization  <a href='http://www.aygfsteel.com/wintys/archive/2009/08/10/struts_helloworld_i18n.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/290575.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-08-10 18:13 <a href="http://www.aygfsteel.com/wintys/archive/2009/08/10/struts_helloworld_i18n.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]Struts2-文g上传与下?/title><link>http://www.aygfsteel.com/wintys/archive/2009/08/08/struts_fileupload_download.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Sat, 08 Aug 2009 00:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/08/08/struts_fileupload_download.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/290308.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/08/08/struts_fileupload_download.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/290308.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/290308.html</trackback:ping><description><![CDATA[     摘要: Struts FileUpload & Download  <a href='http://www.aygfsteel.com/wintys/archive/2009/08/08/struts_fileupload_download.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/290308.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-08-08 08:48 <a href="http://www.aygfsteel.com/wintys/archive/2009/08/08/struts_fileupload_download.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]Struts2-拦截?/title><link>http://www.aygfsteel.com/wintys/archive/2009/08/01/struts_interceptor.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Fri, 31 Jul 2009 16:21:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/08/01/struts_interceptor.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/289333.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/08/01/struts_interceptor.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/289333.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/289333.html</trackback:ping><description><![CDATA[     摘要: Struts Interceptor  <a href='http://www.aygfsteel.com/wintys/archive/2009/08/01/struts_interceptor.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/289333.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-08-01 00:21 <a href="http://www.aygfsteel.com/wintys/archive/2009/08/01/struts_interceptor.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]Struts2校验框架http://www.aygfsteel.com/wintys/archive/2009/07/27/struts_validation_framework.html天堂露珠天堂露珠Mon, 27 Jul 2009 15:54:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/27/struts_validation_framework.htmlhttp://www.aygfsteel.com/wintys/comments/288656.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/27/struts_validation_framework.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/288656.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/288656.html阅读全文

天堂露珠 2009-07-27 23:54 发表评论
]]>
[原]Exception starting filter MyStruts2http://www.aygfsteel.com/wintys/archive/2009/07/27/error_Exception_starting_filter_Struts2.html天堂露珠天堂露珠Mon, 27 Jul 2009 11:41:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/27/error_Exception_starting_filter_Struts2.htmlhttp://www.aygfsteel.com/wintys/comments/288622.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/27/error_Exception_starting_filter_Struts2.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/288622.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/288622.html阅读全文

天堂露珠 2009-07-27 19:41 发表评论
]]>
[原]MyEclipse location already existshttp://www.aygfsteel.com/wintys/archive/2009/07/27/error_MyEclipse_location_already_exists.html天堂露珠天堂露珠Sun, 26 Jul 2009 16:37:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/27/error_MyEclipse_location_already_exists.htmlhttp://www.aygfsteel.com/wintys/comments/288494.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/27/error_MyEclipse_location_already_exists.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/288494.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/288494.html阅读全文

天堂露珠 2009-07-27 00:37 发表评论
]]>
[原]Struts2输入校验http://www.aygfsteel.com/wintys/archive/2009/07/27/struts_validation.html天堂露珠天堂露珠Sun, 26 Jul 2009 16:23:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/27/struts_validation.htmlhttp://www.aygfsteel.com/wintys/comments/288493.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/27/struts_validation.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/288493.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/288493.html阅读全文

天堂露珠 2009-07-27 00:23 发表评论
]]>
[原]使用Oracle Instant Client - SQLPlushttp://www.aygfsteel.com/wintys/archive/2009/07/21/database_oracle_instant_client_sqlplus.html天堂露珠天堂露珠Mon, 20 Jul 2009 16:30:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/21/database_oracle_instant_client_sqlplus.htmlhttp://www.aygfsteel.com/wintys/comments/287556.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/21/database_oracle_instant_client_sqlplus.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/287556.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/287556.html阅读全文

天堂露珠 2009-07-21 00:30 发表评论
]]>
[原]双系l启动修?/title><link>http://www.aygfsteel.com/wintys/archive/2009/07/20/tech_windows_server_2003_boot.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Mon, 20 Jul 2009 06:55:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/07/20/tech_windows_server_2003_boot.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/287474.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/07/20/tech_windows_server_2003_boot.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/287474.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/287474.html</trackback:ping><description><![CDATA[     摘要: Windows XP ?Windows Server 2003双系l,当Windows XPpȝ用Ghost恢复后,Windows Server 2003不能正确启动?nbsp; <a href='http://www.aygfsteel.com/wintys/archive/2009/07/20/tech_windows_server_2003_boot.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/287474.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-07-20 14:55 <a href="http://www.aygfsteel.com/wintys/archive/2009/07/20/tech_windows_server_2003_boot.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]Struts2cd转换http://www.aygfsteel.com/wintys/archive/2009/07/15/struts_typeconverter.html天堂露珠天堂露珠Wed, 15 Jul 2009 08:51:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/15/struts_typeconverter.htmlhttp://www.aygfsteel.com/wintys/comments/286902.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/15/struts_typeconverter.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/286902.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/286902.html阅读全文

天堂露珠 2009-07-15 16:51 发表评论
]]>
[原]Struts2-入门与配|?/title><link>http://www.aygfsteel.com/wintys/archive/2009/07/13/struts_getstart_helloworld.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Mon, 13 Jul 2009 14:16:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/07/13/struts_getstart_helloworld.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/286621.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/07/13/struts_getstart_helloworld.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/286621.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/286621.html</trackback:ping><description><![CDATA[     摘要: Struts2学习之入门与配置  <a href='http://www.aygfsteel.com/wintys/archive/2009/07/13/struts_getstart_helloworld.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/286621.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-07-13 22:16 <a href="http://www.aygfsteel.com/wintys/archive/2009/07/13/struts_getstart_helloworld.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]深入JUnit4.xhttp://www.aygfsteel.com/wintys/archive/2009/07/08/test_junit_junit4.html天堂露珠天堂露珠Wed, 08 Jul 2009 02:28:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/08/test_junit_junit4.htmlhttp://www.aygfsteel.com/wintys/comments/285909.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/08/test_junit_junit4.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/285909.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/285909.html阅读全文

天堂露珠 2009-07-08 10:28 发表评论
]]>
[转]JUnit4.5 QuickTutorialhttp://www.aygfsteel.com/wintys/archive/2009/07/07/test_junit_quick_Tutorial.html天堂露珠天堂露珠Tue, 07 Jul 2009 15:49:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/07/test_junit_quick_Tutorial.htmlhttp://www.aygfsteel.com/wintys/comments/285880.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/07/test_junit_quick_Tutorial.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/285880.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/285880.html阅读全文

天堂露珠 2009-07-07 23:49 发表评论
]]>
[转]Struts2.1.6 - Unable to load configurationhttp://www.aygfsteel.com/wintys/archive/2009/07/07/struts_Unable_to_load_configuration.html天堂露珠天堂露珠Tue, 07 Jul 2009 15:16:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/07/struts_Unable_to_load_configuration.htmlhttp://www.aygfsteel.com/wintys/comments/285875.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/07/struts_Unable_to_load_configuration.html#Feedback1http://www.aygfsteel.com/wintys/comments/commentRss/285875.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/285875.html阅读全文

天堂露珠 2009-07-07 23:16 发表评论
]]>
[原]Hibernate集合映射http://www.aygfsteel.com/wintys/archive/2009/07/03/hibernate_collection.html天堂露珠天堂露珠Fri, 03 Jul 2009 15:50:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/07/03/hibernate_collection.htmlhttp://www.aygfsteel.com/wintys/comments/285421.htmlhttp://www.aygfsteel.com/wintys/archive/2009/07/03/hibernate_collection.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/285421.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/285421.html阅读全文

天堂露珠 2009-07-03 23:50 发表评论
]]>
[原]享元模式-咖啡?/title><link>http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_shop.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Mon, 29 Jun 2009 15:08:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_shop.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/284686.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_shop.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/284686.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/284686.html</trackback:ping><description><![CDATA[     摘要: Flyweight Pattern,一个有外蕴状态的单纯享元例子:咖啡?Coffee Shop)  <a href='http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_shop.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/284686.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-06-29 23:08 <a href="http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_shop.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]享元模式-咖啡?/title><link>http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_stall.html</link><dc:creator>天堂露珠</dc:creator><author>天堂露珠</author><pubDate>Mon, 29 Jun 2009 15:02:00 GMT</pubDate><guid>http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_stall.html</guid><wfw:comment>http://www.aygfsteel.com/wintys/comments/284685.html</wfw:comment><comments>http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_stall.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/wintys/comments/commentRss/284685.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/wintys/services/trackbacks/284685.html</trackback:ping><description><![CDATA[     摘要: Flyweight Pattern,一个单Un元的例子:咖啡?Coffee Stall)  <a href='http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_stall.html'>阅读全文</a><img src ="http://www.aygfsteel.com/wintys/aggbug/284685.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/wintys/" target="_blank">天堂露珠</a> 2009-06-29 23:02 <a href="http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_coffee_stall.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>[原]享元模式-复合享元http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_unsharable.html天堂露珠天堂露珠Mon, 29 Jun 2009 14:58:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_unsharable.htmlhttp://www.aygfsteel.com/wintys/comments/284684.htmlhttp://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_unsharable.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/284684.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/284684.html阅读全文

天堂露珠 2009-06-29 22:58 发表评论
]]>
[原]享元模式-单纯享元http://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_simple.html天堂露珠天堂露珠Mon, 29 Jun 2009 14:52:00 GMThttp://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_simple.htmlhttp://www.aygfsteel.com/wintys/comments/284682.htmlhttp://www.aygfsteel.com/wintys/archive/2009/06/29/pattern_flyweight_simple.html#Feedback0http://www.aygfsteel.com/wintys/comments/commentRss/284682.htmlhttp://www.aygfsteel.com/wintys/services/trackbacks/284682.html阅读全文

天堂露珠 2009-06-29 22:52 发表评论
]]>
վ֩ģ壺 ʯɽ| | ɽ| Ӣɳ| | | | տ| ɽ| | ٳ| | | | ʷ| ɽ| | | | ¤| ϵ| ʯɽ| ɽ| ¤| ǰ| μԴ| ̨| ͸| ԭ| ɽ| Ӧ| | | | ͭ| | | ϸ| | | |