首页 > 其他
Canvas标签
1.Canvas的使用和canvas的常见属性 您的浏览器不支持canvas标签canvas标签在页面中只显示一个设定背景色的画布,如果要产生新内容或者进行画图操作,需要借助canvas API(HTML5的内置对context 对象)和javascript操作实现画图或者其他图像操作2.Canva...
分类:其他   时间:2014-03-29 19:39:38    收藏:0  评论:0  赞:0  阅读:1297
最近项目用到Dubbo框架,临时抱佛脚分享一下共探讨。
1. Dubbo是什么?Dubbo是一个分布式服务框架,致力于提供高性能和透明化的RPC远程服务调用方案,以及SOA服务治理方案。简单的说,dubbo就是个服务框架,如果没有分布式的需求,其实是不需要用的,只有在分布式的时候,才有dubbo这样的分布式服务框架的需求,并且本质上是个服务调用的东东,说...
分类:其他   时间:2014-03-29 19:40:30    收藏:0  评论:0  赞:0  阅读:620
排序算法总结
1. 冒泡排序#include #define LENGTH 8 void main() { int i, j, tmp, number[LENGTH] = {95, 45, 15, 78, 84, 51, 24, 12}; for (i = 0; i i; j--) { if (number[j]...
分类:其他   时间:2014-03-29 19:42:21    收藏:0  评论:0  赞:0  阅读:572
设计模式之美:Mediator(中介者)
本文介绍经典设计模式 Mediator(中介者)模式。
分类:其他   时间:2014-03-29 19:45:56    收藏:0  评论:0  赞:0  阅读:398
Struts2系列——struts2的result (动态参数)
http://blog.csdn.net/dagouaofei/article/details/5640079在action的指定方法执行完毕后总会返回一个字符串,struts2根据返回的字符串去action的配置中的result去找匹配的名字,根据配置执行下一步的操作。 在ActionSuppor...
分类:其他   时间:2014-03-29 19:46:52    收藏:0  评论:0  赞:0  阅读:490
Leetcode OJ: Maximun Subarray
Maximum SubarrayFind the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?...
分类:其他   时间:2014-03-29 16:07:53    收藏:0  评论:0  赞:0  阅读:529
[Leetcode] Next Permutation
Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possibl...
分类:其他   时间:2014-03-29 19:57:19    收藏:0  评论:0  赞:0  阅读:451
c#中const和readonly区别
c#const与readonly关键字的比较C#中,const 与readonly是两个比较有用的关键字。const 与 readonly 定义的数据成员在初始化都不能再改变。比如定义了public class MathUtitlity{public const double PI = 3.14;p...
分类:其他   时间:2014-03-29 20:02:53    收藏:0  评论:0  赞:0  阅读:474
POJ 3276
Face The Right WayTime Limit:2000MSMemory Limit:65536KTotal Submissions:2193Accepted:1039DescriptionFarmer John has arranged hisN(1 ≤N≤ 5,000) cows in...
分类:其他   时间:2014-03-29 20:00:57    收藏:0  评论:0  赞:0  阅读:529
软件测试点滴
全面测试早测试,常测试加强研发内部测试第三方测试产品发布测试的扩展
分类:其他   时间:2014-03-29 20:09:37    收藏:0  评论:0  赞:0  阅读:454
vim 中Ctags的安装和使用
『插件介绍』Ctags工具是用来遍历源代码文件生成tags文件,这些tags文件能被编辑器或其它工具用来快速查找定位源代码中的符号(tag/symbol),如变量名,函数名等。比如,tags文件就是Taglist和OmniCppComplete工作的基础。『下载和安装』一、我是使用apt-get安装...
分类:其他   时间:2014-03-29 20:11:31    收藏:0  评论:0  赞:0  阅读:442
poj 2299 Ultra-QuickSort (树状数组)
Ultra-QuickSortTime Limit:7000MSMemory Limit:65536KTotal Submissions:37971Accepted:13672DescriptionIn this problem, you have to analyze a particular s...
分类:其他   时间:2014-03-29 20:16:16    收藏:0  评论:0  赞:0  阅读:496
Install the 64bit library in Ubuntu13.10
After installed Ubuntu13.10, and i want to run a 32bit software, in the pass, you just runsudo apt-get install ia32-libsto install the 32bit library.B...
分类:其他   时间:2014-03-29 20:19:58    收藏:0  评论:0  赞:0  阅读:384
ubuntu——主题更新,Ubuntu-tweak安装
1、首先打开终端 2、在终端中输入sudo apt-add-repository ppa:tualatrix/ppa 回车后输入密码等一会,导入密钥 3、再输入sudo apt-get update 回车再等一会,更新源信息 4、输入 sudo apt-get install Ubuntu-twea...
分类:其他   时间:2014-03-29 20:24:47    收藏:0  评论:0  赞:0  阅读:508
学习struts2笔记_1
1、 helloworld第一个struts2l 开发环境 myeclipse2013(我用的)l struts2-2.1.6开发完全包2、 步骤a) 建立第一个helloworld Web项目b) 部署tomcat服务器c) 选择自己的jred) 在struts2-2.1.6在app目录下解压一个...
分类:其他   时间:2014-03-29 20:25:44    收藏:0  评论:0  赞:0  阅读:475
Exploring Matrix
Exploring Matrix
分类:其他   时间:2014-03-29 20:27:37    收藏:0  评论:0  赞:0  阅读:508
bzoj 2809 左偏树\平衡树启发式合并
首先我们对于一颗树,要选取最多的节点使得代价和不超过m,那么我们可以对于每一个节点维护一个平衡树,平衡树维护代价以及代价的和,那么我们可以在logn的时间内求出这个子树最多选取的节点数,然后对于一个节点的平衡树我们可以由他的子节点启发式合并而来,时间复杂度nlog^2n。 这道题还可以用左偏树来解决...
分类:其他   时间:2014-03-29 20:32:24    收藏:0  评论:0  赞:0  阅读:545
Data Structure Binary Tree: Print ancestors of a given binary tree node without recursion
http://www.geeksforgeeks.org/print-ancestors-of-a-given-binary-tree-node-without-recursion/ 1 #include 2 #include 3 #include 4 #include 5 #include 6 #...
分类:其他   时间:2014-03-29 20:34:20    收藏:0  评论:0  赞:0  阅读:720
【DP-最大子串和】PAT1007. Maximum Subsequence Sum
1007. Maximum Subsequence Sum (25)时间限制400 ms内存限制32000 kB代码长度限制16000 B判题程序Standard作者CHEN, YueGiven a sequence of K integers { N1, N2, ..., NK}. A conti...
分类:其他   时间:2014-03-29 20:37:14    收藏:0  评论:0  赞:0  阅读:752
小P社交网络声势猛涨,人气直逼小P老师
据国外媒体消息,小P社交网络可以基于地理位置让用户共享各自的生活动态消息,且如今发展势头正好,已成为互联网领域的一股强大力量,不仅用户数量也在迅猛增长,也得到了越来越多的好评。更为重要的是,据社交分享服务网站ShareThis的一项研究显示,小P如今也成为了用户共享网络信息和数据的主要方式之一,甚至...
分类:其他   时间:2014-03-29 20:41:02    收藏:0  评论:0  赞:0  阅读:507
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!