namespace DMS.Common{ public class MsgHelper { public static DialogResult ShowErrorMsgBox(string error) { return Messag...
分类:
其他好文 时间:
2014-07-07 23:18:17
阅读次数:
258
Problem Desciption : Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subsequence of a string is a new string which is...
分类:
其他好文 时间:
2014-07-07 19:39:07
阅读次数:
206
1.建立空工程。(取消建立工程文件夹能让项目文件和工程文件在一个目录下,工程里第一次加文件的时候就要得写上一级工程目录)2.去本地建立文件框架。如src、config、common、等。 工程目录的管理,选择工程 右键filter,在filter目录下增加文件的时候,写上filter的目录,本地就会...
分类:
其他好文 时间:
2014-07-07 19:07:50
阅读次数:
218
源自《Linux 运维之道》丁一明编著 一书的总结Samba是Linux、Unix和Windows之间交互操作,基于GPL的自由开源软件。所需软件包括:Samba(服务器端软件包)、Samba-client(客户端软件包)和Samba-common(samba公共文件软件包)。其中Samba由smb...
分类:
其他好文 时间:
2014-07-07 12:59:28
阅读次数:
241
如果在这时就进行配置安装Mono的话,会在make阶段得到一个“找不到 Microsoft.Portable.Common.targets 文件”的错误提示,所以需要先进行如下处理:#> cd (mono安装路径的前缀)/mono-3.4.0/mcs/tools/xbuild/targets#> c...
分类:
其他好文 时间:
2014-07-01 22:55:27
阅读次数:
239
Application.jsfl为程序入口,导入其他jsfl【Common.jsfl】function trace(){ fl.trace(Array.prototype.join.call(arguments, " "));}【Application.jsfl】var JSFL_PATH ...
分类:
Web程序 时间:
2014-07-01 21:48:41
阅读次数:
312
1. 经常变动的字符串要用 StringBuilder,然后每次变动用 append 方法。而不应该每次创建新的 String。2. 使用 static final 变量。3. It's reasonable to follow common object-oriented programming ...
分类:
移动开发 时间:
2014-07-01 20:10:32
阅读次数:
238
Longest Common PrefixWrite a function to find the longest common prefix string amongst an array of strings.Solution:public class Solution { public ...
分类:
其他好文 时间:
2014-06-30 12:18:25
阅读次数:
255
题目
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some...
分类:
其他好文 时间:
2014-06-30 09:36:18
阅读次数:
192
今天来说说编译hadoop源码的事情吧~
1、首先下载源码
地址:http://mirror.bit.edu.cn/apache/hadoop/common/hadoop-2.4.0/
2、加压tar包到指定文件夹:/home/hadoop/soft/hadoop
tar zxvf hadoop-2.4.0-src.tar.gz
3、Linux编译环境准备
java环境...
分类:
系统相关 时间:
2014-06-30 06:18:12
阅读次数:
379