posted @ 2011-04-07 09:29 nasdaqhe 阅读(287) 评论(0) 推荐(0) 编辑
摘要:
select [id],[poster],[fid],[title],[editername],[modifytime] from(select [id],[poster],[fid],[title],[editername],[modifytime], row_number() over( order by id desc) as row from [news] WITH (NOLOCK)where path like 'A_B%' and id not in(select id from [news] where layer=7 or layer=5)) a where r 阅读全文
摘要:
通过rel="search",把你的搜索功能放到浏览器的快捷搜索工具上用firefox打开taobao时,看一下地址栏边上的快捷搜索时,可以填加一个“淘宝搜索”,完成后,以后就可以直接在那里搜索东西了!实现方法:在首页的head标签里加上 “link rel="search" type="application/opensearchdescription+xml" href=provider.xml" title="关键词搜索" /”provider.xml的写法为:?xml version="1.0" encoding="utf-8"?OpenSearchDescription x 阅读全文
posted @ 2010-12-23 21:39 nasdaqhe 阅读(246) 评论(0) 推荐(0) 编辑
摘要:
代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--#region判断Url参数是否UTF8编码publicstaticboolIsUTF8(stringurl){byte[]buf=GetUrlCodingToBytes(url);returnIsTextUTF8(buf);}privatestaticboolIsTextUTF8(byte[]buf){inti;bytecOctets=0;//octetstogointhisUTF-8encod 阅读全文
posted @ 2010-12-23 11:16 nasdaqhe 阅读(1081) 评论(0) 推荐(0) 编辑
摘要:
用JavaScript玩转游戏物理(一)运动学模拟与粒子系统http://www.cnblogs.com/miloyip/archive/2010/06/14/Kinematics_ParticleSystem.html 阅读全文
posted @ 2010-06-17 21:59 nasdaqhe 阅读(259) 评论(0) 推荐(0) 编辑
摘要:
开启SSHCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->sudoapt-getinstallopenssh-server列出分区信息Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->sudofdisk-l挂载分区Code highlighting produced by Actipro Co 阅读全文
posted @ 2010-06-13 21:01 nasdaqhe 阅读(146) 评论(0) 推荐(0) 编辑
摘要:
原文地址:http://www.cnblogs.com/royenhome/archive/2010/05/22/1741592.html
为了方便以后查阅转到自己的博客。 阅读全文
posted @ 2010-06-06 11:59 nasdaqhe 阅读(136) 评论(0) 推荐(0) 编辑
摘要:
VMware的ubuntu10.04修改交换分区大小http://www.javaeye.com/topic/618274注意,上参考文中最后一步 swapfilepath swap swap defaults 0 0需要用具体操作是 vi打开/etc/fstab 在最后追加 /xxx/xxx swap swap defaults 0 0VI使用方法http://www.ityg.net/article/Show.aspx?ID=242VMware的ubuntu10.04与实际机器之间文本的复制粘贴需要安装VMware Toolshttp://www.cnblogs.com/xxcainiao 阅读全文
posted @ 2010-06-05 23:08 nasdaqhe 阅读(804) 评论(0) 推荐(0) 编辑