??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲妇女水蜜桃av网网站,亚洲午夜在线一区,亚洲高清成人一区二区三区 http://www.tkk7.com/yjhmily/category/13685.html坚持走自q路…? zh-cnSat, 29 Sep 2012 14:44:17 GMTSat, 29 Sep 2012 14:44:17 GMT60转一:mongodb 阶段性技术ȝhttp://www.tkk7.com/yjhmily/archive/2012/09/29/388862.htmlkangxmkangxmSat, 29 Sep 2012 14:17:00 GMThttp://www.tkk7.com/yjhmily/archive/2012/09/29/388862.htmlhttp://www.tkk7.com/yjhmily/comments/388862.htmlhttp://www.tkk7.com/yjhmily/archive/2012/09/29/388862.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/388862.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/388862.html原文出处Q?a >http://space.itpub.net/133735/viewspace-710117 
ȝ的不错!
-------------------------------------------------------------------------------------------------
生环境最佛_?/div>
1.linux pȝQ?/div>
1】关闭文件系l?分区的atime 选项
Vi /etc/fstab
在对应的分区后面添加noatime ,nodiratime
LABEL=/1 / ext3 defaults 1 1
LABEL=/data1 /data ext4 defaults,noatime,nodiratime 1 2
2】设|文件句柄4k+Q目前该配置已经集成到启动脚本中?/div>
Vi /etc/security/limit.conf
* soft nproc 65536
* hard nproc 65536
* soft nofile 65536
* hard nofile 65536
3】不要用large vm page Q不要用大内存选项Q?/div>
Linux 大内存页参考:http://linuxgazette.net/155/krishnakumar.html
4】用dmesg 查看L的信息?/div>
2.linux 文gpȝ的选择Q?/div>
Mongodb 采用预分配的大文件来存储数据,我们推荐
1】ext4
2】xfs
3.内核版本Q?/div>
|络上对2.6.33-31 以及2.6.32 的表现持怀疑度Q?而强力推?.6.36
4.U程堆栈的尺?/div>
默认的线E堆栈尺ؓ10m Q调整ؓ1m Q已l集成在启动脚本中?/div>
目q程中的ȝ与徏?/div>
1.大小写问?/div>
mongodb 是默认区分大写的,但是q会不会衍生mysql 一L问题Q(mysql ?/div>
分大写Q导致windows 与linux 下的表名Q字D名不一_?/div>
如果无特别用途,表名Q字D名全部用小写字母?/div>
2.可能的~短字段名的长度
mongodb 的schema free D了每W数据都要存储他的key 以及属性,q导致了q些?/div>
据的大量冗余。开发同事也许考虑刎ͼ从易L出发设计的key 基本比较长,基本都是?/div>
照v字面意思去设计的。这Dkey 很长。对应的数据存储占用了很大的I间?/div>
必要的时候,可以考虑建立一个key 与实际意义的map 表,量降低key 的长度?/div>
CZ定义Q?/div>
// 基本信息
static final String _ID = "_id";
static final String STATUS_CODE = "sc";
// ~冲
static final String DATE = "date";
static final String MAX_AGE = "age";
// 内容
static final String CONTENT = "content";
static final String CONTENT_TYPE = "ctype";
static final String CONTENT_LENGTH = "clen";
static final String ZIP = "zip";
3. mongodb 单表最大烦引数?4
无烦引排序的最大数据量?M, 过则报错退出?/div>
where 条g量落在索引字段上,排序字段需要徏立烦引,索引的用原则与oracle
mysql 一_量降低索引数量Q烦引长度?/div>
mongodb 的查询每ơ只能用C个烦引,Ҏ据的查询不会“q发”执行
例如Q?db.tab.find({'id'=1,'name'=2}) 如果‘id’Q?#8216;name' 列上分别有烦?/div>
Ҏ询效率提升意义不大,如果索引为('id','name') 则大q提升效率?/div>
4.mongodb d字段
如果d字段且带有default |需要全部数据都要修改,q也是设计阶D需要考虑?/div>
事情Q这个问题的另外一U解法是应用代码里做一ơ判断?/div>
5.试q程的密码问?/div>
对于用作数据库用的MongodbQ在代码试阶段都应加上密码验证Q目前上UKD基
本都会在密码验证斚w出现问题Q做~存使用的可以不做密码验??/div>
6.数据源连接方?/div>
使用q接池模式,量减少认证带来的性能额外消?/div>
采用标准的uri q接方式Q?mongodb://user:passwd@host:port,host:port/db
7.Mongodb日志?/div>
正常情况下不需要开?v 日志选项?/div>
Mongodb ?v 日志适合在开发环境的调试U上部v不徏议采用这个参敎ͼ目前U上
部v的情况,-v 日志一天也会有几个G 的日志量Q去掉这个参敎ͼ跟数据查询相关的操作
׃会记日志了,数据库的内部的重要操作还是会写日志的?/div>
8.q接数大的讄
Mongodb 驱动E序采用的连接池的方式连接到数据库,目前从观察到的情冉|应用一
开启便Ҏ变量的设|,建立全部q接Q然后提供给E序使用Qƈ且一旦其中某个连?/div>
到数据库的访问失败,则会清空整个q接池到q台数据库的q接Qƈ重新建立q接?/div>
而mongodb 对中断连接的垃圾清理工作则是懒惰的被动清理方式,如果驱动E序端配
|的q接数过大,一旦发生重q,则会Dmongo 端堆U大量的垃圾q接数据Q导?/div>
L资源耗尽?/div>
Q?mongodb 驱动的连接池大小的设|一般应该控?00 以下Q一般情?0-50 ?/div>
够支撑应用访问?/div>
9.锁的问题
Mongodb Ҏ据库的访问全部加锁,如果是查询请求则讄׃n锁,数据修改hQ?/div>
则设|全局排他锁,q且是实例别的排他锁。ƈ且写锁会d读请求,如果长时间持?/div>
写锁Q会d整个实例的读h?/div>
部vQ?/div>
1】一般情况下Q徏议不同的应用不要合用一套示例?/div>
2】如果资源不满Q需要合用,应该h相同属性的应用合用一套实例?/div>
例如合同mongo 的应用都是读多写,防止一台写多应用阻塞读h?/div>
10.关于map/reduce问题
mongodb 对map/reduce 的支持是单线E的Q我们不在前C用该功能Q?group by
是通过map/reduce 实现的,开发过E中Q要慎用?/div>
11.安全问题
1】Mongodb q行在mongodb 用户之上Qƈ止mongodb 用户d
2】用Mongodb 自带的认证方法(adduser、authQ限制用戯问行?/div>
3】将Mongodb |于内网环境?/div>
4】Mongodb 必须暴露在外|环境中的时候,使用IPTABLES {网l层技术进行防?/div>
5】网l层面内容ؓ明文传输Q可以考虑存储加密文档Q应用端Q加解密?/div>
12.性能监控
Mongodb 自带有性能数据攉pȝ
Mongostat 实时采集数据库的多项指标,提供http console 端口号ؓ应用端口?1000?/div>
x的主要性能指标Q?/div>
1】FaultsQ显CMongodb 每秒面故障的数量,q个是mongoDB 映射到虚拟地址I间Q?/div>
而不是物理内存,q个值如果飙高的话,可能意味着机器没有_的内存来
存储数据和烦引?/div>
2】FlushesQ每U做了多次fsyncQ显C多次数据被刷新进了磁?/div>
3】lockedQ写?/div>
4】idx missQ烦引未命中比例
5】qr | qwQ读写锁的请求队列长度?/div>
6】connQ?当前已经建立的连接数?/div>
其他命oQ?/div>
Db.stat()
db.serverStatuse()
Db.collection.stats()
13.片问题
Mongodb 数据库如果数据修改很频繁Q会出现比较严重的空间碎片问题,表现在磁?/div>
文g扩张与实际数据量不相W,内存不够用,索引命中率低Q查询效率降低?/div>
片整理Q目前我们采用的版本没有太有效的Ҏ?/div>
可以用db.repaireDatabase() 来整理数据库Q这个过E非常的?/div>
如果是Master-slave 模式则相当于执行一ơ主从切换,然后从新建立从库?/div>
如果是replSet 架构可以停掉数据库,然后删除数据目录Q从C复制复制l中全同步数据,
q个时候要考虑oplog 的尺寸?/div>
一个大体的步骤Q?/div>
1.】先调用rs.freeze(1200),每个不惌它成为primary 的机器让它在1200 U内无法成ؓ
primary(q步也可以不?
2. 】将primary stepDown,不出意外新的primary 会v?
3. 】将原primary kill ?
4. 】删掉所有data 数据(调用repair 很慢,真不如干掉重新来)
5. 】再重启动原primary 的进E?/div>
6. 】以此@环完成整个复制组的全部重建?/div>
14.pȝ备䆾Q?/div>
Mongodb 目前不支持在U备份,只能ȝ备䆾?/div>
我们采用的架构ؓreplSet 和Master-slave .
Z我们目前的架构以及数据一致性要求,我们没有安排相关的备份系l?/div>
15.应用代码中Mongodbq接问题
在有些应用在使用Mongodb q程中会存在以下两个问题:
1. 在应用启动过E中Q应用存在要求连接池中所有的q接都徏立成功才让应用正
常启动,q种做法不可取,因ؓ存在|络问题、Mongodb 拒绝q接或Mongodb 假死情况Q如
果没加外部try catch 做防护,则Resin 不断重启也不能正常启动端口?/div>
2.有些应用在用Mongodb 中连接池配置了safe=trueQw=1Q这U配|意味着客户端在
插入数据或更新数据的时候,要求mongodb 必须所更新的数据写入磁盘ƈq回更新成功
的信息给E序。如果碰上应用程序访问压力大Qmongodb ׃反应q钝Qƈ会发生假d能,
针对此情况,需要评估数据的一致性需求,做出合适调整。我们一般徏议关闭此选项?/div>
16.补充开发方面的一些问?/div>
1】skip+limit页Q越往后面慢Q有资料说用数组元素的分可以解冻I目前q没
试过Q比较靠q做法是,先找Zơ的idQ翻늚时候不用skipQ?/div>
last_row_id = ObjectId(‘....’);
db.activity_stream->find({_id:{$lt: last_row_id },
user_id:20 } ).sort( {_id:-1} ).limit(10);
2?只有真正需要的字段才select出来
3?更新的某条数据的时候,先查出来再更C减小锁的旉
4?只有q回很少l果的查询才用烦引,否则会加载太多数据,比没有用索引q慢
5?属性比较多的时候,建立分层的关p能够提高查询效率,否则每个记录都要q一?/div>
才能扑ֈ要的属?/div>
17.关于g资源的选择Q?/div>
虚拟机可以很好的隔离资源Qƈ可动态的扩展?/div>
我们mongodb 的部|采用虚拟机的方式,每个虚拟机部|一个实例,使各节点?/div>
散在不同的物理机?Ҏ应用的前期预,q虚拟机的之间的i/o?/div>

kangxm 2012-09-29 22:17 发表评论
]]>ubuntu /bootI间不的解?/title><link>http://www.tkk7.com/yjhmily/archive/2011/04/06/347694.html</link><dc:creator>kangxm</dc:creator><author>kangxm</author><pubDate>Wed, 06 Apr 2011 04:09:00 GMT</pubDate><guid>http://www.tkk7.com/yjhmily/archive/2011/04/06/347694.html</guid><wfw:comment>http://www.tkk7.com/yjhmily/comments/347694.html</wfw:comment><comments>http://www.tkk7.com/yjhmily/archive/2011/04/06/347694.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/yjhmily/comments/commentRss/347694.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yjhmily/services/trackbacks/347694.html</trackback:ping><description><![CDATA[<p><span style="font-size: 16px; color: #000000;">提示/boot目录I间不Q查了一些资料,最后把久的内核l卸载得以解冟?/span></p> <p><span style="color: #0055ff; font-size: 16px;">1.首先查看自己使用的内?/span></p> <span style="color: #0055ff; font-size: 16px;">lxz@lxz-pc:~$ uname -a</span><br /> <p><span style="font-size: 16px; color: #000000;">Linux lxz-pc 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux</span></p> <p><br /> </p> <span style="font-size: 16px; color: #000000;">2.然后查看自己boot目录Q选择需要卸载的版本</span><br /> <span style="font-size: 16px; color: #000000;">lxz@lxz-pc:~$    cd /boot</span><br /> <span style="color: #0055ff; font-size: 16px;">lxz@lxz-pc:/boot$  ls -l</span><br /> <span style="font-size: 16px; color: #000000;">总计 35125</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root   705861 2011-01-22 06:04 abi-2.6.35-25-generic</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root   709370 2011-03-01 23:56 abi-2.6.35-28-generic-pae</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root   128615 2011-01-22 06:04 config-2.6.35-25-generic</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root   129056 2011-03-01 23:56 config-2.6.35-28-generic-pae</span><br /> <span style="font-size: 16px; color: #000000;">drwxr-xr-x 3 root root     7168 2011-03-23 10:31 grub</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root 10761551 2011-03-04 10:49 initrd.img-2.6.35-25-generic</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root 10741569 2011-03-23 10:18 initrd.img-2.6.35-28-generic-pae</span><br /> <span style="font-size: 16px; color: #000000;">drwx------ 2 root root    12288 2011-01-05 04:52 lost+found</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root   165084 2010-09-25 01:14 memtest86+.bin</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root   167264 2010-09-25 01:14 memtest86+_multiboot.bin</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root  1831296 2011-01-22 06:04 System.map-2.6.35-25-generic</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root  1873873 2011-03-01 23:56 System.map-2.6.35-28-generic-pae</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root     1192 2011-01-22 06:06 vmcoreinfo-2.6.35-25-generic</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root     1196 2011-03-01 23:57 vmcoreinfo-2.6.35-28-generic-pae</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root  4294672 2011-01-22 06:04 vmlinuz-2.6.35-25-generic</span><br /> <span style="font-size: 16px; color: #000000;">-rw-r--r-- 1 root root  4428048 2011-03-01 23:56 vmlinuz-2.6.35-28-generic-pae</span><br /> <span style="font-size: 16px; color: #000000;">上面昄的情况中Q是我已l把linux-image-2.6.35-27-generic的结?br /> <br /> </span><span style="color: #0055ff; font-size: 16px;">3.卸蝲旧内核应该用命令:</span><br /> <span style="color: #0055ff; font-size: 16px;">lxz@lxz-pc:/boot$  sudo apt-get remove linux-image-2.6.35-27-generic<br /> <br /> </span><span style="color: #0055ff; font-size: 16px;">4.查看/boot目录Q?/span><br /> <span style="color: #0055ff; font-size: 16px;">lxz@lxz-pc:/boot$ sudo du -m /boot           //以MB为单位显C?br /> </span><span style="color: #000000; font-size: 16px;">1    /boot/grub/locale</span><br /> <span style="color: #000000; font-size: 16px;">2    /boot/grub</span><br /> <span style="color: #000000; font-size: 16px;">1    /boot/lost+found</span><br /> <span style="color: #000000; font-size: 16px;">36    /boot<br /> <br /> </span><span style="color: #0055ff; font-size: 16px;">5.查看文gpȝ使用情况Q和文gpȝ被挂在的位置Q?/span><br /> <span style="color: #0055ff; font-size: 16px;">lxz@lxz-pc:/boot$  df  -lh</span><br /> <span style="color: #000000; font-size: 16px;">文gpȝ            定w  已用  可用 已用%% 挂蝲?/span><br /> <span style="color: #000000; font-size: 16px;">/dev/sda7              71G  7.7G   60G  12% /</span><br /> <span style="color: #000000; font-size: 16px;">none                 1001M  244K 1001M   1% /dev</span><br /> <span style="color: #000000; font-size: 16px;">none                 1007M  216K 1006M   1% /dev/shm</span><br /> <span style="color: #000000; font-size: 16px;">none                 1007M  100K 1006M   1% /var/run</span><br /> <span style="color: #000000; font-size: 16px;">none                 1007M     0 1007M   0% /var/lock</span><br /> <span style="color: #000000; font-size: 16px;">/dev/sda8              92M   42M   46M  48% /boot</span> <img src ="http://www.tkk7.com/yjhmily/aggbug/347694.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yjhmily/" target="_blank">kangxm</a> 2011-04-06 12:09 <a href="http://www.tkk7.com/yjhmily/archive/2011/04/06/347694.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ubuntu android开?q接手机http://www.tkk7.com/yjhmily/archive/2011/03/23/346857.htmlkangxmkangxmWed, 23 Mar 2011 06:11:00 GMThttp://www.tkk7.com/yjhmily/archive/2011/03/23/346857.htmlhttp://www.tkk7.com/yjhmily/comments/346857.htmlhttp://www.tkk7.com/yjhmily/archive/2011/03/23/346857.html#Feedback2http://www.tkk7.com/yjhmily/comments/commentRss/346857.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/346857.html

在ubuntu环境下进行android开发,x目标讑֤定ؓ真实的手机?/p>

前几天刚C个defyp了下Q结果打开手机usb调试模式q接到电脑后Q在eclipse里面手机名字昄Z堆?Q?P且无法用?/p>

需要以下的步骤才能q接刎ͼ

1 把手备ؓusb调试模式q和电脑q接

2 打开l端q行

    lsusb


    屏幕上会有一行显C类?/p>

    Bus 002 Device 012: ID 22b8 :xxxx Motorola xxxxxxxxxxxx

    q就是你的android手机?/p>

3 然后在终端运?/p>

   sudo gedit /etc/udev/rules.d/50-android.rules

   q编辑其中加入行Q?/span> SUBSYSTEM=="usb", SYSFS{"Motorola xxxxxxxxxxxx "}=="22b8 ", MODE="0666"

4 接着q行

    sudo chmod a+rx /etc/udev/rules.d/50-android.rules

    sudo /etc/init.d/udev restart

5 最后进入android sdk的tools目录 platform-tools q行

    sudo ./adb kill-server

    sudo ./adb devices

试着重新打开eclipseQ在q行参数里选则手动选取目标讑֤Q这时在Device Chooser里面应该可以看到正常显C出名字的手Z?/span>



kangxm 2011-03-23 14:11 发表评论
]]>
Ubuntupȝ下Memcache的安装与配置http://www.tkk7.com/yjhmily/archive/2010/04/20/318836.htmlkangxmkangxmTue, 20 Apr 2010 04:19:00 GMThttp://www.tkk7.com/yjhmily/archive/2010/04/20/318836.htmlhttp://www.tkk7.com/yjhmily/comments/318836.htmlhttp://www.tkk7.com/yjhmily/archive/2010/04/20/318836.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/318836.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/318836.html         目前手上的项目需要用到memory cache,于是我选择强大的Memcached。至于Memcached的强大先不在q里说了Q?br /> 后箋有时_我专门来介绍一下Memcached吧。今天只介绍下安装和配置Q?br />          直接q入主题吧;
         1、下?br />                Memcached下蝲地址: http://memcached.org/  我下载的最新版本v1.45
               Libevent下蝲地址Qhttp://www.monkey.org/~provos/libevent/   我下载的版本?a >libevent-1.4.13-stable
              
          因ؓMemcache用到了libeventq个库用于Socket的处理,所以需要安装libevent

        2、先安装libevent
             # tar zxvf libevent-1.4.13-stable.tar.gz
             # cd libevent-1.4.13-stable
             # ./configure –prefix=/usr
             # make
             # make install
      
        3、再安装MemcachedQ同旉要安装中指定libevent的安装位|:
             # tar zxvf memcached-1.4.5.tar.gz
             # cd memcached-1.4.5
             # ./configure –with-libevent=/usr
             # make
             # make install
             安装完成后会把memcached攑ֈ /usr/local/bin/memcached Q?br />
        4?strong>memcached的基本设|?/strong>Q?br />

             启动Memcache的服务器端:
             # /usr/local/bin/memcached -d -m 100 -u root -l 192.168.1.192 -p 12000 -c 256 -P /tmp/memcached.pid

    -d选项是启动一个守护进E,
    -m是分配给Memcache使用的内存数量,单位是MBQ我q里?00MBQ?br />     -u是运行Memcache的用P我这里是rootQ?br />     -l是监听的服务器IP地址Q如果有多个地址的话Q我q里指定了服务器的IP地址192.168.1.192Q?br />     -p是设|Memcache监听的端口,我这里设|了12000Q最好是1024以上的端口,
    -c选项是最大运行的q发q接敎ͼ默认?024Q我q里讄?56Q按照你服务器的负蝲量来讑֮Q?br />     -P是设|保存Memcache的pid文gQ我q里是保存在 /tmp/memcached.pidQ?/p>

           如果要结束Memcacheq程Q执行:

           # kill  cat /tmp/memcached.pid

          也可以启动多个守护进E,不过端口不能重复?/p>             

