什么是 view state?View
State是客户端状态管理重要机制之一。当页面PostBack(向服务器发送或获得数据)时,它能存储页面的值。ASP.NET把View
State属性作为页面面内置的结构。当多个请求相同的页面时自动存储数据。例子:如果你向加一个变量到View State,Vi...
分类:
其他好文 时间:
2014-05-10 02:09:16
阅读次数:
458
1. 给角色添加一个Animator组件和New State,运行后,摆出这种奇怪的姿势
这是因为没有把动画片段赋给New State,可以看到此时的New State为空,把Idle片段拖进去就好了
分类:
其他好文 时间:
2014-05-09 02:57:21
阅读次数:
266
/*
* uva10879
* Date:2014/5/7
* State:AC
*/
#include
#include
using namespace std;
int main()
{
//cout << "Hello world!" <>N;
...
分类:
其他好文 时间:
2014-05-09 00:30:58
阅读次数:
287
UIButton中设置Titl方法包括以下几种:- (void)setTitle:(NSString
*)title forState:(UIControlState)state; -
(void)setAttributedTitle:(NSAttributedString *)tit...
分类:
移动开发 时间:
2014-05-08 22:49:19
阅读次数:
640
设置防火墙开放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
__construct, __destruct , __call,
__callStatic,__get, __set, __isset, __unset , __sleep, __wakeup, __toString,
__set_state, __clone and __autoload
分类:
Web程序 时间:
2014-05-05 09:38:23
阅读次数:
488
在VS 2008 中,导入 lua.h 之类的头文件后,编译含有Lua函数的时候,可能会出现如下错误:
1>main.obj : error LNK2019: 无法解析的外部符号_luaL_checkinteger,该符号在函数"int __cdecl add(struct lua_State *)" (?add@@YAHPAUlua_State@@@Z) 中被引用
1>main.ob...
分类:
其他好文 时间:
2014-05-04 18:34:20
阅读次数:
376
MSU Perceptual Video Quality tool是莫斯科国立大学(Moscow State University)的Graphics and Media Lab制作的一款视频主观评价工具,使用起来比较方便。最近这段时间赶上毕设需要大量的主观评价试验,使用了一阵子这个软件,感觉还是挺方便的,记录一下它的使用方法。
1. 软件的特性
(1) 6种主观评...
分类:
其他好文 时间:
2014-05-04 08:59:56
阅读次数:
271
有限状态自动机(FSM "finite state machine" 或者FSA "finite state automaton" )是为研究有限内存的计算过程和某些语言类而抽象出的一种计算模型。有限状态自动机拥有有限数量的状态,每个状态可以迁移到零个或多个状态,输入字串决定执行哪个状态的迁移。有限状态自动机可以表示为一个有向图。有限状态自动机是自动机理论的研究对象。...
分类:
其他好文 时间:
2014-05-04 00:29:47
阅读次数:
423
Playback control of audio/video files and streams is managed as a state machine. The following diagram shows the life cycle and the states of a MediaPlayer object driven by the supported playback cont...
分类:
移动开发 时间:
2014-05-03 21:36:21
阅读次数:
568