我们先来看下应用了jinjatemplate之后,saltstates是如何编译和运行使用state.show_sls可以查看具体的state文件[root@node-194~]#salt‘*‘state.show_slsdev.openstack-keystone
node-191:
----------
keystone-add-haproxy:
----------
__env__:
base
__sls__:
dev.openstack-k..
分类:
其他好文 时间:
2015-04-23 13:51:34
阅读次数:
166
一、选择angular-ui-router的好处
ui-router是一个社区库用来完善ng-route的诸多不足
UI-Router路由器允许嵌套视图(nested views)和多个命名视图(multiple named views),我们可能有较多的页面需要继承其他部分,所以很有用。通过构建ui-sref来实现不同的状态链接到不同的页面states允许你通过$statsParams来...
分类:
其他好文 时间:
2015-04-22 18:24:11
阅读次数:
144
AQtGui.QCheckBoxis a widget that has two states: on and off. It is a box with a label. Check boxes are typically used to represent features in an appl...
分类:
其他好文 时间:
2015-04-17 20:22:39
阅读次数:
223
A toggle button is aQtGui.QPushButtonin a special mode. It is a button that has two states: pressed and not pressed. We toggle between these two state...
分类:
其他好文 时间:
2015-04-17 20:21:00
阅读次数:
145
##序列化是干什么的## 简单说就是为了保存在内存中的各种对象的状态(也就是实例变量,不是方法),并且可以把保存的对象状态再读出来。虽然你可以用你自己的各种各样的方法来保 存object states,但是Java给你提...
分类:
编程语言 时间:
2015-04-08 18:22:05
阅读次数:
132
Description
Fermat's theorem states that for any prime number p and for any integer
a > 1, ap == a (mod p). That is, if we raise a to the
pth power and divide by p, the remainder is a. Some (but ...
分类:
其他好文 时间:
2015-04-03 09:33:09
阅读次数:
93
??unity 5.0 中的新动画功能这里是你可以期待的新动画功能快速概述 !State Machine Behaviours状态机行为在Unity 5 中,你会能够将StateMachineBehaviour 脚本添加到您的states,当played状态时能接收callbacks回调:?OnStateEnter?OnStateUpdate?OnStateExit?OnStateMove?OnS...
分类:
编程语言 时间:
2015-04-01 09:32:00
阅读次数:
278
State machine behaviours are scripts that can be attached to animator states or sub-state machines in an Animator Controller. These can be used to add all sorts of behaviour that is state dependent su...
分类:
编程语言 时间:
2015-03-31 10:58:08
阅读次数:
268
1、CCSkeletonAnimation:继承自CCSkeleton,骨骼动画类
class CC_EX_DLL CCSkeletonAnimation: public CCSkeleton {
public:
std::vector states; //状态容器
static CCSkeletonAnimation* createWithData (SkeletonData* ...
分类:
其他好文 时间:
2015-03-28 17:22:20
阅读次数:
535
MDP:马尔科夫决策过程(Markov Decision Process)定义:一个马尔可夫模型包括如下部分状态集 S (States)动作集 A (Actions)奖惩函数 R (reward function)在状态 s 下,执行 a 动作的影响函数 T我们假设执行动作 a 的效果只与当...
分类:
其他好文 时间:
2015-03-20 10:42:02
阅读次数:
140