摘要:var Intent = plus.android.import("android.content.Intent");
阅读全文
03 2017 档案
摘要:var Intent = plus.android.import("android.content.Intent");
阅读全文
摘要:Vue.component('child', { render: function (createElement) { return createElement( 'h' + this.level, // tag name 标签名称 this.$slots.default // 子组件中的阵列 )
阅读全文
摘要:方法2 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>index</title> </head> <body> <div id="app"> <parent></parent> </div> <script src="vue.
阅读全文
摘要:yum install nscd sed -i '$a\enable-cache hosts yes' /etc/nscd.conf service nscd start service nscd status
阅读全文
摘要:echo -e "fuck\nme\nfuck\nthis" |sed -ne 'N;/fuck\nme/p'
阅读全文
摘要:http://code.taobao.org/svn/openclouddb/doc/
阅读全文
摘要:<schema name="user" checkSQLschema="false" sqlMaxLimit="100" dataNode="user" /> <schema name="pay" checkSQLschema="false" sqlMaxLimit="100" dataNode="
阅读全文
摘要:调试就用控制 然后进行操作进入控制台会发现没有mysql 客户端,所以先安装下mysql 在进行进入 mysql -utest –p123456 –h127.0.0.1 –P8066 ##控制台 mysql -utest –p123456 –h127.0.0.1 –P9066 ##监控控制台 测试新
阅读全文
该文被密码保护。
摘要:sed -i '20i /mycat start' /etc/rc.local 行前插入 sed -i '20a /mycat start' /etc/rc.local 行后插入 sed -i '$a /mycat start' /etc/rc.local 行尾追加
阅读全文
摘要:CentOS Linux release 7.2.1511
阅读全文
摘要:linux关闭防火墙
阅读全文
摘要:元素尺寸: 1、可视尺寸-clientWidth(标准) 2、占据尺寸-outerWidth(only yy) margin与可视尺寸 1、适用于没有设定width/height的 普通 block 水平元素 2、只适用于水平方向尺寸 1,可视尺寸-clientWidth 2,占据尺寸-outerWidth margin与可视尺寸: 1。适用于未设定宽高的普通block水平元素 ...
阅读全文
摘要:"hello world", "imooc"=>"http://baidu.com" ); echo $array[key]; //如果不用引号 输出的是http://baidu.com echo $array["key"]; //输出的是"hello world",
阅读全文
摘要:<?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 }
阅读全文
摘要:php也有内存回收机制,利用unset及时释放内存 unset也有注销不掉的情况 少用正则表达式 正则表达式 会回溯 尽量使用字符串处理函数,实现相同的逻辑
阅读全文
摘要: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
阅读全文
摘要:优化点:少写代码,多用php自身能力 性能问题 代码冗长较多,可读性不佳,并且性能低 多使用内置常量 变量 函数
阅读全文
摘要:<?php class Test{ private $var='123'; public function __get($name) { return $this->var; } } function current_time(){ list($usec,$sec)= explode(' ',mic
阅读全文
摘要:<?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();
阅读全文
摘要:<?php header('Content-Type:text/html;charset=utf8'); $_start=current_time(); $array1=range(1000,2000); $i=0; while ($i<200000){ ++$i; // isset($array1
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>第2章 商城分类导航实现(CSS版)</title> <style type="text/css"> body{ margin: 0; padding: 0;
阅读全文
摘要:.main li:hover .sub_right{ display:block; } 当悬浮到li时候 .sub_right的样式
阅读全文
摘要:⑴2017底=>(年薪15万)=>31岁 ⑵2018=》(生产生活用品)并且年薪20万=>32岁 ⑶2019=>年薪30万=>把小作坊升级为工厂=>33岁 ⑷2020=>再开一个食品工厂
阅读全文
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>第5章 用HTML+CSS实现复杂结构的混合布局</title> <style type="text/css"> body{ margin: 0; paddin
阅读全文
该文被密码保护。
摘要:第4章 用position定位方法实现自适应效果的三列布局 200px 你应该先添加路由,然后添加权限名称,后再对角色或个人进行权限的独立分配。 5、如何利用menu对菜单进行控制? 4.5步骤中我们是直接写ul li的方式对左侧菜单进行操作的,这样也是能够实现通过菜单对权限进行控制滴。但是喃,一来不方便操作,而来增加修改个什么东东都得需要我们去修改程序实...
阅读全文
摘要:第3章自适应宽度及固定宽度的二列布局的实现
阅读全文
摘要:第2章 用HTML+CSS实现最简单的网页布局效果:一列布局
阅读全文
|