1.1 Hour 1 - Understanding Windows Workflow
Foundation1.1.1 What workflow is in generalA workflow is logic-consisting of one
or more steps that are pr...
原先启动Cygwin后,pwd显示:C:\Documents and
Settings\Administrator@IBM-EBDC0EAC4B7 ~$ pwdC:\Documents and
Settings\Administrator输入env查看目前系统有哪些环境变量:可以找到HOME=C:\...
There are K nuclear reactor chambers labelled from 0 to K-1. Particles are bombarded onto chamber 0. The particles keep collecting in the chamber 0. However if at any time, there are more than N parti...
分类:
其他好文 时间:
2014-05-04 18:00:17
阅读次数:
372
Cutting Recipes
The chef has a recipe he wishes to use for his guests,
but the recipe will make far more food than he can serve to the guests.
The chef therefore would like to make a reduced ve...
分类:
其他好文 时间:
2014-05-04 17:54:01
阅读次数:
387
1、基础的命令ver或cmd:查看当前系统版本md/rd
hack:创建/删除目录dir:列文件more 文件:使用管道查看文件net start/stop 服务名:启动/关闭服务net stop
sharedaccess:关闭防火墙netstat -an:查看开发端口netstat -anb:查看...
在json对象和java对象转换时
String s = "{'name':'name1','pwd':'pwd1'}";
Person p = (Person)JSONObject.toBean(JSONObject.fromObject(s), Person.class);
System.out.println(p.getPwd());
上面代码中出现以下异常:
net.sf.json.JSONException: java.lang.NoSuchMethodException...
分类:
编程语言 时间:
2014-05-04 09:05:16
阅读次数:
1650
原因:在测试机上首次安装oracle11G
RAC,安装完成后正常使用,过了一段时间后重启节点1测试是否可以自启动,解决节点1没有自启动,手工启动也无法启动过程:在节点一上运行:#
pwd/u01/grid/bin# ./crsctl start crsCRS-4124: Oracle High A...
分类:
数据库 时间:
2014-05-03 23:29:37
阅读次数:
905
2dx3.0下JSON解析库官方已经集成好了,我们引用就OK。
JSON文件hello.json内容
{"pets":["dog","cat"],"stuInfo":{"stuAge":"23","stuName":"zhangsan","birthday":"1990-01-12"},"username":"tomsfff","other":[true,30]}
.h头文件...
分类:
Web程序 时间:
2014-05-03 21:34:48
阅读次数:
319
在输入密码时,实现有限次密码输入的限制,如果三次都没有输入正确,程序将直接退出,不允许用户继续操作。
#include
#include
using namespace std;
int main()
{
string pwd;
int cLogin=0;
do
{
cout<>pwd;
if (pwd!="123")
{
...
分类:
编程语言 时间:
2014-05-03 17:45:26
阅读次数:
354
linux源码升级内核当前环境:[root@localhost~]#uname-r
2.6.18-348.el5配置流程:1、准备yum库安装g++gcc[root@localhost~]#cat/etc/yum.repos.d/rh_5.9.repo
[rhel-server]
name=Redserver
baseurl=file:///misc/cd/Server
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-..
分类:
系统相关 时间:
2014-05-03 14:40:08
阅读次数:
500