01 2013 档案
Using the Right Comment in Java
摘要:Java provides three types of comments:Single-Line (C++-Style) CommentsThe simplest comment in Java is the single line comment. It starts with two forward slashes and continues to the end of the line. For example:Figure 1: Single-line comments// this is a single-line commentx = 1; // a single-line co
阅读全文
Android project structure in Eclipse
摘要:Android projects are the projects that eventually get built into an.apkfile that you install onto a device. They contain things such as application source code and resource files. Some are generated for you by default, while others should be created if required. The following directories and files c
阅读全文
Android中string.xml使用总结
摘要:<b></b>加粗字体 <i></i> 斜体字体 <u></u> 给字体加下划线 \n 换行 \u0020表示空格 \u2026表示省略号 使用<b>和<b>来打印出<b></b> 这样的文字;“<”表示“<”的意思; 使用textView.setText(Html.fromHtml("Hello <b>World</b>,<font size=\"3\" c...
阅读全文
android获取string.xml的值
摘要:为什么需要把应用中出现的文字单独存放在string.xml文件中呢? 一:是为了国际化,当需要国际化时,只需要再提供一个string.xml文件,把里面的汉子信息都修改为对应的语言(如,English),再运行程序时,android操作系统会根据用户手机的语言环境和国家来自动选择相应的string.xml文件,这时手机界面就会显示出英文。这样做国际化非常的方便。 二:为了减少应用的体积,降低数...
阅读全文
Android System Architecture
摘要:Linux KernelAndroid relies on Linux version 2.6 for core system services such as security, memory management, process management, network stack, and driver model. The kernel also acts as an abstraction layer between the hardware and the rest of the software stack.LibrariesAndroid includes a set of C
阅读全文
How to Create/Drop Database, Table
摘要:SHOW ALL DATABASES SHOW {DATABASES | SCHEMAS} [LIKE 'pattern' | WHERE expr]SHOW DATABASES lists the databases on the MySQL server host. CREATE DATABASECREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db...
阅读全文
mysqladmin
摘要:The mysqladmin program is used to administrate various aspects of the MySQL database server. Using it, the administrator can perform tasks such as: create and delete databases, shutdown the database s...
阅读全文
HOW to login MYSQL, Help, and Select Database
摘要:LOGIN In CMD: >>mysql.exe –uroot –p >>Enter Password: ******** >>mysql> It’s like this:mysql -uusername -ppassword –hhostAttention: There is no blank after the parameters: -u, -p, –hThe MySQL client ...
阅读全文
MySQL workbench How to create a new model
摘要:->Create new EER (Extended Entity-Relationship) Model ->Click “+” at toolbar of Physical Schemata -> Double click “Add Table” -> Edit and Add columns -> Menu[Model] —[Create Diagram from Catalog O...
阅读全文
VS2010常用快捷键
摘要:1、自动排版编辑.格式化选定内容 Ctrl + K,Ctrl + F(form)根据周围的代码行,正确缩进选定的代码行。2、注释与去掉注释功能。编辑.注释选定内容 Ctrl + K,Ctrl + C(comment) 使用编程语言的正确注释语法将代码的当前行标记为注释。 编辑.取消注释选定内容 Ctrl + K,Ctrl + U 从代码的当前行中移除注释语法。 将插入点移动到文档中的下一个大括号处。 编辑.转到大括号 Ctrl + ] 将插入点移动到文档中的下一个大括号处。 编辑.向下滚动一行 Ctrl + 向下键 将文本向下滚动一行。仅可用于文本编辑器。 编辑.向上滚...
阅读全文
C# using 实现强制资源清理
摘要:一、总述:使用using语句,定义一个范围,在范围结束时处理对象 (该对象必须实现了IDisposable接口)。其功能和try ,catch,finally完全相同。二、用法: using (Class1 c = new Class1()) { }//在范围结束时清理非托管不受GC控制的资源 其与下面的try…catch…finallya功能一样Class1 f = new Class1(); try { //执行代码 } catch() { //异常处理 } finally { f.Disposable(); }例如: using (SqlConne...
阅读全文
C# 读取 Access
摘要:通过using语句实现非GC资源的自动回收。 还需要有try…catch…之类的异常检测语句,检测file.exist。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.OleDb; using Syste...
阅读全文
XP下Android开发环境配置
摘要:1. 下载安装ecliplse2. 下载安装Android SDK3.Eclipse安装Developer Tools插件解压“eclipse-java-indigo-SR1-win32”,双击“eclipse”,进入eclipse主界面第一步:点击help->Install New SoftWare->Add按钮Name:任意字母字符Location:https://dl-ssl.google.com/android/eclipse/第二步:加载完“Developer Tools”,点击选中其。第三步:Next第五步:选中“I accept the terms of the li
阅读全文
HOW TO SOLVE "NVIDIA OPENGL DRIVER CLIENT WONT START"
摘要:name of error:NVIDIA OpenGL DriverNVIDIA display driver files from different (incompatible) versions of the driver have been detected.HOW TO SOLVE:Uninstall the NVIDIA driver and then install it again.It's easy.
阅读全文
Ubuntu 12.04 ‘can not lock /etc/shadow try again later’
摘要:I can not log with my password nor can I change my password with root.Others have met with the problem too.https://ask.fedoraproject.org/question/1518/fc16-adduser-cannot-lock-etcpasswd-try-again-laterhttp://superuser.com/questions/296373/cannot-lock-etc-passwd-try-again-laterhttps://answers.launchp
阅读全文
The Origins of Data Mining
摘要:Data mining draws upon ideas,1. sampling, estimation, and hypothesis testing from statistics;2. search algorithms, modeling techniques, and learning theories from artificial intelligence, pattern recognition, and machine learning.
阅读全文
Motivating Challenges in Data Mining
摘要:1. ScalabilityIf data mining algorithms are to handle these massive data sets, then they must be scalable.2. High DimensionalityFor some data analysis algorithms, the computational complexity increases rapidly as the dimensionality increases.3. Heterogeneous and Complex DataDealing with data with no
阅读全文
Process of knowledge discovery in databases
摘要:Data mining is an integral part of knowledge discovery in databases (KDD), which is the overal process of converting raw data into useful information.The process of knowledge discovery in databases:Input Data-> Data Preprocessing(Feature Selection, Dimensionality Reduction, Normalization, Data Su
阅读全文
Google Hacker
摘要:常用的google关键字:foo1 foo2 (也就是关联,比如搜索xx公司 xx美女)operator:foofiletype:123 类型site:foo.com 相对直接看网站更有意思,可以得到许多意外的信息intext:foointitle: fooltitle 标题哦allinurl:foo 搜索xx网站的所有相关连接。(踩点必备)links:foo 不要说就知道是它的相关链接allintilte:foo.com我们可以辅助"-" "+"来调整搜索的精确程度直接搜索密码:(引号表示为精确搜索)当然我们可以再延伸到上面的结果里进行二次搜索&quo
阅读全文
2012-2013QS计算机专业世界大学排名
摘要:排名学校学术声誉雇主声誉论文引用率总分1麻省理工学院(MIT)95.5909292.8美国2斯坦福大学91.587.796.691.9美国3卡内基-梅隆大学10079.190.891美国4美国加州大学伯克利分校(UCB)90.281.595.389.1美国5哈佛大学85.593.787.588.6美国6牛津大学85.292.588.188.3英国7剑桥大学83.391.584.386.1英国8苏黎世联邦理工学院(瑞士联邦技术研究所)82.186.489.285.5瑞士9新加坡国立大学(NUS)8094.781.584.9新加坡10普林斯顿大学7881.493.583.7美国11东京大学83.8
阅读全文
What is Data Mining
摘要:Data Mining is the process of automatically discovering useful information in large data repositories.Data Mining techniques are deployed to scour large databases in order to find novel and useful patterns that might otherwise remain unknown.
阅读全文
Data Mining Applications in Business
摘要:Data mining techniques can be used to support a wide range of business intelligence applications such ascustomer profiling, targeted marketing, workflow management, store layout, and fraud detection.It can also help retailersanswer important business questions such as"Who are the most profitabl
阅读全文
美国知名投资人愿意投资的30大创意方向
摘要:美国知名投资人愿意投资的30大创意方向 美国风险投资机构Y Combinator合伙人、知名天使投资人Paul Graham日前撰文,首次透露了Y Combinator愿意进行投资的30大创意。他的看法或许代表了硅谷风投机构的普遍看法。 1.解决版权纠纷的方法 由索尼和环球提起的音乐版权诉讼不仅给文件共享软件的发展造成障碍,也破坏了自己的业务模型。目前的局面决不是最终的解决方案。除了音乐,电影行业未来也将面临类似问题。 2.简化的浏览 在很多情况下,用户希望极度简化的互联网浏览。例如,老年人和儿童并不需要完整的互联网,他们希望的只是通信或共享照片等。数码相框和火狐浏览器体现了这样的...
阅读全文
C++函数指针与C#委托之间有何联系
摘要:C#中有一种应用方法叫做委托。其应用方式及实现功能和我们以前为大家介绍的C++函数指针有不少相同之处。在这篇文章中,我们将会针对这两种方法做一个简单的介绍,方便大家区分理解。委托和函数指针都描述了方法/函数的签名,并通过统一的接口调用不同的实现。但二者又有明显的区别,简单说来,委托对象是真正的对象,而函数指针变量只是函数的入口地址。对于高层应用来讲,委托的灵活性和适用范围更胜C++函数指针;但对于底层应用,函数指针则是不可替代的。下面分别是委托类型和函数指针类型定义的例子:delegateintFn(inta,intb)//C#委托 typedefint(*Fn)(inta,intb)//C+
阅读全文