DescriptionIn the Byteotian Line Forest there are trees in a row. On top of the first one, there is a little bird who would like to fly over to the t....
分类:
其他好文 时间:
2015-01-06 21:22:07
阅读次数:
278
最近画的一块板子中用到了六路同相门芯片74HC07作为电平转换,将FPGA产生的3.3V信号转换为5V,但是没有注意到74HC07的输出是开漏结构(以为给74HC07一个5V电源就可以将输入的3.3V电平转换为5V电平输出……囧……,好吧我承认我是菜鸟),结果可想而知,板子拿回来完全不能用,只好用飞...
分类:
其他好文 时间:
2015-01-06 21:19:24
阅读次数:
426
package Equals;public class IntegerEquals { public static void main(String[] args) { printLine(128); Integer a=128; Integer b=...
分类:
其他好文 时间:
2015-01-06 21:20:42
阅读次数:
215
Scalability is a system's ability to process more workload, with a proportional increase in system resource usage. In other words, in a scalable syste...
分类:
其他好文 时间:
2015-01-06 21:17:56
阅读次数:
272
public static byte[] DecryptData(byte[] fileArry) { //MemoryStream inStream = new MemoryStream(fileArry); MemoryStream i...
分类:
其他好文 时间:
2015-01-06 21:18:20
阅读次数:
327
好久不写了,复习一下,被坑了好多次~~~ 1 type arr=record 2 l,r:longint; 3 lazy,val:int64; 4 end; 5 const maxn=200008; 6 var tree:array[0..maxn*4...
分类:
其他好文 时间:
2015-01-06 21:17:59
阅读次数:
135
今天碰到一个问题 iframe不刷新试了试chrome 没问题,ie10没问题客户的系统是xp +ie8 iframe硬是不刷新于是装了个虚拟机 跑了xp 先试了试chrome 也没问题 用ie8 果然出问题了原因在于 刷新iframe 页面地址不变时 ie8 不会刷新iframe 于是 URL后面...
分类:
其他好文 时间:
2015-01-06 21:17:10
阅读次数:
128
Subsets IIGiven a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descend...
分类:
其他好文 时间:
2015-01-06 21:19:17
阅读次数:
135
图像传感器(image sensor)复位顺序1. 硬件复位寄存器;2. 软件复位寄存器;3. 设置时钟寄存器;4. 设置PLL倍频;5. 设置分辨率;6. 设置窗口控制;7. 设置输出顺序;8. 细调颜色,增益,白平衡;小常识:1. 锁相环(Phase Lock Loop) 特点:利用外部输入的参...
分类:
其他好文 时间:
2015-01-06 21:16:27
阅读次数:
205
总体交互流程如下 1. 客户端发起HTTPS请求 这个没什么好说的,就是用户在浏览器里输入一个https网址,然后连接到server的443端口。 2. 服务端的配置 采用HTTPS协议的服务器必须要有一套数字证书,可以自己制作,也可以向组织申请。区别就是自己颁发的证书需要客户端验证通过...
分类:
其他好文 时间:
2015-01-06 21:17:28
阅读次数:
140
ios layout机制相关方法- (CGSize)sizeThatFits:(CGSize)size- (void)sizeToFit——————-- (void)layoutSubviews- (void)layoutIfNeeded- (void)setNeedsLayout——————–- ...
分类:
其他好文 时间:
2015-01-06 21:15:23
阅读次数:
113
Microsoft.Crm.Setup.Common.RegisterAsyncServiceAction操作失败。配置注册表项无效解决办法cd\windows\system32lodctr/R2-RestartyourServer3-InstallMSCRM
分类:
其他好文 时间:
2015-01-06 21:15:13
阅读次数:
133
题意:求正整数L和U之间有多少个整数x满足形如x=pk 这种形式,其中p为素数,k>1分析:首先筛出1e6内的素数,枚举每个素数求出1e12内所有满足条件的数,然后排序。对于L和U,二分查找出小于U和L的最大数的下标,作差即可得到答案。 1 #include 2 #include 3 #incl.....
分类:
其他好文 时间:
2015-01-06 21:15:02
阅读次数:
131
基于字段的转换:1、写一个类,继承DefaultTypeConverter,覆盖convertValue(Object value, Class toType) 1 public Object convertValue(Object value, Class toType) { 2 ...
分类:
其他好文 时间:
2015-01-06 21:14:02
阅读次数:
167
上一篇总结了类图的组成,接下来总结UML中的重要关系。
类与类之间的关系通常有4种:依赖关系dependency、泛化关系generalization、关联关系association、实现关系realizaiton。
依赖关系:是两个或多个模型元素之间语义上的连接关系。只将模型元素本身连接起来而不需要用一组实例来表达它的意思。提供者的某些变化会要求或只是依赖关系中客户的关系,即依赖关系将行为和...
分类:
其他好文 时间:
2015-01-06 20:12:32
阅读次数:
255