码迷,mamicode.com
首页 > 其他好文 > 日排行
数字公仔设计蔚为风尚 马路科技打造《魔兽世界》典藏级公仔
公仔是否具有收藏价值?除了公仔本身所代表的作品意义外,最重要的项目之一就是制作的精细程度,然而以往手工公仔设计的过程中充满了许多制作上的变量,因此数字公仔设计已经是许多许多企业的首选方式。马路科技结合了专业人因设计工具FreeForm自由造型系统以及三維打印,不仅迅速的完成了多项公仔设计服务工作,更...
分类:其他好文   时间:2014-06-04 20:09:02    阅读次数:155
Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:其他好文   时间:2014-06-04 20:09:47    阅读次数:266
照相机滤镜使用,优化解码和滤镜导致的预览卡屏现象
这几天看到亚瑟boy的技术连载,也试着做了下带滤镜特效的照相机,效果也出来了,但是发现添加滤镜特效后的预览窗口卡屏现象很严重,于是自己索性 试着尝试修改,在亚瑟和其他网友的代码中基本上都是对于照相机data视频流先进行解码,然后对解码出的帧Bitmap进行滤镜算法处理,这个是必走的流 程,而每一帧在...
分类:其他好文   时间:2014-06-04 20:05:38    阅读次数:420
张晓晗新书《我不是女王》出版上市
图书批发市场:近日,90后新锐畅销书作家张晓晗新书《我不是女王》由群言出版社出版。张晓晗:女,摩羯座。家住上海,毕业于上海戏剧学院,主修戏剧影视文学专业。长期在《萌芽》发表作品,著有《最好的年代》《少年祝安》《女王乔安》等作品。 内容提要 桃说自己的青春就是一场接连不断的艳遇,青涩如周觅,沉...
分类:其他好文   时间:2014-06-04 20:06:11    阅读次数:254
Spiral Matrix
Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[ [ 1, 2, 3 ]....
分类:其他好文   时间:2014-06-04 20:06:52    阅读次数:256
Subsets
Given a set of distinct integers,S, return all possible subsets.Note: Elements in a subset must be in non-descending order. The solution set m...
分类:其他好文   时间:2014-06-04 20:01:32    阅读次数:340
Combinations
Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3], [1...
分类:其他好文   时间:2014-06-04 20:02:13    阅读次数:228
SEDA工作笔记(一)
摘要在普遍认知中,软件开发实践是一项充满不确定性的工作,这是由于编码工作占据了其绝大部分的工作,而编码本身就是具有极大不确定性的。同样,计算机科学被视作一门门槛低,基于经验,而无理论意义的纯工程类学科。这种观念不仅为广泛非本专业内人士所共持,即便本门师生,从业人员也偶有赞同。本文试图通过一次对SED...
分类:其他好文   时间:2014-06-04 20:03:42    阅读次数:268
5.29 diagramEditor中的save
public class DiagramEditor extends GraphicalEditorWithFlyoutPalette implementsIPersistableEditor{ public void doSave(IProgressMonitor monitor) { ...
分类:其他好文   时间:2014-06-04 20:04:59    阅读次数:397
N-Queens
Then-queens puzzle is the problem of placingnqueens on ann×nchessboard such that no two queens attack each other.Given an integern, return all distinc...
分类:其他好文   时间:2014-06-04 20:00:47    阅读次数:206
[011]默认实参
在一般的函数定义中,都是定义类似的函数。int foo(int v1, int v2);在调用foo函数的时候,将实参传进去就可以使用foo了。但是,我们也可以直接在函数定义的时候就给形参赋值。如:int foo(int v1 = 1, int v2 = 2);这样定义之后,可以这样使用:foo()...
分类:其他好文   时间:2014-06-04 19:57:34    阅读次数:268
<meta>标签的作用
所有浏览器都支持 标签。在 HTML 中, 标签没有结束标签;在 XHTML 中, 标签必须被正确地关闭。meta主要为分HTTP标头信息(HTTP-EQUIV)和页面描述信息(NAME)。http-equiv: 与content属性共同组成一个http头部字段,作为http头部的成分传递。nam....
分类:其他好文   时间:2014-06-04 19:58:19    阅读次数:266
云计算之路-阿里云上:什么是“黑色1秒”?
为了更好地分享我们解决“黑色1秒”问题的过程,在这篇博文中我们专门描述一下“黑色1秒”问题的表现。“黑色1秒”是我们使用阿里云以来继“黑色10秒”之后遭遇的最奇特、最诡异、最难以捉摸、最有戏剧性的问题。
分类:其他好文   时间:2014-06-04 19:59:31    阅读次数:230
Objective-C中的属性(property)
Objective-C中的属性(property)它组合了新的预编译指令和新的属性访问的语法,新的属性功能显著减少了必须编写的冗长代码的数量。下面我们来比较下面的代码//第一种声明方法-(void)setRainHandling:(float) rainHanding;-(float) rainHa...
分类:其他好文   时间:2014-06-04 20:00:10    阅读次数:255
Climbing Stairs
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:其他好文   时间:2014-06-04 19:53:34    阅读次数:173
Sqrt(x)
Implementint sqrt(int x).Compute and return the square root ofx.classSolution{public:intsqrt(intx){inti=0;intstep=1;while(step>0){while((i+step)>1);}r...
分类:其他好文   时间:2014-06-04 19:54:17    阅读次数:214
Unique Paths II
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:其他好文   时间:2014-06-04 19:54:55    阅读次数:258
Permutation Sequence
The set[1,2,3,…,n]contains a total ofn! unique permutations.By listing and labeling all of the permutations in order,We get the following sequence (ie...
分类:其他好文   时间:2014-06-04 19:56:17    阅读次数:347
qt实现搜索LAN设备
先看效果:代码上:Work.cpp#include #include #include #include #include "Work.h"#include "P2PSearchProtocol.h"#include MyQPushButton *pQPushButton;int main(int ...
分类:其他好文   时间:2014-06-04 19:32:54    阅读次数:591
表驱动法 -《代码大全》读书笔记
表驱动法是一种编程模式,从表里面查找信息而不是使用逻辑语句(if…else…switch),当是很简单的情况时,用逻辑语句很简单,但如果逻辑很复杂,再使用逻辑语句就很麻烦了。比如查找一年中每个月份的天数,如果用表驱动法,完全不需要写一堆if…else…语句,直接把每个月份的天数存到一个数组里就行了,...
分类:其他好文   时间:2014-06-04 19:31:30    阅读次数:394
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!