一、try { //方法一 //调用自己的exe传递参数 //Process proc =
new Process(); //proc.StartInfo.FileName = @"D:\\hote...
分类:
Web程序 时间:
2014-05-07 16:50:52
阅读次数:
479
New Document button1 button2
分类:
Web程序 时间:
2014-05-07 16:46:53
阅读次数:
370
刚接触InforPath,就要进行修改,实在搞不懂公司内部的逻辑啊。首先需要明白,他是xml结构的,了解xml的话对这个就好操作了。但重要的一点是要记得声明命名空间,否则读起来是会报错的。
XmlNamespaceManager nsmgr = new XmlNamespaceManager(do....
分类:
其他好文 时间:
2014-05-07 16:43:19
阅读次数:
385
??
在我们几个觉得终于可以稍稍松口气的时候,又有意料之外的事情发生了——公司组织结构调整。公司因为业务范围调整,所以要进行相应的组织结构调整,PMO部门也随之重组,项目经理俱乐部的活动改成项目交流会,请项目中的牛人登台演讲。因为重组之后的PMO人员只有一全职一个兼职,虽然有HR的同事协助,但仍受人员精力等条件的限制,交流会只进行了两次就没再组织,PMO的工作范围也逐渐缩小到工时管理、项...
分类:
其他好文 时间:
2014-05-07 16:14:57
阅读次数:
263
使用意图链接活动
1、新建一个名为“UsingIntent”的项目,右击src文件夹下的包名,选择New-->Class选项,并将新的类文件名命名为“SecondActivity”;
2、打开AndroidManifest.xml文件,添加如下代码:
<activity
android:name=".SecondActivity"
...
分类:
移动开发 时间:
2014-05-07 16:02:01
阅读次数:
304
以微博分享为例:
1.public void onClickShare(View view) {
2.
3. Intent intent=new Intent(Intent.ACTION_SEND);
4. intent.setType("image/*");
5. intent.putExtra(Inten...
分类:
移动开发 时间:
2014-05-07 15:59:21
阅读次数:
396
设置防火墙开放80端口
-A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT
虽然看不懂是什么,但是这个是用于开放80端口的。
网上的教程实在坑到家了,手动输入老是输入错误,保存起来下次直接用。
apache设置网站
设置监听的端口
Listen 80
Listen 8080
设置VirtualHo...
分类:
系统相关 时间:
2014-05-07 12:35:38
阅读次数:
438
font-family的调用方法:
div {
font-family:Arial,'Times New Roman','Microsoft YaHei',SimHei;
font:bold 12px/0.75em Arial,'Times New Roman','Microsoft YaHei',SimHei;
}
根据font-family的原则,假如客户终端不认...
分类:
Web程序 时间:
2014-05-07 12:27:13
阅读次数:
468
变形了的最近点对,关键在于计算距离的时候,如果同类点的话,直接判定为无穷大即可。
其他闲话:
(1)因为一些原因,被迫暂时用回C++.
(2)好久没刷题,忘记了数组一开始要开最大,多次new和delete,导致超时。
(3) 感觉算法导论的最近点对没有考虑到有多个点都在一条vertical line上的情形。
#include
#include
#include
#include...
分类:
其他好文 时间:
2014-05-07 11:29:11
阅读次数:
334
Chef had an interesting dream last night. He dreamed of a new revolutionary chicken recipe. When he woke up today he tried very hard to reconstruct the ingredient list. But, he could only remember cer...
分类:
其他好文 时间:
2014-05-07 11:23:54
阅读次数:
330