码迷,mamicode.com
首页 >  
搜索关键字:my life    ( 15847个结果
[转]android layout布局属性
参考:http://blog.csdn.net/msmile_my/article/details/9018775第一类:属性值 true或者 false android:layout_centerHrizontal水平居中 android:layout_centerVertical 垂直...
分类:移动开发   时间:2014-07-13 21:36:47    阅读次数:308
PHP里用户密码的回复和管理
1). In /etc/my.ini, addskip-grant-tables2). mysql -u root -p (no password required)mysql> show databases;+--------------------+| Database |+----------...
分类:Web程序   时间:2014-07-13 20:58:19    阅读次数:349
和我一起学python,控制语句 (life is short ,we need python)
控制语句if/elif/else if语句和一般编程语言一样,条件为true 执行 如: if true : print 'true' 0 and score90): print "your score is A" elif(score>60):...
分类:编程语言   时间:2014-07-13 09:44:41    阅读次数:233
Nginx 72万连接性能测试(一)
转自:http://my.oschina.net/chenzhuo/blog/150200?p=2#comments根据系统内存64G估算单台tengine做反向代理最高支持72万连接。为了验证达到该连接数时系统稳定运行,进行压测,先验证nginx与client建立72万连接时性能(不转发)。关闭超...
分类:其他好文   时间:2014-07-13 08:39:57    阅读次数:310
hoj 1867 经理的烦恼 树状数组
链接:http://acm.hit.edu.cn/hoj/problem/view?id=1867谁说是入门题啊,真想拍他一巴掌经理的烦恼My Tags(Edit)Source:HCPC 2005 SpringTime limit: 2 secMemory limit: 32 MSubmitted:...
分类:其他好文   时间:2014-07-13 00:20:59    阅读次数:360
全文索引搜索whoosh(2)
承接前面对whoosh的文章,继续: 写索引文件 下面开始写入索引内容,过程如下: writer = ix.writer() writer.add_document(title=u"my document", content=u"this is my document", path=u"/a", tags=u"firlst short", icon=u"/icons/star.p...
分类:其他好文   时间:2014-07-12 20:22:08    阅读次数:342
无效的指针、引用和迭代器
首先以示例代码为例: vector v; //添加一些元素 fir(int i=0; i<10; ++i) v.push_back(i); int* my_favorite_element_ptr = &v[3]; cout<<"My favorite element = "<<(*my_favorite_element_ptr)<<endl; cout<<"Its address = "...
分类:其他好文   时间:2014-07-12 18:34:32    阅读次数:250
[mysql]重装windows后恢复mysql及"Access denied for user'root'@'IP'"问题的处理
mysql数据库实际上是绿色软件,重装系统后还是可以继续使用的。 1、重装系统后保留原先的mysql安装目录和数据目录。 2、制作一个批处理文件用于启动mysql:【run.bat】该文件存放在mysql安装目录下的bin下。      mysqld.exe --defaults-file=../my-default.ini --console 3、执行run.bat即可。 ...
分类:数据库   时间:2014-07-12 17:31:54    阅读次数:300
hdu 3315 My Brute 费用流,费用最小且代价最小
很常见的想法了= =#include #include #include using namespace std;const int N=400;const int MAXE=200000;const int inf=10&&d[u]+edge[j].w=0) printf("Oh, I lose ...
分类:其他好文   时间:2014-07-12 14:33:52    阅读次数:167
Entity Framework公共的增删改方法
using System;using System.Collections.Generic;using System.Data.Entity;using System.Data.Entity.Infrastructure;namespace My{ /// Entity Framework公...
分类:其他好文   时间:2014-07-12 14:08:06    阅读次数:181
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!