首页 > 其他
设计模式之策略模式
UML:CashSuper(父类) /// /// 2014-05-21 /// 超市商品收费 /// public abstract class CashSuper { public abstract double AcceptCash(double...
分类:其他   时间:2014-05-26 21:25:14    收藏:0  评论:0  赞:0  阅读:368
1002 大数相加
InputThe first line of the input contains an integer T(1>4294967295,故不能用常规方法具体解决方法是,将数字利用字符串的形式表示,每个字符都是数字,1000个连续字符也没问题,再将两个不同字符串相加得到最终结果。有一次提交时,出现了“...
分类:其他   时间:2014-05-26 21:26:38    收藏:0  评论:0  赞:0  阅读:481
关于值类型与列类型不匹配,所需类型是 DataRow"的解决方案
本问转载自一棵苗
分类:其他   时间:2014-05-26 21:26:16    收藏:0  评论:0  赞:0  阅读:420
npoi实现数据导出Excel
npoi .NET第三方的Office功能组件。链接地址http://npoi.codeplex.com/引用命名空间using NPOI.HSSF.UserModel;using NPOI.HPSF;using NPOI.POIFS.FileSystem;using NPOI.SS.UserMod...
分类:其他   时间:2014-05-26 21:26:54    收藏:0  评论:0  赞:0  阅读:390
ubuntu 安装AMP环境的笔记 Prefork方式与fast-cgi方法
具体步骤如下:系统:ubuntu 8.04 的发行版本AMP with Prefork(mod-php5)一、安装APACHE2# sudoapt-getinstallapache2apache2-mpm-prefork这样APACHE部分就完成,默认目录是 /var/www二、进行PHP的环境配置...
分类:其他   时间:2014-05-26 21:28:18    收藏:0  评论:0  赞:0  阅读:558
ubuntu 上更新安装 openoffice.org3的过程
方法一:手动安装1首先在“应用成程序--添加/删除”里卸载openoffice 2.4,可能openoffice.org 2.4 Draw因为关联而无法卸载,忽略,卸载其他几项。然后在中文官方网上下载DEB安装包。2下载下来是tar.gz格式的,解压到当前文件夹(最好是文件夹名字不带汉子的,以防意外...
分类:其他   时间:2014-05-26 21:27:54    收藏:0  评论:0  赞:0  阅读:465
LeetCode Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings. 要减少比较次数。在实现过程中我的想法是,2个2个比较,那么只要遍历一次数组就好。而且,在比较过程中,以较短的那个长度作为最大比...
分类:其他   时间:2014-05-26 21:29:15    收藏:0  评论:0  赞:0  阅读:386
BFS(两个水杯转换水量)
题意:给出两个容积分别为 a 和 b 的pot,按照以下三种操作方式,求出能否在一定步数后,使者两个pot的其中一个的水量为c。1.FILL(i):将ipot倒满水。2.DROP(i):将ipot倒空水。3.POUR(i,j):将ipot的水倒到jpot上,直至要么ipot为空,要么jpot为满。思...
分类:其他   时间:2014-05-26 21:28:54    收藏:0  评论:0  赞:0  阅读:494
little eye 精简版
来源于一次聊天,一天半做完,考虑继续深做
分类:其他   时间:2014-05-26 21:29:57    收藏:0  评论:0  赞:0  阅读:313
LeetCode:Gray Code 题解
题目描述:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total n...
分类:其他   时间:2014-05-26 21:29:34    收藏:0  评论:0  赞:0  阅读:441
could not resolve placeholder
http://aoyi.iteye.com/blog/1151757要在所有load的配置文件中的所有placeholder声明中指出ignore-unresolve。
分类:其他   时间:2014-05-26 21:31:17    收藏:0  评论:0  赞:0  阅读:387
Invalid byte 3 of 3-byte UTF-8 sequence
Invalid byte 3 of 3-byte UTF-8 sequence问题的解决。
分类:其他   时间:2014-05-26 21:31:02    收藏:0  评论:0  赞:0  阅读:618
QNX FTP Servers
http://blog.csdn.net/pankul/article/details/8636481
分类:其他   时间:2014-05-26 21:32:14    收藏:0  评论:0  赞:0  阅读:366
ubuntu下 apt-get install 下载的文件存放的目录
apt-get把下载的deb包全部放在/var/cache/apt/archives下面,该目录下的文件可以删除。当然用 sudo apt-get clean 命令也可以,这个命令只会删除缓存起来的deb包,不会取消已经更新了的包
分类:其他   时间:2014-05-26 21:31:51    收藏:0  评论:0  赞:0  阅读:367
什么是白盒测试,什么是黑盒测试?
白盒测试和黑盒测试是根据对软件代码的可见性,采用的测试方法;凡是针对代码本身的测试,都可以看做是白盒测试,凡是不考虑代码如何实现,只对代码能实现的功能进行的测试都可以看作黑盒测试。black box testing focus on functional requirements,attempts ...
分类:其他   时间:2014-05-26 21:31:36    收藏:0  评论:0  赞:0  阅读:341
为EasyUI 的Tab 标签添加右键菜单
在网上看了很多demo 自己实现了一个效果如下 ps jquery1.7.2 jQuery EasyUI 1.3.6 easyui QQ群:15129679 tabs 右键菜单demo QQ:15129679 tab...
分类:其他   时间:2014-05-26 21:32:41    收藏:0  评论:0  赞:0  阅读:485
四、IP地址转换
IP地址与端口 TCP/IP(传输控制协议/网际协议)不是一个协议,而是一组协议的总称,包括IP、TCP、UDP、ICMP、ARP等。它规范了网络上的所有通信设备,尤其是一个主机与另一个主机之间的数据交换格式以及传送方式。 IP地址:是给每个连接在因特网上的主机(或路由器)分配一个在全世...
分类:其他   时间:2014-05-26 21:33:16    收藏:0  评论:0  赞:0  阅读:453
C# 内部的快速排序实现
C# 内部的快速排序实现
分类:其他   时间:2014-05-26 21:34:14    收藏:0  评论:0  赞:0  阅读:326
ubuntu中flash的中文乱码解决方法
ubuntu装好之后, 为浏览器firefox安装flash插件, 后来发现中文会变成方框。如何解决?输入:cd /etc/fonts/conf.d/为了安全,备份一下:sudo cp 49-sansserif.conf 49-sansserif.conf_backup输入如下指令:sudo ged...
分类:其他   时间:2014-05-26 21:33:53    收藏:0  评论:0  赞:0  阅读:356
test
```php<?php echo "test";```
分类:其他   时间:2014-05-26 21:33:31    收藏:0  评论:0  赞:0  阅读:389
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!