自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 亂碼

jdbc:mysql://localhost:3307/crawlerid3366db?useUnicode=true&characterEncoding=gb2312 插入 Database , 解亂碼要加 characterEncoding=gb2312

2016-07-22 11:39:10 340

原创 更改在 Ubuntu 的 Mysql 密碼

更改在 Ubuntu 的 Mysql 密碼 >>sudo killall mysqld >>sudo  mysqld -u root --skip-grant-tables & >> mysql Mysql interface: >use mysql >UPDATE user SET password=password('new pass

2016-05-19 09:57:07 194

原创 Servlet Error

When a following error comes out, it means that your servlet path is not unique. org.glassfish.jersey.server.model.ModelValidationException: Validation of the application resource model has failed du

2016-05-13 18:09:45 723

原创 NLP's score meaning

2016-05-03 18:44:41 361

原创 Jersey REST Service Error

當用Jersey時遇上  HTTP Status 500 - Servlet.init() for servlet Jersey REST Service threw exception, 有機會是出於 JAX-RS 1 and JAX-RS 2 jar 都在參考位置, 要在pom.xml 加一些排除。 錯誤類型: HTTP Status 500 - Servlet.init() fo

2016-04-29 10:48:04 4157

原创 The meaning of static keywords

The meaning of static keywords is limited to that class, all objects created shared the same content    Understanding Class Members In this section, we discuss the use of the static keyword

2016-04-28 10:57:30 304

转载 limit

sql = "SELECT id, document_id  FROM raw_documents " + "LIMIT "  + Integer.toString(limit) + "," + Integer.toString(number);   // WHERE timestamp = '2016-04-13 15:16:03' 大意地把limit旁的空白位置忘記添加, 要注意

2016-04-15 18:29:39 232

原创 Flow chart drawing

https://www.edrawsoft.com/ 按下CTRL 選擇 Multiple Arrow connection

2016-04-13 16:44:40 239

转载 在Ubuntu下安装Python

在Ubuntu下安装Python模块通常可以使用apt-get和pip命令。apt-get命令是Ubuntu自带的包管理命令,而pip则是Python安装扩展模块的工具,通常pip会下载扩展模块的源代码并编译安装。 Ubuntu 12.04中缺省安装了Python2.7.3,首先通过下面的命令安装pip,pip是Python的一个安装和管理扩展库的工具。 sudo apt-get

2016-04-13 15:36:00 572

转载 SingleOrDefault

Whenever you use SingleOrDefault, you clearly state that the query should result in at most asingle result. On the other hand, when FirstOrDefault is used, the query can return any amount of resul

2016-02-16 16:45:30 625

转载 CInt

Use the CInt function to provide conversions from any other data type to an Integer subtype

2016-02-15 14:39:34 339

转载 条件编译 #If...Then...#Else

条件编译指令,以下内容摘自MSDN #If...Then...#Else 指令        条件编译已选择的 Visual Basic 代码块。 语法 #If expression Then statements [#ElseIf expression-n Then [elseifstatements]] [#Else [elsestateme

2016-02-15 12:23:02 850

转载 Vb.net 的 OrElse

现在终于明白,他们之间还是有很大区别的: AndAlso,OrElse相对于and,or最大的特性是会自动实现“最短路径”。 所谓“最短路径”就是指:当第一个被比较的运算式的结果已经能决定运算的最终结果时,就不会再去比较其他运算式,因此可以避免掉额外且不需要的比较运算式。 举个很简单的例子说明下:    1        Dim a As Int16 = 1  2   

2016-02-15 12:13:39 1754

空空如也

空空如也

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

TA关注的人

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