kangxm 2010-04-20 12:19 发表评论
]]>
最快的办法扑֛“显C桌面”图?/title><link>http://www.tkk7.com/yjhmily/archive/2009/04/21/266696.html</link><dc:creator>kangxm</dc:creator><author>kangxm</author><pubDate>Tue, 21 Apr 2009 02:29:00 GMT</pubDate><guid>http://www.tkk7.com/yjhmily/archive/2009/04/21/266696.html</guid><wfw:comment>http://www.tkk7.com/yjhmily/comments/266696.html</wfw:comment><comments>http://www.tkk7.com/yjhmily/archive/2009/04/21/266696.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/yjhmily/comments/commentRss/266696.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yjhmily/services/trackbacks/266696.html</trackback:ping><description><![CDATA[不小心把快速启动里面的“显C桌面”图标搞没了Q懒得折腾,所以一直用WIN+DQ还是觉得不太习惯。总觉得少了点什?.....<br /><br />后来q是把“显C桌面”找回来了!记录一?br /><br />以前用过一个自q写“显C桌?scf”文件的办法q过Q具体操作如下:<br /><br /><font color="#0000ff"><span id="reply_content_100515930">C本输入:[Shell]Command=2IconFile=explorer.exe,3[Taskbar]Command=ToggleDesktop另存?昄桌面.scf"Q文件类型ؓ所有文件。然后将文g拖到快速启动栏卛_Q?/span><br /></font><br /><br />不过有点ȝQ这ơ google了一下,扑ֈ一个更单的办法Q?br /><br /><font color="#0000ff">“start?->“Run?->输入“regsvr32 /n /i:u shell32?/font><br /><br /><img height="207" alt="昄桌面.jpg" src="http://www.tkk7.com/images/blogjava_net/yjhmily/blogJavaImg/昄桌面.jpg" width="617" border="0" /><br /><br />q个时候你会发C的快速启动栏里面有了“显C桌面?img src ="http://www.tkk7.com/yjhmily/aggbug/266696.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yjhmily/" target="_blank">kangxm</a> 2009-04-21 10:29 <a href="http://www.tkk7.com/yjhmily/archive/2009/04/21/266696.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>JAVAE序员不可不注意的编码规?/title><link>http://www.tkk7.com/yjhmily/archive/2007/09/27/148671.html</link><dc:creator>kangxm</dc:creator><author>kangxm</author><pubDate>Thu, 27 Sep 2007 05:31:00 GMT</pubDate><guid>http://www.tkk7.com/yjhmily/archive/2007/09/27/148671.html</guid><wfw:comment>http://www.tkk7.com/yjhmily/comments/148671.html</wfw:comment><comments>http://www.tkk7.com/yjhmily/archive/2007/09/27/148671.html#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://www.tkk7.com/yjhmily/comments/commentRss/148671.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yjhmily/services/trackbacks/148671.html</trackback:ping><description><![CDATA[     摘要: 最q经常看一些朋友写的源代码QL感觉~码规范问题q没有成为大家的x点,D代码的通用可读性相Ҏ较差Q?<br> <br>所以在此唠叨几句编码规范(以struts2+spring2+hibernate3架构的项目ؓ例)Q大家各取所需Q欢q拍砖! <br>  <a href='http://www.tkk7.com/yjhmily/archive/2007/09/27/148671.html'>阅读全文</a><img src ="http://www.tkk7.com/yjhmily/aggbug/148671.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yjhmily/" target="_blank">kangxm</a> 2007-09-27 13:31 <a href="http://www.tkk7.com/yjhmily/archive/2007/09/27/148671.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>教你十招优化WinXppȝ?/title><link>http://www.tkk7.com/yjhmily/archive/2007/09/21/147141.html</link><dc:creator>kangxm</dc:creator><author>kangxm</author><pubDate>Fri, 21 Sep 2007 08:13:00 GMT</pubDate><guid>http://www.tkk7.com/yjhmily/archive/2007/09/21/147141.html</guid><wfw:comment>http://www.tkk7.com/yjhmily/comments/147141.html</wfw:comment><comments>http://www.tkk7.com/yjhmily/archive/2007/09/21/147141.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.tkk7.com/yjhmily/comments/commentRss/147141.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yjhmily/services/trackbacks/147141.html</trackback:ping><description><![CDATA[     摘要: 教你十招优化WinXppȝ?nbsp; <a href='http://www.tkk7.com/yjhmily/archive/2007/09/21/147141.html'>阅读全文</a><img src ="http://www.tkk7.com/yjhmily/aggbug/147141.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yjhmily/" target="_blank">kangxm</a> 2007-09-21 16:13 <a href="http://www.tkk7.com/yjhmily/archive/2007/09/21/147141.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>׃n一个MyEclipse5.5GA注册?/title><link>http://www.tkk7.com/yjhmily/archive/2007/05/28/120383.html</link><dc:creator>kangxm</dc:creator><author>kangxm</author><pubDate>Mon, 28 May 2007 01:21:00 GMT</pubDate><guid>http://www.tkk7.com/yjhmily/archive/2007/05/28/120383.html</guid><wfw:comment>http://www.tkk7.com/yjhmily/comments/120383.html</wfw:comment><comments>http://www.tkk7.com/yjhmily/archive/2007/05/28/120383.html#Feedback</comments><slash:comments>170</slash:comments><wfw:commentRss>http://www.tkk7.com/yjhmily/comments/commentRss/120383.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yjhmily/services/trackbacks/120383.html</trackback:ping><description><![CDATA[     摘要: ׃n一个MyEclipse5.5GA注册?nbsp; <a href='http://www.tkk7.com/yjhmily/archive/2007/05/28/120383.html'>阅读全文</a><img src ="http://www.tkk7.com/yjhmily/aggbug/120383.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yjhmily/" target="_blank">kangxm</a> 2007-05-28 09:21 <a href="http://www.tkk7.com/yjhmily/archive/2007/05/28/120383.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Eclipse 快捷?收藏)http://www.tkk7.com/yjhmily/archive/2007/05/10/116424.htmlkangxmkangxmThu, 10 May 2007 03:15:00 GMThttp://www.tkk7.com/yjhmily/archive/2007/05/10/116424.htmlhttp://www.tkk7.com/yjhmily/comments/116424.htmlhttp://www.tkk7.com/yjhmily/archive/2007/05/10/116424.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/116424.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/116424.htmlCtrl+1 快速修?最l典的快捷键,׃用多说了)

