自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(69)
  • 资源 (2)
  • 收藏
  • 关注

转载 centOS cannot mount ntfs disk

Linux挂载移动大硬盘,比较麻烦,插上硬盘不能识别,报 mount: unknown filesystem type 'ntfs' 错误,很不爽。 这是由于Linux上无法识别NTFS格式的分区。 通过使用 ntfs-3g 来解决,以下几步解决问题: 1、下载ntfs-3g     打开ntfs-3g的下载点http://www.tuxera.com/commun

2015-07-06 14:05:54 860

转载 JSP

107. What is a JSP Page ? A Java Server Page (JSP) is a text document that contains two types of text: static data and JSP elements. Static data can be expressed in any text-based format, such as HT

2015-04-13 21:34:03 692

转载 Remote Method Invocation (RMI)

78. What is RMI ? The Java Remote Method Invocation (Java RMI) is a Java API that performs the object-oriented equivalent of remote procedure calls (RPC), with support for direct transfer of seriali

2015-04-13 21:33:21 563

转载 Servlets

91. What is a Servlet ? The servlet is a Java programming language class used to process client requests and generate dynamic web content. Servlets are mostly used to process or store data submitted

2015-04-13 21:32:52 608

转载 JDBC

72. What is JDBC ? JDBC is an abstraction layer that allows users to choose between databases. JDBC enables developers to write database applications in Java, without having to concern themselves wi

2015-04-13 21:32:01 543

转载 Java Applets & Swing

Java Applets48. What is an Applet ? A java applet is program that can be included in a HTML page and be executed in a java enabled client browser. Applets are used for creating dynamic and inter

2015-04-13 21:31:13 613

转载 Exception Handling

43. What are the two types of Exceptions in Java ? Which are the differences between them ?Java has two types of exceptions: checked exceptions and unchecked exceptions. Unchecked exceptions do not

2015-04-13 21:30:21 605

转载 Java Threads

11. What is the difference between processes and threads ? A process is an execution of a program, while a Thread is a single execution sequence within a process. A process can contain multiple thre

2015-04-13 21:29:54 573

转载 Garbage Collectors

35. What is the purpose of garbage collection in Java, and when is it used ? The purpose of garbage collection is to identify and discard those objects that are no longer needed by the application,

2015-04-13 21:29:53 516

转载 Java Collections

18. What are the basic interfaces of Java Collections Framework ? Java Collections Frameworkprovides a well designed set of interfaces and classes that support operations on a collections of objects

2015-04-13 21:29:29 717

转载 General Questions about Java

1. What is JVM ? Why is Java called the “Platform Independent Programming Language” ? A Java virtual machine (JVM) is a process virtual machine that can execute Java bytecode. Each Java source file

2015-04-13 21:28:54 612

转载 Object Oriented Programming(OOP)

Object Oriented Programming (OOP)Java is a computer programming language that is concurrent, class-based and object-oriented. The advantages of object oriented software development are shown below

2015-04-13 21:28:02 843

转载 使用正则表达式

原文链接目录跳过目录本文目标如何使用本教程正则表达式到底是什么东西?入门测试正则表达式元字符字符转义重复字符类分枝条件反义分组后向引用零宽断言负向零宽断言注释贪婪与懒惰处理选项平衡组/递归匹配还有些什么东西没提到联系作者网上的资源及本文参考文献更新纪录本文目标30分钟内让你明白正则表达式是什么,并对它有一些基本的了解,让你可以在自己的程序或网页里使用

2014-12-07 15:21:27 786

原创 IntelliJ IDEA import and reimport a project

一下是import一个Maven project的时候需要进行的配置:Maven Importing(1)Keep projects files in: 通过这一个check box来指定“项目文件”在导入之后的location。比如说,当你import一个project并希望将“.iml”文件和“.idea”文件夹导入到指定的文件夹中,而不是默认的位置。默认地,IntellJ

2014-07-15 16:40:08 10174

转载 Intellij IDEA 提交代码到远程GitHub仓库

转载地址:Intellij IDEA 提交代码到远程GitHub仓库时间:2014-02-17 13:25来源:Internet 作者:Internet 点击:1228次1.下载github for window http://go.rritw.com/windows.github.com/ 2.设置相关绑定 Settings  ——Ve

2014-07-15 15:28:02 1781

转载 【linux】提醒"libc.so.6: version `GLIBC_2.14' not found"系统的glibc版本太低

http://www.myexception.cn/linux-unix/1622052.html

2014-05-13 11:45:44 1159

原创 python-sort

>>> students = [('john', 'A', 15), ('jane', 'B', 12), ('dave', 'B', 10),]

