码迷,mamicode.com
首页 > 2015年07月08日 > 全部分享
LeetCode60:Permutation Sequence
The set [1,2,3,…,n] contains a total of n! unique permutations.By listing and labeling all of the permutations in order, We get the following sequence (ie, for n = 3):1 “123” 2 “132” 3 “213”...
分类:其他好文   时间:2015-07-08 10:57:54    阅读次数:512
Difference between enabled and userInteractionEnabled properties
I read through the documentation, and here are my findings. UIButton inherits from UIControl the boolean property enabled A Boolean value that determines whether the receiver is enabled. Specif...
分类:其他好文   时间:2015-07-08 10:58:50    阅读次数:126
东软实习第一天上课
oracle数据库学习         第一天开始学习oracle数据库,但是并不是很顺利,因为oracle数据库出现了问题,我们花了一个小时重装oracle数据库,该数据库卸载也很花时间,然后老师把他的ppt发给我们,以及一些练习,第一天没有讲太多知识点,主要以做练习为主,不过对于曾经模棱两可的知识点,现在有了更清楚的理解,比如:varchar 和 char 数据类型的区分。        ...
分类:其他好文   时间:2015-07-08 10:57:22    阅读次数:117
多线程小知识
1、iOS常见的延时执行有2种方式调用NSObject的方法[selfperformSelector:@selector(run)withObject:nilafterDelay:2.0];// 2秒后再调用self的run方法使用GCD函数dispatch_after(dispatch_time(...
分类:编程语言   时间:2015-07-08 10:56:46    阅读次数:150
Free Download SKP900 Car Key Programmer V3.5
Here I want to show you how to free download SKP-900 Key Programmer V3.5.Step1: You need to go to the official website www.superobd.com to register a....
分类:其他好文   时间:2015-07-08 10:56:57    阅读次数:130
oracle动态 静态参数修改规则
SQL>selectname,value,isses_modifiable(session级别修改的参数),issys_modifiable(system级别修改的参数)2fromV$PARAMETER3wherename='max_dump_file_size';SQL>altersystemre...
分类:数据库   时间:2015-07-08 10:55:57    阅读次数:253
nginx使用GeoIP限制访问并支持白名单
要使用GeoIP,需要重新编译Nginx,我的系统是centos6.5,nginx用的是tengine,需要的软件包:gcc、gcc-c++、 openssl、 openssl-devel、geoIP library、GeoLite Country、GeoLite City、pcre、tengine...
分类:其他好文   时间:2015-07-08 10:55:18    阅读次数:392
Java float保留两位小数或多位小数
Java float保留两位小数或多位小数方法1:用Math.round计算,这里返回的数字格式的. float price=89.89;int itemNum=3;float totalPrice=price*itemNum;float num=(float)(Math.round(totalPr...
分类:编程语言   时间:2015-07-08 10:56:42    阅读次数:151
[POJ 2135] Farm Tour
[POJ 2135] Farm Tour 题解
分类:其他好文   时间:2015-07-08 10:57:47    阅读次数:184
Pycharm 显示行号
打开File –> Settings 选中Editor –> General –> Appearence Show line numbers
分类:其他好文   时间:2015-07-08 10:57:50    阅读次数:364
NSString里面的数字
0-9ASCII码:48 - 57方法一://遍历NSString里面的数字 NSString*str =@"ssdg0db9f567dazy"; NSMutableString*strM = [NSMutableStringstring]; for(inti =0; i 47&& a 0) { ....
分类:其他好文   时间:2015-07-08 10:55:32    阅读次数:99
淘宝(阿里百川)手机客户端开发日记第十五篇 JSON解析(二)
上一节,我们已经讲解了两个重要的类,JSONObject,JSONArray.这一节,我们将给出几个DEMO,来熟悉这两个类的用法!首先,我给出一个JSON字符串:{ "tae_items_list_response": { "items": ...
分类:移动开发   时间:2015-07-08 10:55:15    阅读次数:186
.NET(c#)Parameters
SqlCommand cmd = new SqlCommand("insert into users(username,realname,password,sex,email,question,answer) values (@USERNAME,@REALNAEM,@PWD,@SEX,@EMAIL,...
分类:Windows程序   时间:2015-07-08 10:55:00    阅读次数:235
goole Advance client 离线安装
1.下载插件:Advanced Rest Client2.最新版的Chrome不支持本地安装插件,所以我们要使能开发者模式3.把插件后缀名crx改为zip4.解压,点击‘加载正在开发的扩展程序’, 选择解压目录就可以加载成功5.点击‘详细信息’, 可以‘创建快捷方式’。也可以进入goole应用商店点...
分类:其他好文   时间:2015-07-08 10:56:39    阅读次数:179
贝赛尔曲线
/**绘图步骤1.获得上下文 Ref => UIGraphicsGetCurrentContext2.设置绘图路径(贝塞尔路径是UIKit封装的)UIBezierPath3.将路径添加到上下文 CGContextAddPath(ctx, path.CGPath);4.让上下文绘制路径 CG...
分类:其他好文   时间:2015-07-08 10:55:00    阅读次数:139
iOS 支付宝应用(备用参考)
1:先与支付宝签约,获得商户ID(partner)和账号ID(seller)2:下载相应的公钥私钥文件(加密签名用)3:下载支付宝SDK4:生成订单信息5:调用支付宝客户端,由支付宝客户端跟支付宝安全服务器打交道6:支付完毕后返回支付结果给商户客户端和服务 , SDK里有集成支付宝功能的一个Demo...
分类:移动开发   时间:2015-07-08 10:55:28    阅读次数:134
【转】Comet:基于 HTTP 长连接的“服务器推”技术
原文链接:http://www.ibm.com/developerworks/cn/web/wa-lo-comet/ 很多应用譬如监控、即时通信、即时报价系统都需要将后台发生的变化实时传送到客户端而无须客户端不停地刷新、发送请求。本文首先介绍、比较了常用的“服务器推”方案,着重介绍了 Comet ....
分类:Web程序   时间:2015-07-08 10:54:28    阅读次数:151
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!