Computer Science An Overview _J. Glenn Brookshear _11th Edition 耦 两个人一起耕地 one of the benefits of the object-oriented paradigm is that it inherently te ...
分类:
其他好文 时间:
2016-11-12 19:52:27
阅读次数:
155
在了解intrinsicContentSize之前,我们需要先了解2个概念: AutoLayout在做什么 约束优先级是什么意思。 如果不了解这两个概念,看intinsic content size没有任何意义。 注:由于上面这几个概念都是针对UIView或其子类(UILabel,UIImageVi ...
分类:
其他好文 时间:
2016-11-11 19:56:57
阅读次数:
243
不定期更新leetcode解题java答案。 采用pick one的方式选择。 由于随机到了系列问题,在此继续做后序版本。 题意为给定一个数组,数组分别表示当天物品的售价,允许多次买卖(卖的前提是买,买的前提是卖,也就是身上没有物品时才可以买),问最大的收益是多少。 首先的分析方式就是,我们应该在什 ...
分类:
其他好文 时间:
2016-11-09 19:30:38
阅读次数:
137
原图比ImageView原图比ImageView小 原图进行缩放或拉伸来适应ImageView的大小 scaleType的8个值所对应的情况 matrix左上角对齐,pic大小不变center中心对齐,pic大小不变centerCrop中心对齐,pic等比例改变,宽高至少有一项是相等的,最终pic要... ...
分类:
其他好文 时间:
2016-11-07 02:19:17
阅读次数:
250
只贴基本的适合小白的Matlab实现代码,深入的研究除了需要改进算法,我建议好好研究一下混沌与分形,不说让你抓住趋势,至少不会大亏,这个资金盈亏回调我以前研究过。 function [line_H,RS]=dfaX_0322(x)%% 初始化数据处理% x=importdata('IF.txt'); ...
分类:
其他好文 时间:
2016-11-04 01:56:20
阅读次数:
330
前些日子入了PS4的某著名游戏2017, 寻小妖刷ML中. 不得不说刚开始的时候,涛哥坤哥的解说感觉颇为带感. 一个月后...还是关音量吧,解说词太贫乏了 在寻小妖的过程中, 突发奇想看看某著名论坛的数据有没有什么特别的地方,于是scrapy走起... 被服务器ban了几次后, 扒拉下来2w多主贴, ...
分类:
其他好文 时间:
2016-11-02 20:38:31
阅读次数:
161
121. Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitte ...
分类:
其他好文 时间:
2016-10-29 01:29:01
阅读次数:
161
Resize images and videos to fill their parent and maintain their aspect ratio with pure CSS. The new object-fit and object-position properties allow y ...
分类:
Web程序 时间:
2016-10-27 00:45:30
阅读次数:
324
https://bitbucket.org/rebane/rtl8710_openocd/ rtl8710_openocd / script / rtl8710.ocd rtl8710_openocd / rtl8710_flasher.tcl tl8710_openocd / rtl8710_fl ...
分类:
其他好文 时间:
2016-10-27 00:40:35
阅读次数:
533
1.UIView的setNeedsDisplay和setNeedsLayout方法 首先两个方法都是异步执行的。而setNeedsDisplay会调用自动调用drawRect方法,这样可以拿到 UIGraphicsGetCurrentContext,就可以画画了。而setNeedsLayout会默认 ...
分类:
移动开发 时间:
2016-10-26 16:31:08
阅读次数:
192