码迷,mamicode.com
首页 >  
搜索关键字:cannot change versio    ( 12239个结果
单一职责原则
什么是单一职责原则? 单一职责原则的英文名称是Single Responsibility Principle,简称是SRP。SRP原则的解释是:There should never be more than one reason for a class to change。定义很简单,即不能存在多....
分类:其他好文   时间:2014-06-12 15:29:46    阅读次数:202
C++学习笔记:不用sizeof判断int类型占用几个字节
#include #include char *change(int val, int base, char *retbuf){ static const char *str = "0123456789ABCDEF"; char *p; char buf[15]; p = b...
分类:编程语言   时间:2014-06-12 10:09:57    阅读次数:356
linux下修改文件的用户组chgrp和文件所有者chown
1. linux下修改文件用户组 chgrp: change group的简写,修改文件所属的用户组。 linux下修改文件所有者 chown :change owner的简写, 修改文件的所有者。...
分类:系统相关   时间:2014-06-11 00:51:47    阅读次数:336
关于“Some characters cannot be mapped using "GB2312" character encoding. ”的问题
今天在做项目时,遇到了一个问题。因为是在别人做好的基础上改东西,所以,一些东西不能按照自己的变成习惯来。就比如,我创建项目习惯刚建完就设置字符的编码集为UTF-8,而人家的项目就未必是那样了。好了,废话不多了。问题如下:一个jsp页面(里面有Java代码)的编码集为GB2312,而我修改里面东西时死活不让我保存,一保存就提示“Some characters cannot be mapped usi...
分类:移动开发   时间:2014-06-10 19:26:26    阅读次数:538
cannot find -lnl
问题: cannot find -lnlcollect2: error: ld returned 1 exit statusmake: *** [wpa_supplicant] 错误 1解决方法:[fulinux@ubuntu wpa_supplicant]$ sudo apt-get install libnl-dev libssl-dev...
分类:其他好文   时间:2014-06-10 13:35:36    阅读次数:262
pt-online-schema-change VS oak-online-alter-table
前言在上篇文章中提到了MySQL 5.6 Online DDL,如果是MySQL 5.5的版本在DDL方面是要付出代价的,虽然已经有了Fast index Creation,但是在添加字段还是会锁表的,而且在添加删除辅助索引是会加S锁,也就是无法进行写操作。所以,这里就有相关工具的出现,那就是pt-...
分类:其他好文   时间:2014-06-10 11:32:56    阅读次数:323
C#邮件接收系统核心代码(接收POP3邮件IMAP邮件)
/* * Created by SharpDevelop. * User: Administrator * Date: 2013/11/18 * Time: 20:55 * * To change this template use Tools | Options | Coding | Edit Standard Headers. */ using System; using Sy...
分类:其他好文   时间:2014-06-10 11:19:19    阅读次数:1209
Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not
我手动配置hibernate4.3.4,测试的时候出现: Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set 我是按照官方文档配置的,但是官方文档的代码好像有点问题 这是官方文档里面的那个工具类的部分代码:return new Confi...
分类:系统相关   时间:2014-06-10 07:26:34    阅读次数:371
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!