ADSFASFDA

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

03 2017 档案

摘要:var Intent = plus.android.import("android.content.Intent"); 阅读全文
posted @ 2017-03-31 12:55 778323309 阅读(211) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2017-03-26 11:25 778323309 阅读(234) 评论(0) 推荐(0)

摘要:Vue.component('child', { render: function (createElement) { return createElement( 'h' + this.level, // tag name 标签名称 this.$slots.default // 子组件中的阵列 ) 阅读全文
posted @ 2017-03-26 11:23 778323309 阅读(3624) 评论(0) 推荐(0)

摘要:方法2 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>index</title> </head> <body> <div id="app"> <parent></parent> </div> <script src="vue. 阅读全文
posted @ 2017-03-25 00:47 778323309 阅读(226) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-14 10:28 778323309 阅读(0) 评论(0) 推荐(0)

摘要:yum install nscd sed -i '$a\enable-cache hosts yes' /etc/nscd.conf service nscd start service nscd status 阅读全文
posted @ 2017-03-13 22:43 778323309 阅读(1571) 评论(0) 推荐(0)

摘要:echo -e "fuck\nme\nfuck\nthis" |sed -ne 'N;/fuck\nme/p' 阅读全文
posted @ 2017-03-13 15:14 778323309 阅读(3093) 评论(0) 推荐(0)

摘要:http://code.taobao.org/svn/openclouddb/doc/ 阅读全文
posted @ 2017-03-12 21:43 778323309 阅读(123) 评论(0) 推荐(0)

摘要:mycat TESTDB 阅读全文
posted @ 2017-03-12 21:39 778323309 阅读(139) 评论(0) 推荐(0)

摘要:<schema name="user" checkSQLschema="false" sqlMaxLimit="100" dataNode="user" /> <schema name="pay" checkSQLschema="false" sqlMaxLimit="100" dataNode=" 阅读全文
posted @ 2017-03-12 21:35 778323309 阅读(139) 评论(0) 推荐(0)

摘要:调试就用控制 然后进行操作进入控制台会发现没有mysql 客户端,所以先安装下mysql 在进行进入 mysql -utest –p123456 –h127.0.0.1 –P8066 ##控制台 mysql -utest –p123456 –h127.0.0.1 –P9066 ##监控控制台 测试新 阅读全文
posted @ 2017-03-12 21:33 778323309 阅读(107) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-12 21:31 778323309 阅读(1) 评论(0) 推荐(0)

摘要:sed -i '20i /mycat start' /etc/rc.local 行前插入 sed -i '20a /mycat start' /etc/rc.local 行后插入 sed -i '$a /mycat start' /etc/rc.local 行尾追加 阅读全文
posted @ 2017-03-12 11:06 778323309 阅读(156) 评论(0) 推荐(0)

摘要:CentOS Linux release 7.2.1511 阅读全文
posted @ 2017-03-12 09:49 778323309 阅读(92) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-09 07:23 778323309 阅读(1) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-09 07:22 778323309 阅读(0) 评论(0) 推荐(0)

摘要:linux关闭防火墙 阅读全文
posted @ 2017-03-09 07:19 778323309 阅读(284) 评论(0) 推荐(0)

摘要:横竖模距阴尺色内外阴 阅读全文
posted @ 2017-03-08 16:20 778323309 阅读(106) 评论(0) 推荐(0)

摘要:元素尺寸: 1、可视尺寸-clientWidth(标准) 2、占据尺寸-outerWidth(only yy) margin与可视尺寸 1、适用于没有设定width/height的 普通 block 水平元素 2、只适用于水平方向尺寸 1,可视尺寸-clientWidth 2,占据尺寸-outerWidth margin与可视尺寸: 1。适用于未设定宽高的普通block水平元素 ... 阅读全文
posted @ 2017-03-08 13:31 778323309 阅读(166) 评论(0) 推荐(0)

摘要:"hello world", "imooc"=>"http://baidu.com" ); echo $array[key]; //如果不用引号 输出的是http://baidu.com echo $array["key"]; //输出的是"hello world", 阅读全文
posted @ 2017-03-07 02:23 778323309 阅读(147) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2017-03-07 02:21 778323309 阅读(116) 评论(0) 推荐(0)

摘要:<?php //性能差的 $str='hello world'; for ($i=0;$i<strlen($str);$i++){ //do something } //性能好的 $str='hello world'; $len=strlen($str); for ($i=0;$i<$len;$i++){ //do something } 阅读全文
posted @ 2017-03-07 02:16 778323309 阅读(116) 评论(0) 推荐(0)

摘要:4-5 PHP-避免在循环内做运算 阅读全文
posted @ 2017-03-07 02:14 778323309 阅读(117) 评论(0) 推荐(0)

摘要:php也有内存回收机制,利用unset及时释放内存 unset也有注销不掉的情况 少用正则表达式 正则表达式 会回溯 尽量使用字符串处理函数,实现相同的逻辑 阅读全文
posted @ 2017-03-07 02:11 778323309 阅读(130) 评论(0) 推荐(0)

摘要:D:\all\phpstudy\Apache\bin>ab -c 10 -n100 www.qzrc.com/ This is ApacheBench, Version 2.3 <$Revision: 1706008 $> Copyright 1996 Adam Twiss, Zeus Techno 阅读全文
posted @ 2017-03-07 01:53 778323309 阅读(168) 评论(0) 推荐(0)

摘要:优化点:少写代码,多用php自身能力 性能问题 代码冗长较多,可读性不佳,并且性能低 多使用内置常量 变量 函数 阅读全文
posted @ 2017-03-07 01:38 778323309 阅读(93) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-07 01:36 778323309 阅读(1) 评论(0) 推荐(0)

摘要:<?php class Test{ private $var='123'; public function __get($name) { return $this->var; } } function current_time(){ list($usec,$sec)= explode(' ',mic 阅读全文
posted @ 2017-03-07 01:11 778323309 阅读(108) 评论(0) 推荐(0)

摘要:<?php $array1=array(); $array2=array(); for ($i=0;$i<rand(1000,2000);$i++){ $array1[]=rand(); } for ($y=0;$y<rand(1000,2000);$y++){ $array2[]=rand(); 阅读全文
posted @ 2017-03-07 00:53 778323309 阅读(252) 评论(0) 推荐(0)

摘要:<?php header('Content-Type:text/html;charset=utf8'); $_start=current_time(); $array1=range(1000,2000); $i=0; while ($i<200000){ ++$i; // isset($array1 阅读全文
posted @ 2017-03-07 00:46 778323309 阅读(166) 评论(0) 推荐(0)

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>第2章 商城分类导航实现(CSS版)</title> <style type="text/css"> body{ margin: 0; padding: 0; 阅读全文
posted @ 2017-03-06 20:47 778323309 阅读(132) 评论(0) 推荐(0)

摘要: 阅读全文
posted @ 2017-03-06 20:05 778323309 阅读(94) 评论(0) 推荐(0)

摘要:.main li:hover .sub_right{ display:block; } 当悬浮到li时候 .sub_right的样式 阅读全文
posted @ 2017-03-06 02:46 778323309 阅读(168) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-05 10:30 778323309 阅读(22) 评论(0) 推荐(0)

摘要:⑴2017底=>(年薪15万)=>31岁 ⑵2018=》(生产生活用品)并且年薪20万=>32岁 ⑶2019=>年薪30万=>把小作坊升级为工厂=>33岁 ⑷2020=>再开一个食品工厂 阅读全文
posted @ 2017-03-05 10:19 778323309 阅读(151) 评论(0) 推荐(0)

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>第5章 用HTML+CSS实现复杂结构的混合布局</title> <style type="text/css"> body{ margin: 0; paddin 阅读全文
posted @ 2017-03-05 09:01 778323309 阅读(719) 评论(0) 推荐(0)

该文被密码保护。
posted @ 2017-03-05 08:07 778323309 阅读(9) 评论(0) 推荐(0)

摘要:第4章 用position定位方法实现自适应效果的三列布局 200px 你应该先添加路由,然后添加权限名称,后再对角色或个人进行权限的独立分配。 5、如何利用menu对菜单进行控制? 4.5步骤中我们是直接写ul li的方式对左侧菜单进行操作的,这样也是能够实现通过菜单对权限进行控制滴。但是喃,一来不方便操作,而来增加修改个什么东东都得需要我们去修改程序实... 阅读全文
posted @ 2017-03-05 07:46 778323309 阅读(881) 评论(0) 推荐(0)

摘要:自适应3列布局 阅读全文
posted @ 2017-03-05 07:46 778323309 阅读(95) 评论(0) 推荐(0)

摘要:第3章自适应宽度及固定宽度的二列布局的实现 阅读全文
posted @ 2017-03-05 07:45 778323309 阅读(172) 评论(0) 推荐(0)

摘要:第2章 用HTML+CSS实现最简单的网页布局效果:一列布局 阅读全文
posted @ 2017-03-05 07:44 778323309 阅读(257) 评论(0) 推荐(0)