Ctrl+D: 删除当前行? 

Ctrl+Alt+?复制当前行到下一?复制增加)

Ctrl+Alt+?复制当前行到上一?复制增加)

Alt+↓?当前行和下面一行交互位|?特别实用,可以省去先剪?再粘贴了)

Alt+↑?当前行和上面一行交互位|?同上)

Alt+←?前一个编辑的面

Alt+→?下一个编辑的面(当然是针对上面那条来说了)

Alt+Enter 昄当前选择资源(工程,or 文g or文g)的属?br />
Shift+Enter 在当前行的下一行插入空?q时鼠标可以在当前行的Q一位置,不一定是最?

Shift+Ctrl+Enter 在当前行插入I(原理同上?

Ctrl+Q  定位到最后编辑的地方

Ctrl+L  定位在某行?(对于E序过100的h有音?

Ctrl+M 最大化当前的Edit或View (再按则反?

Ctrl+/  注释当前?再按则取消注?br />
Ctrl+O  快速显C?OutLine

Ctrl+T  快速显C当前类的承结?br />
Ctrl+W  关闭当前Editer

Ctrl+K  参照选中的Word快速定位到下一?br />
Ctrl+E 快速显C当前Editer的下拉列?如果当前面没有昄的用黑体表示)

Ctrl+/(键? 折叠当前cM的所有代?br />
Ctrl+×(键? 展开当前cM的所有代?br />
Ctrl+Space 代码助手完成一些代码的插入(但一般和输入法有冲突,可以修改输入法的热键,也可以暂用Alt+/来代?

Ctrl+Shift+E 昄理当前打开的所有的View的管理器(可以选择关闭,Ȁzȝ操作)

Ctrl+J  正向增量查找(按下Ctrl+J?你所输入的每个字母编辑器都提供快速匹配定位到某个单词,如果没有,则在stutes line中显C没有找C,查一个单词时,特别实用,q个功能Idea两年前就有了)

Ctrl+Shift+J 反向增量查找(和上条相?只不q是从后往前查)

Ctrl+Shift+F4 关闭所有打开的Editer

Ctrl+Shift+X  把当前选中的文本全部变呛_?br />
Ctrl+Shift+Y  把当前选中的文本全部变为小?br />
Ctrl+Shift+F  格式化当前代?br />
Ctrl+Shift+P 定位到对于的匚wW?譬如{}) (从前面定位后面时,光标要在匚wW里?后面到前?则反?

Alt+Shift+R 重命?(是我自己最q的一个了,其是变量和cȝRename,比手工方法能节省很多力_?

Alt+Shift+M 抽取Ҏ (q是重构里面最常用的方法之一?其是对一大堆泥团代码有用)

Alt+Shift+C 修改函数l构(比较实用,有N个函数调用了q个Ҏ,修改一ơ搞?

Alt+Shift+L 抽取本地变量( 可以直接把一些魔法数字和字符串抽取成一个变?其是多处调用的时?

Alt+Shift+F 把Class中的local变量变ؓfield变量 (比较实用的功?

Alt+Shift+I 合ƈ变量(可能q样说有点不妥Inline)

Alt+Shift+V Ud函数和变?不怎么常用)

Alt+Shift+Z 重构的后悔药(Undo)



kangxm 2007-05-10 11:15 发表评论
]]>
千万别把JAVA环境变量和TOMCAT的配|方法忘了!Q!http://www.tkk7.com/yjhmily/archive/2007/03/16/104128.htmlkangxmkangxmThu, 15 Mar 2007 18:20:00 GMThttp://www.tkk7.com/yjhmily/archive/2007/03/16/104128.htmlhttp://www.tkk7.com/yjhmily/comments/104128.htmlhttp://www.tkk7.com/yjhmily/archive/2007/03/16/104128.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/104128.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/104128.html阅读全文

kangxm 2007-03-16 02:20 发表评论
]]>
与Agent.bbb木马做斗?/title><link>http://www.tkk7.com/yjhmily/archive/2007/03/14/103856.html</link><dc:creator>kangxm</dc:creator><author>kangxm</author><pubDate>Wed, 14 Mar 2007 10:55:00 GMT</pubDate><guid>http://www.tkk7.com/yjhmily/archive/2007/03/14/103856.html</guid><wfw:comment>http://www.tkk7.com/yjhmily/comments/103856.html</wfw:comment><comments>http://www.tkk7.com/yjhmily/archive/2007/03/14/103856.html#Feedback</comments><slash:comments>6</slash:comments><wfw:commentRss>http://www.tkk7.com/yjhmily/comments/commentRss/103856.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/yjhmily/services/trackbacks/103856.html</trackback:ping><description><![CDATA[ <p>     从上周v,公司的电脑一开监ְ?C:\WINDOWS\SYSTEM32\LWIGW.DLL被感染木?  </p> <div align="center"> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 80.57%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 58px; BACKGROUND-COLOR: #eeeeee"> <div align="left"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">2007</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">3</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">14</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #000000">19</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">    文g C:\WINDOWS\SYSTEM32\LWIGW.DLL: 到 木马E序 Trojan</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">Downloader.Win32.Agent.bbb<br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /><br /><img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /></span> <span style="COLOR: #000000">2007</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">3</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">14</span> <span style="COLOR: #000000"> </span> <span style="COLOR: #000000">10</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #000000">20</span> <span style="COLOR: #000000">:</span> <span style="COLOR: #000000">00</span> <span style="COLOR: #000000">    文g C:\WINDOWS\system32\drivers\fpvsy.sys: 到 木马E序 Trojan</span> <span style="COLOR: #000000">-</span> <span style="COLOR: #000000">Downloader.Win32.Agent.bbb</span> </div> </div> </div> <p>     q且q清除失?明显杀毒能力太?;工作太忙没顾得上它;<br />     <br /><br />   今天实在是忍受不了了,下了个卡巴斯基开杀,没想到这下杀出毛病来?<br /><br />   <font color="#ff0000">卡巴斯基一上来发Cq个病毒,然后提示删除,我点ȝ?卡巴又提C我重启后删?我心?那就重启?只要能杀??br />    得它老在q烦?重启完我傻?卡巴又提C有q个病毒,和刚才一?l箋要求重启后删?p样不听的循环.........................<br /></font><br />   现在的病毒太杀毒Y件了!!!!!!!!!!   搞得杀毒Y件就只好ƺ骗?!!!!!!!<br /><br />   样,我就不信M了你! Google了一?发现q个木马q蛮?</p> <div align="center"> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 68.84%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; HEIGHT: 65px; BACKGROUND-COLOR: #eeeeee"> <div align="left"> <img src="http://www.tkk7.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000"> Trojan</span> <span style="COLOR: #000000">/</span> <span style="COLOR: #000000">Agent.bbb“代理木马”变Ubbb是一个盗取用h密信息的木马E序。“代理木马”变Ubbbq行后,自我<br />复制到系l目录下Q文件名随机生成。修Ҏ册表Q实现开启。从指定站点下蝲其它木马Q侦听黑客指令,盗取用户机密信息?/span> </div> </div> </div> <p>    搜了点资料最后将其搞?以下是我l合各种资料q试验成功的办法(自认为比较简?<br /><br /><br />     1、下载一个叫<span id="vnntfh1" class="tpccontent"><span lang="EN-US" style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 宋体; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"><font size="3">unlocker</font><font color="#000000"><font size="3">的工P它有解锁功能Q可以知道你要删除的文g被哪一些程序占用了该目录或文gQƈ其解锁Q然后就可以正常删掉了!<br />                 地址Q?/font><a ><font size="3">http://www.skycn.com/soft/22964.html</font></a></font></span></span><br /><br />      2、在杀毒Y件提CZ被感染病毒的文g目录下找到对应的文gQ点击鼠标右键,选择Unlocker解锁Q会弹出一个框告诉你当前是哪些E序在用该文gQ点几Z全部解锁”即可;<br /><br />      3、确定所有被感染的文仉解锁后,q行杀毒Y件杀毒,一切OK!<br />            保证不会再被<strong>病毒!!!!!<br /></strong><br />   <br />            <br />   <br /><br />   <br />   </p> <img src ="http://www.tkk7.com/yjhmily/aggbug/103856.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/yjhmily/" target="_blank">kangxm</a> 2007-03-14 18:55 <a href="http://www.tkk7.com/yjhmily/archive/2007/03/14/103856.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>忙里偷闲Q推荐一下Links方式安装Eclipse Pluginshttp://www.tkk7.com/yjhmily/archive/2007/01/25/95925.htmlkangxmkangxmThu, 25 Jan 2007 06:29:00 GMThttp://www.tkk7.com/yjhmily/archive/2007/01/25/95925.htmlhttp://www.tkk7.com/yjhmily/comments/95925.htmlhttp://www.tkk7.com/yjhmily/archive/2007/01/25/95925.html#Feedback2http://www.tkk7.com/yjhmily/comments/commentRss/95925.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/95925.html
L原因: 方便,省事,易迁U?

下面我以Log4E插gZ:( Z推荐一下Log4E插g :-) )  阅读全文

kangxm 2007-01-25 14:29 发表评论
]]>
D版Xp安装IE7.0最ȝhttp://www.tkk7.com/yjhmily/archive/2006/11/05/79188.htmlkangxmkangxmSun, 05 Nov 2006 06:06:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/11/05/79188.htmlhttp://www.tkk7.com/yjhmily/comments/79188.htmlhttp://www.tkk7.com/yjhmily/archive/2006/11/05/79188.html#Feedback3http://www.tkk7.com/yjhmily/comments/commentRss/79188.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/79188.htmlBaidu了一下,发现关于破解IE7.0正版验证的资料已l不了Q?
自己捣腾了一会,ȝZ天最单的ҎQ在q里与大家分享:
  阅读全文

kangxm 2006-11-05 14:06 发表评论
]]>
Eclipse 5 岁啦!——Happy Birthday To Eclipsehttp://www.tkk7.com/yjhmily/archive/2006/11/03/78955.htmlkangxmkangxmFri, 03 Nov 2006 09:32:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/11/03/78955.htmlhttp://www.tkk7.com/yjhmily/comments/78955.htmlhttp://www.tkk7.com/yjhmily/archive/2006/11/03/78955.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/78955.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/78955.html Celebrate Eclipse's 5th Birthday

