mysql 优化mysql> SHOW VARIABLES LIKE '%innodb_flush_log_at_trx_commit%';+--------------------------------+-------+| Variable_name | Val...
分类:
数据库 时间:
2014-06-28 10:40:55
阅读次数:
292
【Awake & Start】MonoBehaviour.Awake() Awake is used to initialize any variables or game state before the game starts. Awake is called only once during....
分类:
其他好文 时间:
2014-06-26 00:37:37
阅读次数:
293
ruby comes with a set of predefined variables$: = default search path (array of paths)其他Ruby特殊变量:$! 最近一次的错误信息$@ 错误产生的位置$_ gets最近读的字符串$. 解释器最近读的行数(line...
分类:
其他好文 时间:
2014-06-25 13:55:51
阅读次数:
179
在template.tpl中添加如下代码:function lee_preprocess_node(&$variables) { if ($variables['view_mode'] == 'full' && node_is_page($variables['node'])) { $var...
分类:
其他好文 时间:
2014-06-25 12:30:01
阅读次数:
245
Emacs Org mode is a very powerful, versatile and extensible package, which can be used for personal information management, maintenance of a wiki plat...
分类:
Web程序 时间:
2014-06-25 00:45:38
阅读次数:
533
我在刚开始安装完ecshop之后就如首页就开始报如下的错误:
Strict Standards: Only variables should be passed by reference in
C:\diyServ\apps\EcShop\includes\cls_template.php on line
422
在网上可以搜到这个解决办法就是:由于在php5.3之后php函数返回的是一...
分类:
其他好文 时间:
2014-06-24 22:23:33
阅读次数:
230
好的,废话不多说,接着上篇来.
变量(variables)
始终使用 var 关键字来定义变量,如果不这样将会导致 变量全局化,造成污染.
//bad
superPower = new SuperPower();
//good
var superPower = new SuperPower();
使用 一个 var关键字来定义多个变量...并且每个变量一行..
// bad...
分类:
编程语言 时间:
2014-06-21 22:00:20
阅读次数:
259
今天在工作的时候发现自己update 一个表的某个字段超时,想了好久,首先想到的办法是,延长操作时间:mysql> set innodb_lock_wait_timeout=100mysql> show variables like 'innodb_lock_wait_timeout'; 但是时间....
分类:
数据库 时间:
2014-06-21 11:38:08
阅读次数:
277
CONTINUOUS RANDOM VARIABLES AND PDFS
连续的随机变量,顾名思义,就是随机变量的取值范围是连续的值,例如汽车的速度,气温。如果我们要利用这些参数来建模,那么就需要引入连续随机变量。
如果随机变量X是连续的,那么它的概率分布函数可以用一个连续的非负函数来表示,这个非负函数称作连续随机变量的概率密度函数(probability density function)...
分类:
其他好文 时间:
2014-06-16 14:19:36
阅读次数:
285
【Basics】1、You can declare multiple constants or multiple variables on a single line, separated by commas: 2、You can use almost any character you like....
分类:
其他好文 时间:
2014-06-15 22:01:43
阅读次数:
330