首页 > 2015年07月07日 > 全部分享
[leedcode 20] Valid Parentheses
Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the correct ...
分类:其他   时间:2015-07-07 18:47:52    收藏:0  评论:0  赞:0  阅读:169
Access restriction on class due to restriction on required library rt.jar?
http://stackoverflow.com/questions/860187/access-restriction-on-class-due-to-restriction-on-required-library-rt-jarGo to the Build Path settings in th...
分类:数据库技术   时间:2015-07-07 18:47:42    收藏:0  评论:0  赞:0  阅读:224
不用浏览器,直接用代码发送文件给webservices所在服务器 并且可以周期行的发送
不用浏览器,直接用代码发送文件给webservices所在服务器 并且可以周期行的发送 client to webservices
分类:Web开发   时间:2015-07-07 18:47:32    收藏:0  评论:0  赞:0  阅读:359
【LeetCode】217. Contains Duplicate (2 solutions)
Contains DuplicateGiven an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at leas...
分类:其他   时间:2015-07-07 18:46:52    收藏:0  评论:0  赞:0  阅读:201
cloudstack安装篇1-linux命令修改IP信息
方式一:ifconfig eth0 192.168.1.18 netmask 255.255.255.0说明:该种方式可以使改变即时生效,重启后会恢复为原来的IP方式二:vi /etc/sysconfig/network-scripts/ifcfg-eth0说明:该方式要重启后生效,且是永久的如果要...
分类:系统服务   时间:2015-07-07 18:46:42    收藏:0  评论:0  赞:0  阅读:353
java.math.RoundingMode 几个参数详解
java.math.RoundingMode里面有几个参数搞得我有点晕,现以个人理解对其一一进行总结:为了能更好理解,我们可以画一个XY轴RoundingMode.CEILING:取右边最近的整数RoundingMode.DOWN:去掉小数部分取整,也就是正数取左边,负数取右边,相当于向原点靠近的方...
分类:编程语言   时间:2015-07-07 18:46:32    收藏:0  评论:0  赞:0  阅读:167
WebSphere监控软件 TPV(Tivoli Performance Viewer)的缺点
TPV的缺点 大家都知道IBM 的 WebSphere Application Server(WAS)在v5之后自带有TPV(Tivoli Performance Viewer)用来监控WAS的运行状况包括JVM内存使用状况、数据库连接池、WEB容器线程池、应用程序、用户会话、事务、缓存等资源 .....
分类:Web开发   时间:2015-07-07 18:46:22    收藏:0  评论:0  赞:0  阅读:499
iOS 往来--书面资料
写接触知识和查询功能的基础,现在我们就来看看信息写入新变化删除#pragma mark - 系人信息//创建联系人- (void) creatNewRecord{ CFErrorRef error = NULL; //创建一个通讯录操作对象 ABAddressBookRe...
分类:移动平台   时间:2015-07-07 18:46:02    收藏:0  评论:0  赞:0  阅读:117
自定义Excel导出简易组件
1.组件原理excel的数据存储是以xml格式存储的,所以导出Excel文件可以通过生成XML来实现。当然XML必须符合一定的格式要求。2.组件实现(1)新建类库文件“MyExcel”(2)添加类型“WorkBook”,这里指Excel的工作表。 1 namespace MyExcel 2 { .....
分类:其他   时间:2015-07-07 18:45:52    收藏:0  评论:0  赞:0  阅读:146
Java中将Map转换为JSON
一个注意的地方:要选对jar包 1 Map map = new HashMap(); 2 map.put("success", "true"); 3 map.put("photoList", photoList); 4 map.put(...
分类:编程语言   时间:2015-07-07 18:45:32    收藏:0  评论:0  赞:0  阅读:199
$@ 与$*之终极比较
准确来讲, 兩者只有在 soft quote 中才有差异, 否則, 都表示"全部 参数"( $0 除外)。举个例來說好了:若在 command line 上跑 my.sh p1 "p2 p3" p4 的話,不管是 $@ 還是 $* , 都可得到 p1 p2 p3 p4 就是了。但是, 如果置於 so...
分类:其他   时间:2015-07-07 18:45:22    收藏:0  评论:0  赞:0  阅读:175
iOS 常用第三方
MWPhotoBrowser非常好用的图片浏览器FDFullscreenPopGesture用于全屏滑动切换视图Aspects用于快速AOP编程AFNetworkingiOS开发中最为火爆的网络框架(OC)AlamofireiOS开发中最为火爆的网络框架(Swift)Kiwi行为驱动开发测试(BDD...
分类:移动平台   时间:2015-07-07 18:45:12    收藏:0  评论:0  赞:0  阅读:246
Python httplib学习
httplib是python中http协议的客户端实现,可以使用该模块与HTTP服务器进行交互。如示例1:import httpliburl = "www.126.com"conn = httplib.HTTPConnection(url)try: conn.request('get','...
分类:编程语言   时间:2015-07-07 18:45:02    收藏:0  评论:0  赞:0  阅读:297
2015.7.7-css兼容问题
1.今天做了个页面下的p段落里的中文文字两端对齐,在IE下通通无效,解决方案如下,加入IE的专有属性:text-justify:inter-ideograph;text-align: justify;text-justify:inter-ideograph;2.用到了letter-spacing来调...
分类:Web开发   时间:2015-07-07 18:44:52    收藏:0  评论:0  赞:0  阅读:280
后缀数组详解
后缀数组——处理字符串的有力工具
分类:编程语言   时间:2015-07-07 18:44:42    收藏:0  评论:0  赞:0  阅读:170
LeetCode Container With Most Water
Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of ...
分类:其他   时间:2015-07-07 18:44:32    收藏:0  评论:0  赞:0  阅读:227
angular之scope.$watch
某“大神”挖了个陨石坑,我于是乎似懂非懂的接手,玩了一个月angular。现在项目告一段落,暂别了繁重的重复性工作,可以开始回顾、认真的折腾下之前犹抱琵琶的angular。 angular吸引人的特性之一就是双向绑定,model有变化view自动更新。一说到自动执行,首先浮到脑海的必须是监听和...
分类:其他   时间:2015-07-07 18:44:12    收藏:0  评论:0  赞:0  阅读:145
git(工作区,暂存区,管理修改,撤销修改,删除文件)
工作区和暂存区984次阅读Git和其他版本控制系统如SVN的一个不同之处就是有暂存区的概念。先来看名词解释。工作区(Working Directory)就是你在电脑里能看到的目录,比如我的learngit文件夹就是一个工作区:版本库(Repository)工作区有一个隐藏目录.git,这个不算工作区...
分类:其他   时间:2015-07-07 18:43:32    收藏:0  评论:0  赞:0  阅读:325
【leetcode】Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:其他   时间:2015-07-07 18:43:22    收藏:0  评论:0  赞:0  阅读:255
linux使用getopt解析参数
getopt是linux下解析命令行参数的api。以linux内核代码的一个例子来说明:static void cmdline(int argc, char *argv[]){ int opt; progname = basename(argv[0]); while ((opt = getopt(....
分类:系统服务   时间:2015-07-07 18:43:02    收藏:0  评论:0  赞:0  阅读:292
1877条   上一页 1 ... 28 29 30 31 32 ... 94 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!