use mysql;将dbname数据库的查询权限赋予amu@127.0.0.1用户,应保持完整的用户信息,包含允许登录的IP,否则会新增任意主机的用户grant select on dbname.* to amu@127.0.0.1;回收权限revoke select on dbname.* fr...
分类:
数据库 时间:
2015-06-30 20:02:17
阅读次数:
150
Publis/Subscribe function in COBOL>> Embeded Delete1. Use table SOS.ECUI.ORDERS.INSERT INTO ORDERS(ORDER_NBR,AMOUNT) VALUES(1,1111);INSERT INTO ORDERS...
分类:
其他好文 时间:
2015-06-30 19:58:05
阅读次数:
234
配置mapreduce
<!--
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in...
分类:
其他好文 时间:
2015-06-30 18:17:42
阅读次数:
125
如果你在链接过程中收到错误信息 “_beginthreadex is undefined”,意思是你误用了单线程版的 runtime library 。你必须改用多线程版本。1:打开“Project”菜单——〉“Setting”菜单项——〉General选项卡在Microsoft Fountion Classes:中选择:Use MFC in Static Library.
2:再在C/C 选项...
分类:
其他好文 时间:
2015-06-30 16:29:56
阅读次数:
112
typedef __m128 XMVECTOR;To summarize,1. Use XMVECTOR for local or global variables.2. Use XMFLOAT2, XMFLOAT3, and XMFLOAT4 for class data members.(因为是...
分类:
其他好文 时间:
2015-06-30 16:14:24
阅读次数:
199
享元模式:
使用共享技术有效地支持大量细粒度的对象。
Use sharing to support large numbers of fine-grained objects efficiently.
这个设计模式和它的名字一样核心是为了共享代码。UML图:
主要包括:
FlyWeight:声明了一个接口,通过这个接口所有的FlyWeight能够接受并作用于外部的状态。
ConcreteFl...
分类:
其他好文 时间:
2015-06-30 13:02:12
阅读次数:
137
命名规则中最重要的就是Create Rule,官方说明如下:There is an important distinction between Get, and Copy and Create, in names of functions that return values. If you use...
分类:
其他好文 时间:
2015-06-30 12:37:49
阅读次数:
110
学习是个循序渐进的过程,万事开头难. Swift说起来简单易上手,但有一些知识要反复琢磨,多加练习,才会深入理解。Need to practise a lot and test what is Optiontal Type and how to use it very wellOptional 介绍...
分类:
编程语言 时间:
2015-06-30 07:50:06
阅读次数:
116
mongodb 学习笔记 05 – 用户管理
db.createUser()
{ user: "",
pwd: "",
customData: { },
roles: [
{ role: "", db: "" } | "",
...
]
}
use products
db.createUser( { "user" : "accountAdmin01"...
分类:
数据库 时间:
2015-06-30 06:39:41
阅读次数:
170
declare v_sal number(5) := 6000;begin --if you could not see the output in console, you should set output on first use the command in command li...
分类:
数据库 时间:
2015-06-29 23:38:32
阅读次数:
143