1、flex,主要就是按比例分配。(例如:两个div的flex:1,就大小相等) 2、flex-direction,几种排序的方式。 3、justify-content,几种横向内容排序的方式。 4、align-items,几种竖向内容排序的方式。 5、flex-wrap,换行与不换行。 6、ali ...
分类:
其他好文 时间:
2018-09-11 16:12:13
阅读次数:
631
from: https://jyx.jyu.fi/bitstream/handle/123456789/52275/1/URN%3ANBN%3Afi%3Ajyu-201612125051.pdf 相关文献汇总如下: S1 Eliseev and Gurina (2016) Algorithms fo ...
分类:
Web程序 时间:
2018-09-11 16:07:38
阅读次数:
299
Given an array of n distinct non-empty strings, you need to generate minimal possible abbreviations for every word following rules below. Example: Not ...
分类:
其他好文 时间:
2018-09-11 11:26:32
阅读次数:
313
https://www.cnblogs.com/houdj/p/6859719.html predis是PHP连接Redis的操作库,由于它完全使用php编写,大量使用命名空间以及闭包等功能,只支持php5.3以上版本,故实测性能一般,每秒25000次读写。 将session数据存放到redis也很 ...
分类:
Web程序 时间:
2018-09-10 18:04:00
阅读次数:
170
Given an array of n distinct non-empty strings, you need to generate minimal possible abbreviations for every word following rules below. 1. Begin wit ...
分类:
其他好文 时间:
2018-09-09 15:16:18
阅读次数:
155
能for...in...的为可迭代对象 迭代器是?个可以记住遍历的位置的对象。迭代器对象从集合的第?个元素开始访问,直到所有的元素被访问完结束。迭代器只能往前不会后退。 判断方法: isinstance() 迭代器定义方法: 生成器: 生成器是一种简单有效的创建迭代器的工具: 1.自动创建__ite ...
分类:
编程语言 时间:
2018-09-07 21:35:39
阅读次数:
206
原题目:判断一个整数是否是回文数。回文数是指正序(从左向右)和倒序(从右向左)读都是一样的整数。 eg: 如果是回文数,则输出,否,则返回false。 这个我感觉是最容易理解的一种方法,也是最简单粗暴的,上面代码也可以用array_map这个函数,不过我感觉整体思路一样。 当然还有另外一种思路,回文 ...
分类:
编程语言 时间:
2018-09-06 16:11:58
阅读次数:
216
public Component findNextFocus() { // Find focus owner Component c = KeyboardFocusManager.getCurrentKeyboardFocusManager().getFocusOwner(); Container ... ...
分类:
其他好文 时间:
2018-09-06 11:08:26
阅读次数:
124
矿机配置 + https://gist.github.com/HAOYUatHZ/a47400bde4a138825faef415387b532c 固件升级 + https://shop.bitmain.com.cn/support.htm?pid=00720180519161243572MB78l ...
分类:
其他好文 时间:
2018-09-06 11:02:20
阅读次数:
297
这道题给我感觉就像一个26进制数一样。 A 就是1 B是2 。。。。 Z 是26 如果AB 两位,那就是 1 * 26 + 2 就是A 的数值*26 + B的数值 如果是MNP 三位数 那就是 M * 26^2 + N * 26^1 + P *26^0 就这样。。 ...
分类:
编程语言 时间:
2018-09-06 02:52:45
阅读次数:
193