码迷,mamicode.com
首页 >  
搜索关键字:take skip    ( 2689个结果
mysql 密码找回
mysql相关:mysql--help|grepmy.cnf配置文件添加skip-grant-tables重启服务(改密码)mysqlusemysqlupdateusersetPassword=Password(‘111111‘)whereUser=‘root‘;flushprivileges;
分类:数据库   时间:2015-03-10 19:37:43    阅读次数:202
史上最傻瓜式的CentOS安装。
拿到手一张CentOS6.X的系统盘后,插入到光驱后,启动电脑会显示如下画面,选择第一项installorupgradeanexistingsystem或者选择第二项Installsystemwithbasicvideodriver(这里我选择的是第一项),然后会显示如下画面:如果你对自己的系统的来源放心,则通过→选择skip来跳过自..
分类:其他好文   时间:2015-03-10 17:29:47    阅读次数:150
poj2771 二分图的最大独立集
http://poj.org/problem?id=2771 Description Frank N. Stein is a very conservative high-school teacher. He wants to take some of his students on an excursion, but he is afraid that some of them mi...
分类:其他好文   时间:2015-03-10 17:15:41    阅读次数:122
【策略】UVa 278 - Chess
ChessAlmost everyone knows the problem of putting eight queens on anchessboard such that no Queen can take another Queen. Jan Timman (a famous Dutch c...
分类:其他好文   时间:2015-03-09 22:05:32    阅读次数:231
my.cnf
#MySQL5.5.8 [client] port=3306 socket=/opt/mysql/mysql.sock [mysqld] port=3306 socket=/opt/mysql/mysql.sock user=mysql skip-slave-start skip-name-resolve key_buffer_size=2M read_buffer_size=2M sort_buffer_size=2M #5.1.3table_cachedeprecated table_open_..
分类:其他好文   时间:2015-03-09 19:20:00    阅读次数:177
【Flume】flume中sink到source的性能测试,以Avro为例来测试
从官方下载的flume-ng的源码里有单元测试的代码,本文就通过单元测试来体验下flume中avro的性能如何 本文中的一个event的body内容大小是1KB,读者可自行组织文本,达到1KB即可,方便测试时,性能的计算 for (int i = 0; i < client.getBatchSize(); i++) { Event event = channel.take()...
分类:Web程序   时间:2015-03-09 16:16:56    阅读次数:5816
Linux下修改mysql root密码
1.修改MySQL的配置文件(默认为/etc/my.cnf),在[mysqld]下添加一行skip-grant-tables2.保存配置文件后,重启MySQL服务 service mysqld restart3.再次进入MySQL命令行 mysql -uroot -p,输入密码时直接回车,进入MyS...
分类:数据库   时间:2015-03-08 22:53:36    阅读次数:207
MYSQL 事件 engines=INNODB
如果出现“#skip-innodb”则将“#”去掉,重启MySQL;如果第一条无法解决,加上配置:default-storage-engine=InnoDB再重启MySQL。进入MYsql数据据mysql>show engines;转自百度经验:http://jingyan.baidu.com/ar...
分类:数据库   时间:2015-03-08 01:25:43    阅读次数:213
机器学习 Python实现 贝叶斯算法
[['my','dog','has','flea','problems','help','please'],    0  ['maybe','not','take','him','to','dog','park','stupid'],  1  ['my','dalmation','is','so','cute','I','love','him'],          0 ...
分类:编程语言   时间:2015-03-06 12:47:43    阅读次数:262
苹果拒绝App内部使用版本检测功能
10.6 - Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They take more work but are worth it....
分类:移动开发   时间:2015-03-06 09:36:22    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!