Eclipse is turning 5! It was November 7, 2001 when IBM first released Eclipse as an open source project. To celebrate, a number of activities are being organized for the Eclipse community.



kangxm 2006-11-03 17:32 发表评论
]]>
如何得到自己的GMail Iconhttp://www.tkk7.com/yjhmily/archive/2006/10/26/77383.htmlkangxmkangxmThu, 26 Oct 2006 05:21:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/10/26/77383.htmlhttp://www.tkk7.com/yjhmily/comments/77383.htmlhttp://www.tkk7.com/yjhmily/archive/2006/10/26/77383.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/77383.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/77383.html(kBlog)E序,所以经常关注网上一些个人blog.

发现他们都有自己?GMail Icon ,刚开始一直以为是人家自己用Photoshp做到,我也曄试着d一?(p|告终)

可后来我发现每个人的GMail Icon都很cM,开始怀疑是不是Google有什么统一的标?

Google了一?才知道原来他们都是用
E-Mail Icon Generator搞出来的!恍然大悟,?发现自己真有点落?..

自己甌了一? image.png

q里l两个链接吧!在我之后知道的朋友可以自己去搞一个Icon!

E-Mail Icon Generator : For GMail, Hotmail, MSN, Yahoo!, AOL and many more!


G
mailSignature Generator


