( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484072{main}( ).../index.php:0
20.0000484424require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.08084116872require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.08124145584include( '/var/www/html/wp-content/themes/twentyfifteen/archive.php ).../template-loader.php:125
50.08124145584get_header( $name = ???, $args = ??? ).../archive.php:19
60.08124145800locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.08124145896load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.08124146440require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.08134153848wp_head( ).../header.php:18
100.08134153848do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.08134154064WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.08134154064WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.08154159144wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.08154159144do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.08154159360WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.08154159360WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.08174285664twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10364287184wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10364287184WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10364287184WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10364287184_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.10364287504wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.10374288256trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484072{main}( ).../index.php:0
20.0000484424require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.08084116872require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.08124145584include( '/var/www/html/wp-content/themes/twentyfifteen/archive.php ).../template-loader.php:125
50.08124145584get_header( $name = ???, $args = ??? ).../archive.php:19
60.08124145800locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.08124145896load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.08124146440require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.08134153848wp_head( ).../header.php:18
100.08134153848do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.08134154064WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.08134154064WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.08154159144wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.08154159144do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.08154159360WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.08154159360WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.08174285664twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12994288600wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.12994288600WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.12994288600WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.12994288600_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.12994288920wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.13004289144trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

索引有哪些优点?

索引有哪些优点?
1、  通过创建唯一性索引,可以保证数据库表中每一行数据的唯一性。


2、  可以大大加快数据的检索速度,这也是创建索引的最主要原因。


3、  可以加速表和表之间的连接,这在实现数据的参考完整性方面特别有意义。


4、  在使用分组和排序子句进行数据检索时,同样可以显著减少查询中分组和排序的时间。


索引有哪些缺点?
1、  创建索引和维护索引要耗费时间,这种时间随着数据量的增加而增加。


2、  除了数据表占数据空间之外,每一个索引还要占一定的物理空间,如果要建立聚簇索引,需要的空间就会更大。


3、  当对表中的数据进行增加、删除和修改的时候,索引也要动态的维护,这样就降低了数据的维护速度。


索引有哪些类型?
1、 普通索引


这是最基本的索引类型,而且它没有唯一性之类的限制。


2、 唯一性索引


这种索引和前面的“普通索引”基本相同,但有一个区别:索引列的所有值都只能出现一次,即必须唯一。


3、主键


它是一种特殊的唯一索引,不允许有空值。


4、全文索引


MySQL从3.23.23版开始支持全文索引和全文检索。


单列索引和组合索引:
单列索引就是把索引单独建立在一个字段上。


组合索引复合索引就是一个索引创建在两个列或者多个列上。在搜索时,当两个或者多个列作为一个关键值时,最好在这些列上创建复合索引。


建立和使用索引有哪些注意事项:
1、           索引要建立在经常进行select操作的字段上。这是因为,如果这些列很少用到,那么有无索引并不能明显改变查询速度。相反,由于增加了索引,反而降低了系统的维护速度和增大了空间需求。


2、           索引要建立在值比较唯一的字段上。这样做才是发挥索引的最大效果。,比如主键的id字段,唯一的名字name字段等等。如果索引建立在唯一值比较少的字段,比如性别gender字段,寥寥无几的类别字段等,刚索引几乎没有任何意义。


3、           对于那些定义为text、 image和bit数据类型的列不应该增加索引。因为这些列的数据量要么相当大,要么取值很少。


4、           当修改性能远远大于检索性能时,不应该创建索引。修改性能和检索性能是互相矛盾的。当增加索引时,会提高检索性能,但是会降低修改性能。当减少索引时,会提高修改性能,降低检索性能。因此,当修改性能远远大于检索性能时,不应该创建索引。


5、           在WHERE和JOIN中出现的列需要建立索引。


6、           在以通配符 % 和 _ 开头作查询时,MySQL索引是无效的。但是这样索引是有效的:select * from tbl1 where name like ‘xxx%’,所以谨慎的写你的SQL是很重要的。


shell 比较两个字符串

比较两个字符串是否相等的办法是:

if [ “$test”x = “test”x ]; then

 

这里的关键有几点:

1 使用单个等号

2 注意到等号两边各有一个空格:这是unix shell的要求

3 注意到”$test”x最后的x,这是特意安排的,因为当$test为空的时候,上面的表达式就变成了x = testx,显然是不相等的。而如果没有这个x,表达式就会报错:[: =: unary operator expected

resin-pro-3.1.5 full cracked.

 虽然resin-pro-3.1.5早在2月26号就发布了,但一直标记为dev,今天发现已经不是dev了,赶紧下载回来破解。


resin-pro-3.1.5.zip 下载


resin-pro-3.1.5.tar.gz 下载


此次破解的跟上次的3.1.3一样,功能上完全没有任何限制了,可以使用session持久化、cache等,只需要做好相关的配置即可。


 3.1.5的Change Log请看官方文档:Resin Change Log,同时可以看到3.1.6 snapshot了。 我会及时破解Resin的最新版本!


文章来源:http://www.dingl.com/blog/archives/28