2014-04-24 09:46:15 558

转载 Ubuntu SSH远程连接的用户帐号

2010-02-05 10:22 佚名 CSDN 字号:T | TUbuntu SSH(Secure Shell)是目前比较可靠的为远程登录会话和其他网络服务提供安全性的协议。利用Ubuntu SSH协议可以有效防止远程管理过程中的信息泄露问题。通过Ubuntu SSH,可以把所有传输的数据进行加密,也能够防止DNS欺骗和IP欺骗。AD:51CTO学院:IT精品课程

2014-04-11 20:50:59 1735

原创 git所遇问题

git一些问题(1)teisei@john:~/git/helloworld$ git push -f origin masterUsername for 'http://58.198.176.136': teiseiPassword for 'http://teisei@58.198.176.136': Total 0 (delta 0), reused 0 (delta 0)T

2014-04-11 16:56:00 1647

转载 ubuntu jdk 配置

转自:http://www.cnblogs.com/bluestorm/archive/2012/05/10/2493592.html先去 Oracle下载Linux下的JDK压缩包,我下载的是jdk-7u4-linux-i586.tar.gz文件,下好后直接解压Step1:# 将解压好的jdk1.7.0_21文件夹用最高权限复制到/usr/lib/jvm目录里sudo c

2014-04-10 12:57:27 732

原创 Sublime plugins useful for pythonor

CodeIntelAndyPythonBracketHighlighterConvert2UTF8

2014-04-04 16:31:01 601

转载 用 ElementTree 在 Python 中解析 XML

原文: http://eli.thegreenplace.net/2012/03/15/processing-xml-in-python-with-elementtree/译者: TheLover_Z当你需要解析和处理 XML 的时候,Python 表现出了它 “batteries included” 的一面。 标准库 中大量可用的模块和工具足以应对 Python 或者是 XML

2014-03-25 19:33:04 640

原创 fudanNLP-使用

中文实体抽取-fudanNLP1.input and outputA)中文分词:InputStr = "媒体计算研究所成立了, 高级数据挖掘很难。 乐phone热卖!";Dictionary = {"数据挖掘","媒体计算研究所","乐phone"};OutputStr1 = "媒体|计算|研究所|成立|了|, 高级|数据|挖掘|很|难|。|乐|phone|热卖|!";

2014-03-20 13:01:36 1878

转载 Ubuntu init启动流程分析

Ubuntu init启动流程分析  现行的 Linuxdistros主流的有两种init方式:一种是广为流传的System Vinitialization,它来源于Unix并且至今仍被各种Linuxdistros所采用;另一种是近几年提出的Upstart方式,基于事件机制,系统的所有服务,任务都是由事件驱动的。据我所知,采用后一种方式的目前有Ubuntu(6.10 and later)

2014-03-20 13:01:34 486

原创 Linux文件系统详解

/bin:存放着一百多个Linux下常用的命令、工具/dev:存放着Linux下所有的设备文件!/home:用户主目录,每建一个用户,就会在这里新建一个与用户同名的目录,给该用户一个自己的空间/lost+found:顾名思义,一些丢失的文件可能可以在这里找到/mnt:外部设备的挂接点,通常用cdrom与floppy两个子目录!它的存在简化了光盘与软盘的使用。你只需在塞入光盘后,运行:mo

2014-03-20 13:01:31 460

原创 Ubuntu下安装JDK和Tomcat

1.查询可以使用的JDK。 root@ubuntu-163jsp:/# apt-cache search jdk    libpg-java - Java database (JDBC) driver for PostgreSQL    free-java-sdk - Complete Java SDK environment consisting of free Java to

2014-03-20 13:01:29 621

原创 ubuntu下-配置和管理msyql

1. 修改mysql最大连接数:cp support-files/my-medium.cnf ./my.cnf,vimmy.cnf,增加或修改max_connections=1024  关于my.cnf:mysql按照下列顺序搜索my.cnf:/etc,mysql安装目录,安装目录下的data。/etc下的是全局设置。  2. 启动mysql:/usr/local/mysql/bin/my

2014-03-20 13:01:27 427

原创 Java技巧-日期

