码迷,mamicode.com
首页 > 2014年07月16日 > 全部分享
【游戏科普】使用心理学法则创建优秀的用户界面
There are proven psychological principles to user interfaces that work.Whether you have a team of design experts or are just building with programmer art, you can use these principles to make your gam...
分类:其他好文   时间:2014-07-16 16:33:00    阅读次数:243
dp_Pku1887
/* A - 简单dp 例题 Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u Submit Status Description A military contractor for the Department of Defense has just completed a series o...
分类:其他好文   时间:2014-07-16 16:15:03    阅读次数:278
httpUrlConnection的参数详解
post方式的的请求过程: // 设置是否向httpUrlConnection输出,因为这个是post请求,参数要放在 // http正文内,因此需要设为true, 默认情况下是false; httpUrlConnection.setDoOutput(true); // 设置是否从httpUrlConnection读入,默认情况下是true; httpUrlConnection.se...
分类:其他好文   时间:2014-07-16 16:14:42    阅读次数:3111
合并两个有序数组
思路: 跟替换字符串中的空格一样,都是从后往前遍历。因为从前往后遍历的话,元素需要移动的次数较多。 示意图: 代码: /****************************************** 两个有序数组的合并 by Rowandjj 2014/7/16 ******************************************/ #...
分类:其他好文   时间:2014-07-16 16:37:28    阅读次数:176
python基础教程_学习笔记23:图形用户界面
图形用户界面 丰富的平台 在编写Python GUI程序前,需要决定使用哪个GUI平台。 简单来说,平台是图形组件的一个特定集合,可以通过叫做GUI工具包的给定Python模块进行访问。 工具包 描述 Tkinter 使用Tk平台。很容易得到。半标准。 wxpython 基于wxWindows。跨平台越来越流...
分类:编程语言   时间:2014-07-16 16:32:40    阅读次数:323
Bitmap,byte[],Drawable相互转化
1、Drawable就是一个可画的对象,其可能是一张位图(BitmapDrawable),也可能是一个图形(ShapeDrawable),还有可能是一个图层(LayerDrawable),我们根据画图的需求,创建相应的可画对象 2、Canvas画布,绘图的目的区域,用于绘图 3、Bitmap位图,用于图的处理 4、Matrix矩阵 1、从资源中获取Bit...
分类:其他好文   时间:2014-07-16 16:41:17    阅读次数:229
跟我一起学extjs5(20--模块Grid的其他功能的设想,前20节源码)
跟我一起学extjs5(20--模块Grid的其他功能的设想,前20节源码)         经过对自定义模块和Grid的设计和编码,现在已经能对一个有配置信息的模块来生成界面并进行一些简单的CURD操作。由于这是一个全解释性的前台的架构,因此你想到的任何新主意都可以放到所有的模块中。         比如对于“Grid列宽的自动适应”这个功能,我们可以在系统设置项里加入“列宽自适应模...
分类:Web程序   时间:2014-07-16 16:14:08    阅读次数:309
《CS:APP》 chapter 6 The Memory Hierarchy笔记
The Memory Hierarchy...
分类:移动开发   时间:2014-07-16 16:14:28    阅读次数:385
c# 通过解析mp3规范命名并上传服务器
引用using Shell32; private void Open_Click(object sender, RoutedEventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ...
分类:其他好文   时间:2014-07-16 16:13:10    阅读次数:210
svn installation
# yum install mod_dav_svn.x86_64 subversion-svn2cl.noarch=============================================================================================...
分类:其他好文   时间:2014-07-16 16:12:49    阅读次数:241
手势(5)——利用GestureRecognizer
#import "MJmainViewController.h"@interface MJmainViewController ()@end@implementation MJmainViewController- (id)initWithNibName:(NSString *)nibNameOrN...
分类:其他好文   时间:2014-07-16 16:13:25    阅读次数:243
javascript篇:javascript对象——Math
Math对象用于执行数学任务,无需创建它的实例:var mathPI = Math.PI;var myVal = Math.sqrt(4);Math对象的属性E:返回算术常量e,约等于2.718LN2:返回2的自然对数,约等于0.693LN10:返回10的自然对数,约等于2.302LOG2E:返回以...
分类:编程语言   时间:2014-07-16 16:12:26    阅读次数:227
根据《Sparse deep belief net model for visual area V2》实现Sparse GRBM
前一部分的求解用Hinton的CD算法即可,后一部分的求解即在前一部分的前提下,加入: %%加入SparsepenaltyR.delta=mean(mean(h0,1)-R.sparseP).*mean(h0.*(1-h0),1);R.deltaW=(v0'*repmat(R.delta,minib...
分类:Web程序   时间:2014-07-16 16:13:44    阅读次数:743
Reinstall msdtc on Windows
Reinstall MSDTCThe system reported an unexpected error condition. You can resolve this condition by uninstalling and then reinstalling the Microsoft D...
分类:Windows程序   时间:2014-07-16 16:12:06    阅读次数:303
js分页页码算法
function get_hs_page(cur_page, total_page) { var result = ""; for(var i = 1; i 1) { i = cur_page - 6; }else if(i == cur_page ...
分类:Web程序   时间:2014-07-16 16:44:56    阅读次数:543
codeforces 446C DZY Loves Fibonacci Numbers(数学 or 数论+线段树)
In mathematical terms, the sequenceFnof Fibonacci numbers is defined by the recurrence relationF1?=?1;F2?=?1;Fn?=?Fn?-?1?+?Fn?-?2(n?>?2).DZY loves Fib...
分类:其他好文   时间:2014-07-16 16:45:19    阅读次数:418
TypeConverter使用
如下代码, class Human{ public string Name{get;set;} public Human Child{get;set;}}为了让以上代码工作,则必须提供一个类型转换, 从string转到Human。步骤如下,1. 定义StringToHumanConverter...
分类:其他好文   时间:2014-07-16 16:11:42    阅读次数:184
3709条   上一页 1 ... 4 5 6 7 8 9 10 ... 219 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!