Individuals frequently believe that we now have a lot of view businesses close to these days, as well as even though this can be accurate for an degre...
分类:
其他好文 时间:
2015-08-18 15:59:26
阅读次数:
192
1、在JavaScript的变量作用域里有一条规则“全局变量都是window对象的属性”。当执行 checkThis() 时相当于 window.checkThis(),因此,此时checkThis函数体内的this关键字的指向变成了window对象,而又因为window对象有一个x属性( 'thi...
分类:
其他好文 时间:
2015-08-18 15:58:39
阅读次数:
166
题目链接:http://poj.org/problem?id=1410IntersectionTime Limit:1000MSMemory Limit:10000KTotal Submissions:12822Accepted:3347DescriptionYou are to write a p...
分类:
其他好文 时间:
2015-08-18 16:00:19
阅读次数:
103
- (void)readStr1:(NSString**)str1 andStr2:(NSString**)str2{NSString *s1 = @"1";NSString *S2 = @"2";*str1 = [s1 copy];*str2 = [S2 copy];}//下面是调用方法:NSSt...
分类:
其他好文 时间:
2015-08-18 16:00:10
阅读次数:
106
1、要实现的转圈进度条的效果图如下所示: 2、view_loading.xml中代码如下所示: 3、styles.xml中的loadingViewProgressBarStyle如下所示:4、drawable文件夹下load_rotate.xml文件内容...
分类:
其他好文 时间:
2015-08-18 15:58:55
阅读次数:
161
SQL Code1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757...
分类:
其他好文 时间:
2015-08-18 15:58:13
阅读次数:
165
1、设置cookie $cookie=newCHttpCookie('mycookie','thisismycookie');$cookie->expire=time()+60*60*24*30;//有限期30天Yii::app()->request->cookies['mycookie']=$co...
分类:
其他好文 时间:
2015-08-18 15:56:38
阅读次数:
156
题意:维护一个有序数列{An},有三种操作:1、添加一个元素。2、删除一个元素。3、求数列中下标%5 = 3的值的和。解题思路:看的各种题解,今天终于弄懂了。由于线段树中不支持添加、删除操作,所以题解写的是用离线做法。我们来看它是如何解决添加、删除的问题的。首先将所有出现过的数记录下来,然后排序去重...
分类:
其他好文 时间:
2015-08-18 15:55:18
阅读次数:
104
leetcode -Single NumberGiven an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a li...
分类:
其他好文 时间:
2015-08-18 15:56:19
阅读次数:
113
摘要: 刚刚接触wifi开发的东西,用的模块是 ESP8266-12E。 资料很多,淘宝地址:https://item.taobao.com/item.htm?spm=a1z09.2.9.10.qGL1rb&id=42444035227&_u=e1js7shc67a2 资料可以从里面下载。 对于ES...
分类:
其他好文 时间:
2015-08-18 15:55:59
阅读次数:
278
Time limit: 2sec /Stack limit: 256MB /Memory limit: 256MBProblemCharlie was born January 1st of the yearA, on the Earth. He will leave the Earth on De...
分类:
其他好文 时间:
2015-08-18 15:57:18
阅读次数:
147
1、把网络流行语翻译成中国古风http://www.360doc.com/content/15/0127/12/7974188_444150186.shtml2、http://www.juzimi.com/ju/684056句子迷我喜欢我这个人,敢醉敢摔不怕疼 ;我喜欢我这个人,卖傻装疯数疤痕; 我...
分类:
其他好文 时间:
2015-08-18 15:55:02
阅读次数:
82
#include #pragma include_alias( "dxtrans.h", "qedit.h" )#define __IDxtCompositor_INTERFACE_DEFINED__#define __IDxtAlphaSetter_INTERFACE_DEFINED__#defi...
分类:
其他好文 时间:
2015-08-18 15:55:50
阅读次数:
157
1 public final class DensityComputeTool { 2 3 private Context context; 4 5 private DensityComputeTool(Context context) { 6 this.con...
分类:
其他好文 时间:
2015-08-18 15:54:24
阅读次数:
110
1、 进入虚拟linux系统中,vim/etc/sysconfig/network-scripts/ifcfg-eth0,里面保留以下内容即可:DEVICE=eth0//使用的网卡标识BOOTPROTO=none//这里表示开机协议,有三种(dhcp,static,none)dhcp表示自动获取ip...
分类:
其他好文 时间:
2015-08-18 15:56:33
阅读次数:
114
简单工厂模式,就是新建工厂类来根据用户需求来创建调用对应的面向对象类来实现功能,在最终使用的时候,只需要在客户端调用工厂类,传入对应的类型就可以实现对几个类的解耦,不必关注每个类的具体的功能。
分类:
其他好文 时间:
2015-08-18 15:56:17
阅读次数:
103