首页 > 2014年09月03日 > 全部分享
hdu2896 AC自动机
病毒侵袭Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11422Accepted Submission(s): 2957Problem Descr...
分类:其他   时间:2014-09-03 22:39:37    收藏:0  评论:0  赞:0  阅读:350
node.js模块之util模块
util提供了各种使用的工具。require('util')to access them.Util.format(format,[..])Returns a formatted string using the first argument as aprintf-like format.The fi...
分类:Web开发   时间:2014-09-03 22:39:27    收藏:0  评论:0  赞:0  阅读:412
Android ImageView scaleType属性
scaleType属性 文章来源:http://blog.csdn.net/xilibi2003/article/details/6628668使用ImageView时经常会用到scaleType属性,如:1 scaleType的属性值有:matrix fitXY fitStart fitCente...
分类:移动平台   时间:2014-09-03 22:39:17    收藏:0  评论:0  赞:0  阅读:386
node.js EventEmitter发送和接收事件
EventEmitter是nodejs核心的一部分。很多nodejs对象继承自EventEmitter,用来处理事件,及回调。api文档地址:http://nodejs.org/api/events.html#events_class_events_eventemitterEvent:Many ob...
分类:Web开发   时间:2014-09-03 22:39:07    收藏:0  评论:0  赞:0  阅读:394
MVC之MVCSQO方法查询、排序、分页、投影
分类:Web开发   时间:2014-09-03 22:38:57    收藏:0  评论:0  赞:0  阅读:369
pvr与png的内存占用
Zwoptex生成的spritesheet除了可以导出png格式的图片外还有pvr格式。pvr格式是iOS的显示芯片可以直接读取的,不需要经过解析就能直接显示,所以渲染速度更快,更节省内存。我特意在cocos2D 2.0 rc1版本做了一项测试:一个空的cocos2D模版工程运行起来之后占用的内存大...
分类:其他   时间:2014-09-03 22:38:47    收藏:0  评论:0  赞:0  阅读:433
Something About Perl
Perl is a high-level , general-purpose,interpreted ,dynamic programming language . It was originally developed by Larry Wall in 1987 as a general-pur....
分类:其他   时间:2014-09-03 22:38:37    收藏:0  评论:0  赞:0  阅读:385
mysql for mac安装
1. 执行:$ brew install mysql2. 在/usr/local/etc/下创建或修改 mysql.conf,示例:[client]port = 3306socket = /tmp/mysql.sockdefault-character-set = utf8[mysqld]colla...
分类:数据库技术   时间:2014-09-03 22:38:27    收藏:0  评论:0  赞:0  阅读:376
Spring中bean的五个作用域简介(转载)
Spring上个版本的IoC容器支持两个不同的bean作用域(单例与原型)。Spring 2.0改进了这一点,不仅提供了一些依赖于Spring部署环境(比如说,在web环境中的request和session作用域bean)的额外的作用域,而且提供了所谓的'钩子'('hooks')(因为找不到更好的表...
分类:编程语言   时间:2014-09-03 22:38:17    收藏:0  评论:0  赞:0  阅读:537
第四章 复合类型
第四章复合类型4.1数组 4.1.1数组简介 数组(array)是一种数据格式,能够存储多个同类型的值。 声明数组的通用格式如下: typeName arrayName[arraySize]; 表达式arraySize指定数组的元素数目,它只能是以下三种情况之一: 1)整型常数(如1...
分类:其他   时间:2014-09-03 22:38:07    收藏:0  评论:0  赞:0  阅读:322
IP,路由,交换基础培训记录
IP,路由,交换基础培训记录:IP 掩码 子网划分 vlan划分(有助于减少广播压力) vlan之间互通通过交换机打通。路由,静态路由,动态路由(学习到的),路由表,下一跳,网络位长的优先级高。交换机,hub集线器。 hub是整体冲突模式,交换机是某个口是冲突模式。bps pps含义常用网络命令:p...
分类:其他   时间:2014-09-03 22:37:37    收藏:0  评论:0  赞:0  阅读:329
OS X 文档
显示Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles YES隐藏Mac隐藏文件的命令:defaults write com.apple.finder AppleShowAllFiles NOdefaults write com....
分类:其他   时间:2014-09-03 22:37:27    收藏:0  评论:0  赞:0  阅读:296
LRTHW练习十
转义符表This all of the escape sequences Ruby supports. You may not use many of these, but memorize their format and what they do anyway. Try them out in ...
分类:其他   时间:2014-09-03 22:37:17    收藏:0  评论:0  赞:0  阅读:349
Selenium私房菜系列2 -- XPath的使用【ZZ】
在编写Selenium案例时,少不免是要用到XPath的,现在外面关于XPath使用的参考资料很多,下面我直接转一篇关于XPath使用的文档。如果对XPath不熟悉请参考下文,你不需要去百度/Google搜索关于XPath的资料,因为下面的内容已经足够你写测试时使用,如果你已熟悉XPath,本章大可...
分类:其他   时间:2014-09-03 22:37:07    收藏:0  评论:0  赞:0  阅读:349
Linux Operating System
Linux is a Unix-like computer operating system assembled under the model of free and open source software developmentand distribution .The defining c....
分类:系统服务   时间:2014-09-03 22:36:57    收藏:0  评论:0  赞:0  阅读:446
前端笔试题解答
一、标签的定义与用法。答:定义:声明位于文档中的最前面的位置,处于标签之前。此标签可告知浏览器文档使用哪种HTML或XHTML规范。该标签可声明三种DTD类型,分别表示严格版本、过渡版本以及基于框架的HTML版本。(假如文档中的标记不遵循doctype声明所指定的DTD,这个文档除了不能通过代码校验...
分类:其他   时间:2014-09-03 22:36:47    收藏:0  评论:0  赞:0  阅读:347
LeetCode: Maximal Rectangle
LeetCode: Maximal RectangleGiven a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.地址:htt...
分类:其他   时间:2014-09-03 22:36:37    收藏:0  评论:0  赞:0  阅读:310
html历史
方法一:location.hash = 'abc'window.onhashchange = function(){}location.hash 返回结果 #abc => location.hash.substring(1) abc方法二:存历史:history.pushstate(数据,标题,网址...
分类:Web开发   时间:2014-09-03 22:36:17    收藏:0  评论:0  赞:0  阅读:359
基于python脚本的对拍debug
首先,这是python脚本import os;for i in range(0,20): print ("Case:"+str(i)); print ("randoming"); os.system("randomdata.exe"); print("running righ...
分类:编程语言   时间:2014-09-03 22:35:57    收藏:0  评论:0  赞:0  阅读:335
如何在ashx页面获取Session值
在一般事务处理页面,可以轻松的得到 Request,Response对象,从而进行相应的操作,如下:HttpRequest Request = context.Request;HttpResponse Response = context.Response;但是要得到 Session的值就没有那么简...
分类:其他   时间:2014-09-03 22:35:47    收藏:0  评论:0  赞:0  阅读:359
1493条   上一页 1 ... 3 4 5 6 7 ... 75 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!