主要推荐W一?W二个只支持GMail,q且生成的png囄也不太好?


kangxm 2006-10-26 13:21 发表评论
]]>
体验IE7http://www.tkk7.com/yjhmily/archive/2006/10/23/76682.htmlkangxmkangxmMon, 23 Oct 2006 01:05:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/10/23/76682.htmlhttp://www.tkk7.com/yjhmily/comments/76682.htmlhttp://www.tkk7.com/yjhmily/archive/2006/10/23/76682.html#Feedback5http://www.tkk7.com/yjhmily/comments/commentRss/76682.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/76682.html阅读全文

kangxm 2006-10-23 09:05 发表评论
]]>
FCKeditor——强大的HTML文本~辑插ghttp://www.tkk7.com/yjhmily/archive/2006/09/21/71041.htmlkangxmkangxmThu, 21 Sep 2006 03:28:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/09/21/71041.htmlhttp://www.tkk7.com/yjhmily/comments/71041.htmlhttp://www.tkk7.com/yjhmily/archive/2006/09/21/71041.html#Feedback2http://www.tkk7.com/yjhmily/comments/commentRss/71041.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/71041.html

FCKeditor是sourceforge.net上面的一个开源项目?br />一个强大的HTML文本~辑插gQ主要实C在线|页~辑的功能!
操作hpMS WORD一L?
据我所知,FCKeditor是目前互联网上最好的~辑器,功能强大Q支持多U浏览器Q无q_限制Q可以和多种WEB语言融合Q多语言支持Q开源等~~


