eclipse 默认编码居然是GBK,js文件默认编码是ISO-....怎么可以这样呢?都修改成UTF8的方法:1、windows->Preferences...打开"首选项"对话框,左侧导航树,导航到general->Workspace,右侧 Text file encoding,选择Other, ...
分类:
系统相关 时间:
2017-04-02 16:23:55
阅读次数:
179
Boxes There are NN boxes, indexed by a number from 11 to NN. Each box may (or not may not) be put into other boxes. These boxes together form a tree s ...
分类:
其他好文 时间:
2017-04-02 15:04:33
阅读次数:
187
Description Assume the coasting is an infinite straight line. Land is in one side of coasting, sea in the other. Each small island is a point locating ...
分类:
编程语言 时间:
2017-04-02 14:29:23
阅读次数:
255
位于libavutil下frame.h文件中
这个结构体用来描述解码出音视频数据。
AVFrame必须使用av_frame_alloc分配()。
AVFrame必须与av_frame_free释放()...
分类:
其他好文 时间:
2017-04-01 18:33:15
阅读次数:
1232
1. 事件通过 Redis 的订阅与发布功能(pub/sub)来进行分发,故需要订 阅 __keyevent@0__:expired 通道 0表示db0 根据自己的dbindex选择合适的数字 2. 修改 redis.conf 文件 修改 notify-keyspace-events Ex 3. 重 ...
分类:
其他好文 时间:
2017-04-01 15:02:20
阅读次数:
1735
1 #include <iostream> 2 3 using namespace std; 4 5 int main() 6 { 7 int n, m, c; 8 cin >> c; 9 while(c--){ 10 cin >> n >> m; 11 if(n%(m+1)){ 12 cout < ...
分类:
其他好文 时间:
2017-04-01 13:40:55
阅读次数:
273
Mysql权限系统(由mysql权限表进行控制user和db)通过下面两个方面进行认证: 1)对于连接的用户进行身份验证,合法的通过验证,不合法的拒绝连接。 2)对于通过连接认证的用户,可以在合法的范围内对数据库进行操作。 Mysql的权限表在数据库启动时就被载入内存,当用户通过身份认证后,就可以在... ...
分类:
数据库 时间:
2017-04-01 12:34:13
阅读次数:
259
Description \(n\)个球,每组一个或者相邻的两个,求分成\(k\)组的方案数。\(n\leqslant 10^9,k<2^{15}\) Solution DP+FNT. 转移\(f[i][j]=f[i-1][j]+f[i-1][j-1]+f[i-2][j-1]\) 这个不是很好维护.. ...
分类:
数据库 时间:
2017-04-01 09:49:41
阅读次数:
325
1、最小化安装centos7操作系统 2、新增硬盘分两个分区,两个分区的文件系统依次为ext4和xfs 3、将两个文件系统分别挂在到/mnt和/opt目录 4、新增普通用户egon并采用无需重复确认的方式为该用户设定密码 5、将egon添加到/opt的属组里,保证egon能对/opt有读写权限,并且... ...
分类:
系统相关 时间:
2017-03-30 23:14:49
阅读次数:
304
本文将对微软下一代ASP.NET框架做个概括性介绍,方便大家进一步熟悉该框架。 在介绍ASP.NET Core 1.0之前有必要澄清一些产品名称及版本号。ASP.NET Core1.0是微软下一代ASP.NET 框架,在这之前ASP.NET版本稳定在ASP.NET 4.6,对应的.NET Frame ...
分类:
Web程序 时间:
2017-03-30 22:46:04
阅读次数:
239