上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 40 下一页
摘要: matlab太大了,想导出一个可执行的文件,exe或jar或dll吧,然后用程序调用。我导出的exe,用php调用安装matlab,安装vc6编译器。没用过C++,下了个VC6.0安装了,系统就有vc6编译器了。Matlab命令行窗口:>> mex -setupPlease choose your compiler for building external interface (MEX) files: Would you like mex to locate installed compilers [y]/n? y Select a compiler: [1] Lcc-win32 阅读全文
posted @ 2012-02-21 12:14 xngeer 阅读(3538) 评论(1) 推荐(0)
摘要: 自己做一课程表页面 阅读全文
posted @ 2012-02-16 17:53 xngeer 阅读(160) 评论(0) 推荐(0)
摘要: 12<html><body><style>body{background:#ff0;}.td3{font-size: 14px;color: #FFFFFF;background-color: #000000;BORDER-RIGHT: #f6f6f6 1px solid; /* 显示右边框为1px,如果不想显示就为0px */border-top:11px #fff solid; /* 显示上边框为1px,如果不想显示就为0px */BORDER-LEFT: #f9f9f9 0px solid;/* 显示左边框为1px,如果不想显示就为0px */BORD 阅读全文
posted @ 2012-02-16 14:48 xngeer 阅读(11857) 评论(1) 推荐(0)
摘要: 很多时候 我们都想在IE里实现这样的布局:一个容器box有一个固定的高度 当内容超出固定高度时自动拉伸 即使内容比较少时 也可以保持一个最小高度这个布局对FF来说是小事一桩 只要给box定义一个min-height值就可以了 但遗憾的是IE不能识别这个属性 那我们有什么办法让IE也支持min-height吗?答案是肯定的,必须的。下面以一份简单的html为例我们可以这样定义CSS:.box{ margin:0 auto; padding:10px; border:1px solid #ccc; width:500px; min-height:45px;/*为FF定义min-heigh... 阅读全文
posted @ 2012-02-10 11:30 xngeer 阅读(453) 评论(0) 推荐(0)
摘要: http://apps.hi.baidu.com/share/detail/30748047<style>.tbl {table-layout:fixed;}</style><table class="tbl" border="1" width="80"><tr><td>abcdefghigklmnopqrstuvwxyz 1234567890</td></tr></table> 阅读全文
posted @ 2012-02-10 11:25 xngeer 阅读(4128) 评论(0) 推荐(0)
摘要: Eclipse下:选择一个页面或链接的action名,Ctrl+H在search的xml配置文件中可找到对应关系 阅读全文
posted @ 2012-02-10 09:26 xngeer 阅读(612) 评论(0) 推荐(0)
摘要: vertical-align:middle 阅读全文
posted @ 2012-02-09 11:45 xngeer 阅读(476) 评论(0) 推荐(0)
摘要: 部署时提示的错误信息如下:Deployment failure on Tomcat 6.x. Could not copy all resources to E:\apache-tomcat-6.0.16\webapps\HebbnWebServices. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at E:\apache-tomcat-6.0.16\webap 阅读全文
posted @ 2012-02-09 10:31 xngeer 阅读(2860) 评论(0) 推荐(0)
摘要: str=str.replace(/\t+/g,"").replace(/\n+/g,"").replace(/\r+/g,"").replace(/\s+/g,"");够了,多余的可能画蛇添足 阅读全文
posted @ 2012-02-08 18:42 xngeer 阅读(179) 评论(1) 推荐(0)
摘要: <div> <div><img src="http://images.cnblogs.com/menu_01.jpg" width="163" height="8" alt=""></div> <div style="background: url('/images/menu_02.jpg') repeat-y top left;"><jdoc:include type="modules" na 阅读全文
posted @ 2012-02-08 17:13 xngeer 阅读(375) 评论(0) 推荐(0)
摘要: 1. <!--[if !IE]><!--> 除IE外都可识别 <!--<![endif]-->2. <!--[if IE]> 所有的IE可识别 <![endif]-->3. <!--[if IE 5.0]> 只有IE5.0可以识别 <![endif]-->4. <!--[if IE 5]> 仅IE5.0与IE5.5可以识别 <![endif]-->5. <!--[if gt IE 5.0]> IE5.0以及IE5.0以上版本都可以识别 <![endif]--> 阅读全文
posted @ 2012-02-08 09:56 xngeer 阅读(368) 评论(1) 推荐(0)
摘要: 歌告诉我们什么?路上遇到的是朋友,走在一起的是爱人。爱情是美好的,婚姻也是美好的。如果有一天你认为爱情是美好的,婚姻是错误的。那么,习惯了这个错误就是习惯了在一起。没有什么再可抱怨~两个人,在一起,打不离,骂不断,就是美好的。猪研一时就明白:当两个人开始冷静得思考为什么在一起的时候,就是出问题了。So, just be you(s).歌不能告诉我们什么,直到我们自己明白想要的是什么 阅读全文
posted @ 2011-12-27 17:24 xngeer 阅读(153) 评论(0) 推荐(0)
摘要: 即去掉XML中所有<>及包含的内容import org.dom4j.Document;import org.dom4j.DocumentException;import org.dom4j.io.SAXReader;public class congTools { static Document doc; static String content; public congTools(String filename){ SAXReader reader = new SAXReader(); try { doc = reader.read(filename); } catch (Do 阅读全文
posted @ 2011-12-15 11:17 xngeer 阅读(893) 评论(1) 推荐(0)
摘要: (一)成长的寓言:做一棵永远成长的苹果树 一棵苹果树,终于结果了。 第一年,它结了10个苹果,9个被拿走,自己得到1个。对此,苹果树愤愤不平,于是自断经脉,拒绝成长。第二年,它结了5个苹果,4个被拿走,自己得到1个。“哈哈,去年我得到了10%,今年得到20%!翻了一番。”这棵苹果树心理平衡了。 但是,它还可以这样:继续成长。譬如,第二年,它结了100个果子,被拿走90个,自己得到10个。 很可能,它被拿走99个,自己得到1个。但没关系,它还可以继续成长,第三年结1000个果子…… 其实,得到多少果子不是最重要的。最重要的是,苹果树在成长!等苹果树长成参天大树的时候,那些曾阻碍它成长的... 阅读全文
posted @ 2011-12-12 08:55 xngeer 阅读(165) 评论(0) 推荐(0)
摘要: import junit.framework.TestCase;import static org.junit.Assert.*;public class SomeThingTest extends TestCase{ SomeThing st=null; public void setUp() throws Exception{ //在每个测试执行之前执行一次 st=sss; } public void tearDown() throws Exception{ //在每个测试执行之后执行一次 st=null; ... 阅读全文
posted @ 2011-12-09 16:41 xngeer 阅读(193) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 40 下一页