下面是官方的介绍
This HTML text editor brings to the web many of the powerful functionalities of desktop editors like MS Word. It's lightweight and doesn't require any kind of installation on the client computer.
Because it is Open Source, you may use it however you want.

FCKeditor is now a “must have?editor. This version is even more stable, with many important bug fixings and new features, including native support for Python. Important additions have been also made to the JavaScript API.
With no doubts, FCKeditor is the most used web browser based text editor in the market, with almost 50,000 downloads monthly. This version comes to certify the quality and affordability of this project. Enjoy FCKeditor and have a Happy New Year!

FCKeditor is compatible with most internet browsers which include: IE 5.5+ (Windows), Firefox 1.0+, Mozilla 1.3+ and Netscape 7+.  On the server side, FCKeditor offers a complete integration pack for: ASP.Net、ASP、PHP、ColdFusion、Java、Perl
The editor runs over Windows, Mac and Linux operating systems.

下蝲或者查看详情请讉KQhttp://www.fckeditor.netQ?br />
目前官方推荐的稳定版本是FCKeditor 2.3.1Q最q我在官方又看到已经有了FCKeditor.Java 2.3版本了;
对用JAVA开发的朋友来说无疑是再开心不q了Q?br />
了解了该~辑器,下面再来看看具体应该怎么用吧Q?br />我是学java的,在自q工程里面试用了用一下FCKeditorQ感觉确实不?q里我简单介l一?br />Q仅针对windows操作pȝ用Eclipse开发的java web工程Q?br />
一、下载FCKeditor;

    需要下载两个包Q?br />    1、FCKeditor_2.3.1.zip   地址Qhttp://www.fckeditor.net/download/default.html
         2、FCKeditor-2.3.zip   地址Qhttp://sourceforge.net/project/showfiles.php?group_id=75348&package_id=129511

