码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
python 字符串方法积累
字符串方法str.strip([chars])返回字符串的副本,删除前导符和尾随符,chars参数为需要被删除的字符集,默认情况下删除空格,chars参数不是前缀或后缀,而是所有chars参数中的组合都被删除例如:>>>‘www.example.com‘.strip(‘cmowz.‘) ‘example‘ >>>‘spaciou..
分类:编程语言   时间:2014-08-04 18:13:48    阅读次数:184
HDU 1003 Max Sum 最大连续子序列的和
Problem Description Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1) + 5 +...
分类:其他好文   时间:2014-08-04 17:52:47    阅读次数:187
CommonJS规范 by ranyifeng
1,概述CommonJS是服务器端模块的规范,Node.js采用了这个规范。根据CommonJS规范,一个单独的文件就是一个模块。加载模块使用require方法,该方法读取一个文件并执行,最后返回文件内部的exports对象。下面就是一个简单的模块文件example.js。console.log("...
分类:Web程序   时间:2014-08-04 17:33:37    阅读次数:300
[LeetCode] Flatten Binary Tree to Linked List
Given a binary tree, flatten it to a linked list in-place.For example, Given 1 / \ 2 5 / \ \ 3 4 6The flattened ...
分类:其他好文   时间:2014-08-04 16:59:37    阅读次数:246
mahout推荐10-尝试GroupLens数据集
数据集下载地址:http://grouplens.org/datasets/movielens/ 之前用的是100K的,现在需要下载MovieLens 10M,使用里面的ratings.dat前提:因为文件不符合mahout要求的文件输入格式,需要进行转换,但是example里提供了一个解析这个文件...
分类:其他好文   时间:2014-08-04 14:14:47    阅读次数:476
【转载】android 工具类 DateUtil,可以用它方便的进行日期的操作
本文来自:http://blog.csdn.net/xuduzhoud/article/details/27526177全部代码如下:DateUtil.javapackage com.example.tset;import java.text.ParseException;import java.t...
分类:移动开发   时间:2014-08-04 14:06:28    阅读次数:327
Qt编程之转换成8,16bit的灰度图
其实我目前还没有实现。references:http://qt-project.org/faq/answer/how_can_i_convert_a_colored_qpixmap_into_a_grayscaled_qpixmaphttp://www.qtcentre.org/threads/46...
分类:其他好文   时间:2014-08-04 13:53:57    阅读次数:632
HBase MapReduce 使用
项目中需要用MapReduce来读取或者写Hbase,这样可以节省大量开发时间。Hbase本身的jar包里就有这样的API , 以下是我从官网上找的一些资料,和大家分享一下。原文地址:http://hbase.apache.org/book/mapreduce.example.html总体说明一下:...
分类:其他好文   时间:2014-08-04 13:39:07    阅读次数:211
First Missing Positive leetcode java
题目:Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm....
分类:编程语言   时间:2014-08-04 13:34:47    阅读次数:373
Remove Duplicates from Sorted Array II leetcode java
题目:Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array A = [1,1,1,2,2,3],Your function shou....
分类:编程语言   时间:2014-08-04 13:24:27    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!