本文大多数的内容基本都是从多篇博客或相关文章中进行筛选,提炼出来,原本我也想用我匮乏的语言来描述,但是发现别人已经总结的更好了,所以...我还是乖乖的站在巨人的肩膀上吧~~ 完整目录: 基本概念 物理像素 设备独立像素 CSS 像素 PPI的概念 DPR的概念 缩放的概念 viewPort 的概念 ...
分类:
移动开发 时间:
2019-03-21 21:44:52
阅读次数:
212
DDoS deflate介绍 DDoS deflate是一款免费的用来防御和减轻DDoS攻击的脚本。它通过netstat监测跟踪创建大量网络连接的IP地址,在检测到某个结点超过预设的限 制时,该程序会通过APF或IPTABLES禁止或阻挡这些IP. DDoS deflate官方网站:http://d ...
分类:
系统相关 时间:
2019-03-20 18:54:40
阅读次数:
206
【题目】 给定两个有序数组arr1和arr2,已知两个数组的长度都为N,求两个数组中所有数的上中位数。要求时间复杂度O(logN),空间复杂度O(1) 【举例】 例如 arr1 = [1, 2,3,4],arr2 = [3,4,5,6]。 总共8个数,则中位数就是第 4 小的数,为 3. 例如 ar ...
分类:
编程语言 时间:
2019-03-20 01:23:01
阅读次数:
188
/*dpr比值为1的css代码 */ div{ width:300px; height:200px; background:url(img/button@1x.png) ; } /* dpr比值为2的css代码 */ @media screen and (-webkit-device-pixel-r ...
分类:
移动开发 时间:
2019-03-20 00:43:09
阅读次数:
527
FYI, John Deere Service Advisor 90% works with Nexiq China clone. Topic 1: John deere SA possible with NEXIQ USB Link? It is possible to install Profe ...
分类:
其他好文 时间:
2019-03-19 16:56:47
阅读次数:
133
Maximum subarray problem The maximum subarray problem is the task of finding the contiguous subarray within a one-dimensional array, a[1...n], of numb ...
分类:
其他好文 时间:
2019-03-19 13:47:30
阅读次数:
207
Valera and Antique Items time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Valera is a coll ...
分类:
其他好文 时间:
2019-03-19 13:42:31
阅读次数:
150
安装包 设置 1. 首先在settings.py中定义MEDIA_ROOT与MEDIA_URL。例如: files可以是项目根目录的任何一个文件夹 2. 在urls.py的urlpatterns中,设置访问文件的url 代表这一块的内容将作为参数path传给serve方法 serve方法是djang ...
分类:
Web程序 时间:
2019-03-18 13:30:23
阅读次数:
934
|内容|参数| | | | | OS| Windows 10 x64| | browser| Firefox 65.0.2| | framework |& ...
分类:
其他好文 时间:
2019-03-17 10:37:01
阅读次数:
156
在linux上运行java程序,直接用javac编译,再用java启动虚拟机运行就行了。但是在Android上,由于虚拟机和pc端的不同,所以操作方法也是不一样的。下面介绍Android上运行Hello world! 一、单个java文件编译运行 1.在Ubuntu虚拟机上将Hello.java编译 ...
分类:
移动开发 时间:
2019-03-15 01:17:47
阅读次数:
264