二、在Eclipse里面新徏一个工E,然后把上面两个包的部分文Ӟ对你有用的)考进工程相应目录Q?br />
    1、解压羃FCKeditor-2.3.zipQ在FCKeditor-2.3\web\WEB-INF\lib里面你会看到commons-fileupload.jar和FCKeditor-2.3.jarq两个jar包,考入你工E里面的\workspace\yjhmily\WebRoot\WEB-INF\libQyjhmily是我的工E名Q中Q其中commons-fileupload.jar已经存在Q覆盖就行了Q?br />    2、解压羃FCKeditor_2.2.zipQ在\FCKeditor_2.2\FCKeditor中你会看C个editor文g夹,q里面放的是一些必ȝHTML、JS、skin、images、css……等文gQ将整个文g夹考入你工E里面的\workspace\yjhmily\WebRoot\FCKeditor\editor中,其中FCKeditor是我自己建的目录Q便与标识。当Ӟ你也可以直接把editor文g夹考到WebRoot目录下?br />    3、将\FCKeditor_2.2\FCKeditor中的fckconfig.js、fckeditor.afp、fckeditor.cfc、fckeditor.cfm、fckeditor.js、fckeditor.lasso、fckstyles.xml、fcktemplates.xml全部考入\workspace\yjhmily\WebRoot\FCKeditor下。其实只要保证这些文件跟editor在同一目录下就可以了!

