UNDERSTANDING THE GAUSSIAN DISTRIBUTIONRandomness is so present in our realitythat we are used to take it for granted.Most of the phenomena which surr...
分类:
其他好文 时间:
2015-09-17 21:32:12
阅读次数:
234
原文 I love travelling in the country, but I don‘t like losing my way. I went on an excursion recently, but my trip took me longer than I expected. "I‘m going to Woodford Green," I said to the cond...
分类:
其他好文 时间:
2015-09-17 13:42:40
阅读次数:
212
importnumpyasnp
#返回样本数据集
defloadDataSet():
postingList=[[‘my‘,‘dog‘,‘has‘,‘flea‘,‘problems‘,‘help‘,‘please‘],
[‘maybe‘,‘not‘,‘take‘,‘him‘,‘to‘,‘dog‘,‘park‘,‘stupid‘],
[‘my‘,‘dalmation‘,‘is‘,‘so‘,‘cute‘,‘I‘,‘love‘,‘him‘],
[‘stop‘,‘posting‘,‘stupid‘,..
分类:
编程语言 时间:
2015-09-16 01:02:17
阅读次数:
228
MySQL启动参数中有个是--skip-grant-tables,叫做跳过授权表1、停止mysqld服务2、vim/etc/my.cnf[mysqld]skip-grant-tables3、重启mysql4、进入mysql命令行mysql>usemysqlmysql>updateusersetpassword=password(‘newpassword‘)whereuser=‘root‘;mysql>flushprivileges;..
分类:
数据库 时间:
2015-09-14 12:28:00
阅读次数:
167
1、# service mysqld stop #停止mysql数据库服务Shutting down MySQL.. SUCCESS!2、# service mysqld start --skip-grant-tables #跳过授权表启动mysql数据库服务(注:参数-...
分类:
数据库 时间:
2015-09-12 14:49:16
阅读次数:
238
1、#servicemysqldstop#停止mysql数据库服务ShuttingdownMySQL..SUCCESS!2、#servicemysqldstart--skip-grant-tables#跳过授权表启动mysql数据库服务(注:参数--skip-grant-tables为跳过授权表)StartingMySQL....SUCCESS!3、#mysql-p#进入mysql数据库添加root用户并授权Enter..
分类:
数据库 时间:
2015-09-12 08:30:34
阅读次数:
325
2.10.x版本List中的take是用ListBuffer实现的。但是在2.11.x版本中不是:overridedeftake(n:Int):List[A]=if(isEmpty||n<=0)Nilelse{valh=new::(head,Nil)vart=hvarrest=tailvari=1while({if(rest.isEmpty)returnthis;i<n}){i+=1valnx=new::(rest.head,Nil)t.tl=nxt=nxre..
分类:
其他好文 时间:
2015-09-11 12:50:12
阅读次数:
120
List中的take是用ListBuffer实现的:2.10.x版本但是在2.11.x版本中不是:overridedeftake(n:Int):List[A]=if(isEmpty||n<=0)Nilelse{valh=new::(head,Nil)vart=hvarrest=tailvari=1while({if(rest.isEmpty)returnthis;i<n}){i+=1valnx=new::(rest.head,Nil)t.tl=nxt=nxre..
分类:
其他好文 时间:
2015-09-11 12:50:02
阅读次数:
116
BACKUPDATABASE[yee]TODISK=N'D:\数据库备份\yee2015.9.11.bak'WITHNAME=N'yee-备份',NOFORMAT,NOINIT,SKIP,STATS=5
分类:
数据库 时间:
2015-09-11 12:28:43
阅读次数:
187
JDK文档描述:public interface CompletionService将生产新的异步任务与使用已完成任务的结果分离开来的服务。生产者 submit 执行的任务。使用者 take 已完成的任务,并按照完成这些任务的顺序处理它们的结果。例如,CompletionService 可以用来管理...
分类:
编程语言 时间:
2015-09-10 22:33:51
阅读次数:
327