11 2022 档案

摘要:来源: https://www.xp.cn/b.php/79706.html Symfony2在Nginx下的配置方法图文教程 本文详细讲述了Symfony2在Nginx下的配置方法。分享给大家供大家参考,具体如下: 网上有很多关于symfony2在nginx下的配置文章,如果是小白,按照网上贴出来 阅读全文
posted @ 2022-11-14 16:53 whmmm 阅读(148) 评论(0) 推荐(0)
摘要:spring 版本: 4.3.7 addFormatters(FormatterRegistry registry) 不生效 <!-- 此处与 @EnableWebmvc 冲突, 配置此处后 EnableWebmvc 中的配置无效 --> <mvc:annotation-driven content 阅读全文
posted @ 2022-11-09 15:25 whmmm 阅读(592) 评论(0) 推荐(0)
摘要:1. 直接修改 .git/config 文件 注意: 仅对当前仓库有效, 推荐这种, 因为不是所有的仓库都需要走代理 [http "https://github.com"] proxy = http://127.0.0.1:1080 或者如下 [http] proxy = http://127.0. 阅读全文
posted @ 2022-11-08 11:17 whmmm 阅读(4916) 评论(0) 推荐(1)
摘要:1. fatal: the remote end hung up unexpectedly git config --global http.postBuffer 104857600 其他方案: git config --global pack.windowMemory 100m git confi 阅读全文
posted @ 2022-11-07 16:51 whmmm 阅读(143) 评论(0) 推荐(0)
摘要:ERR] 2006 - MySQL server has gone away -- 查询最大数 show global variables like 'max_allowed_packet'; -- 临时设置 set global max_allowed_packet=1024*1024*512; 阅读全文
posted @ 2022-11-03 17:28 whmmm 阅读(48) 评论(0) 推荐(0)
摘要:root location中root指定的只是相对路径,需要和路径结合起来映射地址,比如 location ^~/static/ { ## 这里的root需要和路径结合使用,即是映射的文件位置为 /usr/alyingboy/static root /usr/alyingboy/; index in 阅读全文
posted @ 2022-11-02 15:38 whmmm 阅读(265) 评论(0) 推荐(0)
摘要:分析查询语句的执行情况,可以分析出所查询的表的一些特征 mysql> EXPLAIN / DESCRIBE / DESC SELECT * FROM......; mysql> DESC SELECT * FROM users\G *************************** 1. row 阅读全文
posted @ 2022-11-01 16:28 whmmm 阅读(54) 评论(0) 推荐(0)

//增加一段JS脚本,为目录生成使用