码迷,mamicode.com
首页 >  
搜索关键字:my life    ( 15847个结果
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-16 23:07:09    阅读次数:196
mysql编码详解
在开发程序的时候,我们使用mysql数据库开发的时候,有时会碰到自己明明输入的是中文,为什么数据库中存储的就是????1、在配置Connection URL时,加上?useUnicode=true&characterEncoding=utf-82、编辑/etc/my.cnf在[mysqld]下添加d...
分类:数据库   时间:2014-07-16 23:02:33    阅读次数:265
使用C++11新特性来实现RAII进行资源管理
方法一:借助auto、decltype、unique_ptr、Lambda表达式构造 sqlite3 *db = NULL; auto deleter = [](sqlite3 *pdb){sqlite3_close(pdb);} int nRet = sqlite3_open16(L"F:\\my...
分类:编程语言   时间:2014-07-16 22:59:07    阅读次数:385
Saying Good-bye to Cambridge Again
Saying Good-bye to Cambridge Again Very quietly I take my leave,As quietly as I came here; Quietly I wave good-bye, To the rosy clouds in the wester.....
分类:其他好文   时间:2014-07-16 22:56:44    阅读次数:176
mysql5.5解压版配置
一、下载http://dev.mysql.com/downloads/mysql/ 的下面二、安装过程1、解压缩mysql-noinstall-5.0.37-win32.zip到一个目录,加入解压缩到E:\myserver目录。2、编写mysql的运行配置文件my.inimy.ini--------...
分类:数据库   时间:2014-07-16 21:08:10    阅读次数:206
Servlet返回验证码
Web.xml文件 This is the description of my J2EE component This is the display name of my J2EE component GetCheckCode GetCheckCode GetCheckCode /checkc...
分类:其他好文   时间:2014-07-16 20:39:02    阅读次数:125
shell中的${},##和%%的使用
假设我们定义了一个变量为:file=/dir1/dir2/dir3/my.file.txt可以用${ }分别替换得到不同的值:${file#*/}:删掉第一个/及其左边的字符串:dir1/dir2/dir3/my.file.txt${file##*/}:删掉最后一个/ 及其左边的字符串:my.fil...
分类:其他好文   时间:2014-07-16 20:02:32    阅读次数:175
修改MYSQL最大连接数的2种方法
mysql默认最大连接数是100,增加加默认MYSQL连接数的方法有两个方法一:进入MYSQL安装目录 打开MYSQL配置文件 my.ini(windows) 或 my.cnf(linux环境)查找 max_connections=100 修改为 max_connections=1000 服务里重起...
分类:数据库   时间:2014-07-13 12:33:19    阅读次数:241
HF-DP1: strategy pattern
This is the 1st pattern I study. In here, I will mark down my doubts, java study, DESIGN PRINCIPLES, DESIGN PATTERN. There are 3 design principles in ...
分类:其他好文   时间:2014-07-13 10:51:33    阅读次数:229
CTCI 3.3
Imagine a (literal) stack of plates. If the stack gets too high, it might topple. Therefore, in real life, we would likely start a new stack when the ...
分类:其他好文   时间:2014-07-12 08:24:00    阅读次数:258
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!