上一页 1 2 3 4 5 6 7 8 ··· 19 下一页
  2018年1月16日
摘要: //参数 Route::get('user/{id}', 'UserController@show'); Route::get('store', 'UserController@store'); //可选参数(参数名后加一个 ?)Route::get('user1/{id1?}', function 阅读全文
posted @ 2018-01-16 16:35 张扬个性,敢为天下先 阅读(92) 评论(0) 推荐(0) 编辑
  2018年1月15日
摘要: http://laravelacademy.org/resources-download 阅读全文
posted @ 2018-01-15 17:15 张扬个性,敢为天下先 阅读(205) 评论(0) 推荐(0) 编辑
  2018年1月2日
摘要: 一、普通模式 二、混合模式 四、URL生成 阅读全文
posted @ 2018-01-02 15:53 张扬个性,敢为天下先 阅读(201) 评论(0) 推荐(0) 编辑
  2017年12月28日
摘要: $ wget https://bootstrap.pypa.io/get-pip.py $ python get-pip.py $ pip -V #查看pip版本 阅读全文
posted @ 2017-12-28 15:31 张扬个性,敢为天下先 阅读(155) 评论(0) 推荐(0) 编辑
  2017年11月29日
摘要: 1、下载软件包 wget http://pecl.php.net/get/redis-2.2.5.tgz 2、解压 tar zxvf redis-2.2.5.tgz 3、进入安装目录 cd redis-2.2.5 4、用phpize生成configure配置文件 /usr/local/php/bin 阅读全文
posted @ 2017-11-29 10:29 张扬个性,敢为天下先 阅读(1151) 评论(0) 推荐(0) 编辑
  2017年11月27日
摘要: 1.yum添加epel源 vim /etc/redis.conf 找到redis.conf 并修改 daemonize no(第128行) 为 daemonize yes :set number(显示行号) . 4.开启客户端要确保服务端启动 redis-server /etc/redis.conf 阅读全文
posted @ 2017-11-27 18:08 张扬个性,敢为天下先 阅读(5419) 评论(0) 推荐(0) 编辑
  2017年11月8日
摘要: innodb 的表,直接复制文件是无法使用的,会提示 table doesn’t exists ,在复制的时候,应将data目录下的 ibdata1 文件一并复制过去,并且删除 ib_logfile0 、ib_logfile1 文件 阅读全文
posted @ 2017-11-08 16:36 张扬个性,敢为天下先 阅读(4038) 评论(0) 推荐(0) 编辑
  2017年10月26日
摘要: 下载源码包:https://www.djangoproject.com/download/ 输入以下命令并安装: 阅读全文
posted @ 2017-10-26 14:36 张扬个性,敢为天下先 阅读(2096) 评论(0) 推荐(0) 编辑
  2017年10月23日
摘要: re.compile() 可以把正则表达式编译成一个正则表达式对象. re.findall() 方法读取html 中包含 imgre(正则表达式)的数据。 这里的核心是用到了urllib.urlretrieve()方法,直接将远程数据下载到本地。 阅读全文
posted @ 2017-10-23 17:25 张扬个性,敢为天下先 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 1执行 sudo yum install python-devel 2 find / -name mysql_config 在/usr/bin/下发现了这个文件 3. 后修改MySQL-python-1.2.3目录下的site.cfg文件 去掉mysql_config=XXX这行的注释,并改成mys 阅读全文
posted @ 2017-10-23 16:55 张扬个性,敢为天下先 阅读(322) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 19 下一页