一、版本介绍 Degian : 8 jessie Nginx : 1.6.2 发生时间 : 2018-12-15 二、问题说明 客户浏览器访问Nginx的公开目录中放入了一个.apk文件,公开目录可以正确列出放入的.apk文件名,但下载时提示403错误。 三、解决办法 (一)过程 去网上搜索,发现有 ...
分类:
其他好文 时间:
2018-12-16 11:16:38
阅读次数:
144
使用Raw SQL查询,无需使用ORM表定义。 多数据库,都可直接使用占位符号?,自动转换。 查询时的参数,支持使用Model Struct和Slice,Array 创建一个RawSeter RawSeter接口中所包含的方法: type RawSeter interface { Exec() (s ...
分类:
数据库 时间:
2018-12-16 11:15:08
阅读次数:
522
本人小菜鸡刚刚发现这个插件,感觉很优秀啊, ...
分类:
系统相关 时间:
2018-12-16 11:13:38
阅读次数:
166
Given a target integer T and an integer array A sorted in ascending order, find the index of the last occurrence of T in A or return -1 if there is no ...
分类:
其他好文 时间:
2018-12-16 11:06:20
阅读次数:
95
Python魔法函数 __getattrbute__和__getattr__ ...
分类:
编程语言 时间:
2018-12-16 11:04:23
阅读次数:
267
阅读目录 第一步:下载Apache FTPServer 第二步:解压Apache FTPServer 第三步:修改配置文件 第四步:启动FTPServer 第五步:访问FTP 第六步:FTPServer的启动与关闭 因工作需要,最近经常接触到FTP,今天我来介绍一个开源的FTP服务器,那就是Apac ...
Your friend is typing his name into a keyboard. Sometimes, when typing a character c, the key might get long pressed, and the character will be typed ...
分类:
编程语言 时间:
2018-12-16 11:00:57
阅读次数:
200
centos基础查询 常用linux命令记录 ...
分类:
系统相关 时间:
2018-12-16 00:51:13
阅读次数:
222
什么是属性前缀 为了浏览器的兼容性,有时候我们必须加入 ,` ms o moz`这些前缀。目的就是让我们写的页面在每个浏览器中都可以顺利运行。 例如: 使用插件来帮助我们进行前缀的自动添加,会大大提升我们的开发效率,提供编码效率。 此次是关于如何通过postcss loader给css3属性自动添加 ...
分类:
Web程序 时间:
2018-12-16 00:48:45
阅读次数:
233
N个数字要排序完成,总共进行N-1趟排序,每第 i 趟的排序次数为 (N-i) 次,所以 可以用双重循环语句,外层控制循环多少趟,内层控制每一趟的循环次数,即 for(inti=0;i<arr.length-1;i++){ for(intj=0;j<arr.length-1-i;j++){ } } ...
分类:
编程语言 时间:
2018-12-15 22:55:01
阅读次数:
239