07 2015 档案

摘要:一、git clone远程操作的第一步,通常是从远程主机克隆一个版本库,这时就要用到git clone命令。$ git clone 比如,克隆jQuery的版本库。 $ git clone https://github.com/jquery/jquery.git该命令会在本地主机生成一个目录,与远程... 阅读全文
posted @ 2015-07-28 19:30 刘满blog 阅读(233) 评论(0) 推荐(0)
摘要://js 中的算术运算Math.pow(2,53) // => 9007199254740992: 2 的 53次幂 Math.round(.6) // => 1.0: 四舍五入 Math.ceil(.6) // => 1.0: 向上求整 Math.floor(... 阅读全文
posted @ 2015-07-20 18:23 刘满blog 阅读(187) 评论(0) 推荐(0)
摘要://创建新表php artisan migrate:make create_表名_table --create=表名//填充数据php artisan db:seed//添加字段php artisan migrate:make add_添加信息_to_表名_table --table=表名//执行迁... 阅读全文
posted @ 2015-07-16 13:10 刘满blog 阅读(833) 评论(0) 推荐(0)
摘要:获取基本输入信息: 1 //获取输入数据,不用担心所使用的HTTP方法 2 $id = Input::get('id'); 3 4 //可以指定默认值 5 $id = Input::get('id', 1); 6 7 //检测提交信息是否存在 8 if(Input::has('id')) 9 {... 阅读全文
posted @ 2015-07-16 12:59 刘满blog 阅读(395) 评论(0) 推荐(0)
摘要:php.ini中将max_execution_time = 30改为max_execution_time = 0 阅读全文
posted @ 2015-07-14 12:15 刘满blog 阅读(289) 评论(0) 推荐(0)
摘要:数据库地址不能写localhost要用127.0.0.1[mysqld]skip-name-resolve #取消dns解析skip-grant-tables#不需要密码thread_concurrency=8#CPU合数*2 阅读全文
posted @ 2015-07-14 12:05 刘满blog 阅读(104) 评论(0) 推荐(0)
摘要:1 public function fn1(){2 global $str;3 $str='liuman';4 function fn2(){5 echo $GLOBALS['str'];6 } 7 } 阅读全文
posted @ 2015-07-12 23:24 刘满blog 阅读(149) 评论(0) 推荐(0)
摘要:1 var fileObj = document.getElementById('file').files[0]; 2 // js 获取文件对象 3 var FileController = url; 4 // 接收上传文件的后台地址 5 6 // FormDat... 阅读全文
posted @ 2015-07-12 13:13 刘满blog 阅读(175) 评论(0) 推荐(0)
摘要:1 2 3 4 5 6 7 8 9 226 227 阅读全文
posted @ 2015-07-11 14:35 刘满blog 阅读(906) 评论(0) 推荐(0)
摘要:1 var arrN = [[[1, "wangyuchu", 54, [123, 34, [123, 34, 16]]],"zhangsan", 25, [1, "wangyuchu", 54, [123, 34, [123, 34, [1, "wangyuchu", 54, [123, 34,... 阅读全文
posted @ 2015-07-11 14:14 刘满blog 阅读(3552) 评论(0) 推荐(0)