使用IQueryable 使用IEnumerable IQueryable接口与IEnumberable接口的区别: IEnumerable<T> 泛型类在调用自己的SKip 和 Take 等扩展方法之前数据就已经加载在本地内存里了,而IQueryable<T> 是将Skip ,take 这些方法表 ...
分类:
编程语言 时间:
2016-05-05 22:09:55
阅读次数:
450
linux下mysql忘记root密码可以跳过安全模式进入mysql修改root密码; 首先关闭mysql服务,service mysql stop 然后找到mysql的配置文件my.cnf, 在mysqld的配置下面加上:skip-grant-tables; 重启mysql服务 mysql sto ...
分类:
数据库 时间:
2016-05-04 15:46:33
阅读次数:
248
Java 6的并发编程包中的SynchronousQueue是一个没有数据缓冲的BlockingQueue,生产者线程对其的插入操作put必须等待消费者的移除操作take,反过来也一样。 不像ArrayBlockingQueue或LinkedListBlockingQueue,Synchronous ...
分类:
编程语言 时间:
2016-05-02 14:19:44
阅读次数:
331
1. get data from csv, skip header of the file. ...
分类:
编程语言 时间:
2016-05-02 08:14:55
阅读次数:
458
Rather than using Strings as the keys in a Hash, it’s better practice to use Symbols. Symbols are just like Strings except they’re faster and take up ...
分类:
其他好文 时间:
2016-04-30 15:33:16
阅读次数:
156
下面总结的知识点全是经常用的,全都是干货,好好收藏吧。/* 启动MySQL */ net start mysql /* 连接与断开服务器 */ mysql -h 地址 -P 端口 -u 用户名 -p 密码 /* 跳过权限验证登录MySQL */ mysqld --skip-grant-tables ...
分类:
数据库 时间:
2016-04-29 23:33:54
阅读次数:
354
暂停mysqlservice mysqld stop 忘记密码修改流程1,修改mysql配置文件 /etc/my.cnf,在[mysqld]下添加一行skip-grant-tables2, 重启mysql service mysqld restart3, mysql -u root -p不用输入密码 ...
分类:
数据库 时间:
2016-04-29 14:18:11
阅读次数:
508
If Typescript is the first language in which you've encountered generics, the concept can be quite difficult to understand. We skip the lecture in thi ...
分类:
其他好文 时间:
2016-04-29 07:06:47
阅读次数:
218
方案1、通过跳过授权的方式 1.修改MySQL的登录设置: 在[mysqld]的中加上:skip-grant-tables 。 2.重新启动mysqld 3.登录并修改MySQL的root密码 4.将MySQL的登录设置修改回来 将刚才在[mysqld]的段中加上的skip-grant-tables ...
分类:
数据库 时间:
2016-04-28 14:01:09
阅读次数:
323
RxJS allows you to combine streams in various ways. This lesson shows you how to take a click stream and combine it with a store stream to use a value ...
分类:
其他好文 时间:
2016-04-28 07:03:29
阅读次数:
194