1.String mydate = "2013-08-29T00:00:00+08:00 ";SimpleDateFormat sdf = newSimpleDateFormat("yyyy-MM-dd");try {java.util.Date date = sdf.parse(mydate);mydate = "";mydate += 1900+date.getYear()+"-"

2014-03-20 13:01:25 510

原创 java技巧-连接数据库

1.需要下载JDBC驱动:mysql-connector-java-5.0.5.zip2.连接         //驱动程序名          String driver = "com.mysql.jdbc.Driver";          // URL指向要访问的数据库名scutcs          String url = "jdbc:mysql:

2014-03-20 13:01:23 507

原创 mysql一些命令

show create table MyTable \G;//查看详细建表,表结构。grant 权限 on 数据库.* to 用户名@登陆主机 identified by '密码';//增加新用户mysqldump --opt test>mysql.test//导出数据,即将数据库test数据库导出到mysql.test文件,后者是一个文本文件mysqlimport -u roo

2014-03-20 13:01:21 460

转载 MySQL 外键

MYSQL外键(ForeignKey)的使用在MySQL 3.23.44版本后,InnoDB引擎类型的表支持了外键约束。外键的使用条件:1.两个表必须是InnoDB表,MyISAM表暂时不支持外键(据说以后的版本有可能支持,但至少目前不支持);2.外键列必须建立了索引,MySQL4.1.2以后的版本在建立外键时会自动创建索引,但如果在较早的版本则需要显示建立; 3.外键关系的两个表

2014-03-20 13:01:18 458

转载 mySQL alter使用方法

MySQL之alter语句用法总结1:删除列ALTER TABLE 【表名字】 DROP 【列名称】2:增加列ALTER TABLE 【表名字】 ADD 【列名称】 INT NOT NULL  COMMENT'注释说明'3:修改列的类型信息ALTER TABLE 【表名字】 CHANGE 【列名称】【新列名称(这里可以用和原来列同名即可)】 BIGINT NOTNUL

2014-03-20 13:01:16 371

原创 最大流:HDU-4292(Food)

#include #include #include #define INF 0x7fffffff #define MAXN 1000 #define MAXE 200000 using namespace std; int N,F,D,Max; struct Edge { int to,next,c;}e[MAXE];i

2014-03-20 13:01:14 573

原创 最大流:HDU-4289(CONTROL)

#include  #include  #include  #define INF 0x7fffffff #define MAXV 1000 #define MAXE 20000 using namespace std; struct edge{ int to,c,next;}e[MAXE3]; int size,head[MAXV]; 

2014-03-20 13:01:11 537

原创 最大流:HDU-3572 ( Tas…

#include  #include  #include  #include  #include  #define INF 0x7fffffff using namespace std; const int MAXN = 1020; const int MAXM = MAXN*MAXN; struct edge{ i

2014-03-20 13:01:09 521

原创 循环与结构化命令

1.for循环1.1 列表for循环 格式:    for variable in{list}   do      command      command      ...   done 例1:   #!/bin/bash   for variable in 1 2 34 5   do      echo "Hello,welcome$v

2014-03-20 13:01:07 497

原创 退出、测试、判断及操作符

1、退出状态状态值 含义0 表示运行成功,程序执行未遇到任何问题1~125 表示运行失败,脚本命令、系统命令错误或参数传递错误126 找到了该命令但无法执行127 为找到要运行的命令>128 命令被系统强行结束2、测试2.1测试结构 (1)test expression (2)[ expression ]如果测试条件为真,返回0;如果为假,返回1其中expression

2014-03-20 13:01:04 699

原创 最大流:SAP+GAP模版

题目:POJ-1273最大流模板题code1:链式前向星(1)#include  #include  #include  #define MAXN 205 #define MAXM 410 #define INT_MAX 0x7fffffff using namespace std; int n,m; struct node

2014-03-20 13:01:02 1041

转载 最大流算法的选择:Dinic还…

原文地址:最大流算法的选择:Dinic还是SAP?作者:朵朵 这个是网易达人的博客上的一篇最大流算法的文章,看了觉得博主是个大牛,没法收藏,就copy到我自己这里了,肯定对我有用,希望对朋友们也有用最大流是oi中经常用到的工具之一(尤其是近几年),所以任何一个OIer必然都要背诵一个代码短、速度快、便于记忆的最大流代码。曾经某位神牛说”poj3469我试了所有最大流算法,只有

2014-03-20 13:01:00 786

原创 变量和引用

变量无类型性定义普通变量  variable=22定义环境变量  ENVVAR="this is"  export ENVVAR重要的环境变量  PWD,OLDPWD;  PATH;  HOME;  SHELL;  USER,UID;  PPID;  PS1,PS2;  IFS几个环境变量配置文件  用户根目录下 .bash_profile , .bashrc

2014-03-20 13:00:57 512

线程并发拷贝程序和实验报告

线程并发拷贝程序代码 ,实验报告,完整可运行。实现管道模拟文件拷贝。

2012-11-24

ASP.NET程序开发范例宝典

ASP.NET程序开发范例宝典的配套光盘内容,内含各种模块的代码,可直接编译运行。

2012-11-24

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除