三、我的工E结构图Q?br />
fck.jpg

四、一切OKQ可以写一个JSP面自己感受一下了?br />
    你只需要在JSP面中写入以下这D代码就可以调用FCKeditor~辑器了Q跟使用Struts的标{一hѝ(FCKeditor-2.3.zip中有很详l的例子Q?br />   
    <FCK:editor id="EditorDefault" basePath="/FCKeditor/"
        imageBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
        linkBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector"
        flashBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Flash&Connector=connectors/jsp/connector"
        imageUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Image"
        linkUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=File"
        flashUploadURL="/FCKeditor/editor/filemanager/upload/simpleuploader?Type=Flash">
This is some <strong>sample text</strong>. You are using <a >FCKeditor</a>.
    </FCK:editor>   

五、FCK效果?br />
pic.jpg


以上只是我个人对FCKeditor的理解,希望各位|友指点?/font>


kangxm 2006-09-21 11:28 发表评论
]]>
MyEclipse 5.0 注册码——支持eclipse 3.2http://www.tkk7.com/yjhmily/archive/2006/09/14/69516.htmlkangxmkangxmWed, 13 Sep 2006 18:02:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/09/14/69516.htmlhttp://www.tkk7.com/yjhmily/comments/69516.htmlhttp://www.tkk7.com/yjhmily/archive/2006/09/14/69516.html#Feedback19http://www.tkk7.com/yjhmily/comments/commentRss/69516.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/69516.html
在公叔R装myEclipse的时候,google了一下,发现|上传的myEclipse 5.0 的注册码特别的少Q?br />
搜来搜去L那一个码Q还不提供注册机下蝲Q(其他低版本的注册码下载地址都挺多的Q?br />
q好我在安电脑上保存了myEclipse 5.0 的注册机?br />
公布一个绝对可用的注册码:


*******************************************************
License Name : yjhmily

License Key  : lLR8ZC-444-55-4467865759095168
*******************************************************


希望对大家有有用Q?br />


kangxm 2006-09-14 02:02 发表评论
]]>
我常用的Firefox插gQ做个备份!http://www.tkk7.com/yjhmily/archive/2006/09/14/69514.htmlkangxmkangxmWed, 13 Sep 2006 17:28:00 GMThttp://www.tkk7.com/yjhmily/archive/2006/09/14/69514.htmlhttp://www.tkk7.com/yjhmily/comments/69514.htmlhttp://www.tkk7.com/yjhmily/archive/2006/09/14/69514.html#Feedback0http://www.tkk7.com/yjhmily/comments/commentRss/69514.htmlhttp://www.tkk7.com/yjhmily/services/trackbacks/69514.html
重做pȝ把以前用的Firefox插g弄没了,找了好几天,ȝ是弄的比较够用了Q?br />
q里做个备䆾Q同时也跟大家分享一下!

firefox plugins.JPG


DictionarySearchQ?在线字典

Google Toolbar for FirefoxQ?  Google的工h   Z错的Q?br />
Web DeveloperQ?   Web开发者的音   拥有强大的CSS调试和Form调试能力Q对面的分析非常全面!

Gmail ManagerQ?   Gmail理    感觉一般,个h感觉没什么必要!今我的google个性化主页p看到Gmail的情况!

FlashGotQ?  调用外部下蝲工具   个h喜欢其与Net Transport兌

DownThemAll!Q?扚w下蝲工具    看名字就很特别,其实是抓囄的好东东Q?br />
del.icio.usQ?  收藏夹管理工具 ?暂时q没弄明白到底好在什么地方!

All-in-One GesturesQ?定制鼠标手势 

FasterfoxQ对Firefoxq行性能和网l优化,q带有页面装载计时器

Tab Mix PlusQ加强默认的标签分页览功能

SearchStatusQ显C当前网늚Google Pagerank和Alexa排名

PerformancingQBlog写作工具  爱写blog的同志肯定喜?br />



kangxm 2006-09-14 01:28 发表评论
]]>
վ֩ģ壺 ѾƷԲ߲| ŮƵ| ޾Ʒ㶮| ŮƬѹۿƵ| ޹Ʒþþ| ҹѸСӰ| ŷձ| ˵ĺÿѹۿƵ| ۺУ԰ɫ| վѹۿ޹| ɫվwww| ҹav뾫Ʒ | 2017| ձƬѹۿһ| һëƬĻ| ŮëƬƵ| ͵͵APP| һëƬһëƬaa| þþþþþþþѾƷ | ҹС˵69| ˳߹ۿվƵ| ëƬѹۿȫ| ѹۿƵ| Ʒһ| ɫ͵͵͵ۺ| 91Ʒһ鶹| þѹƵ| ߹ۿ| ޹˾þþƷ99| Ƶ| þ޾ƷƷ| ߿Ƭ˳Ƶڵ| hƵѹۿ| 99þۺϾƷ| ĻӰԺѲ| | һ߲߲| þþƷ޾Ʒ| ɫվ| һëƬѿa| þþƷAV͵|