1)修改F_mass_storage.c中fsg_common_init()的此处代码:
snprintf(common->inquiry_string, sizeof common->inquiry_string,
"%-8s%-16s%04x", cfg->vendor_name ?: "Linux",
/* Assume product name dependent on ...
分类:
移动开发 时间:
2014-12-09 10:37:29
阅读次数:
370
测试环境新装了MySQL服务器,在登陆时无法成功登陆。其提示为使用的旧的认证协议而被拒绝。其具体的错误提示为ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)。以下是关于这个问题的描述及其解决方案,供大家参考。...
分类:
其他好文 时间:
2014-12-09 09:17:48
阅读次数:
408
#define _CRT_SECURE_NO_WARNINGS#include typedef float ElementType;void Select_Sort(ElementType n[], int num);void Swap(ElementType *a, ElementType *b)...
分类:
其他好文 时间:
2014-12-08 22:59:14
阅读次数:
306
http://blog.csdn.net/marising/article/details/6409196Secure用SSH登陆服务器时,如果服务器较多,登陆一次很麻烦,所以,可以自己编写VBScript来搞定。一、Secure脚本介绍Secure是VBScript脚本,VB脚本的教程,请参考有关...
分类:
其他好文 时间:
2014-12-08 19:05:20
阅读次数:
213
#define _CRT_SECURE_NO_WARNINGS#include int Is_SXH(int num);int main(){ int in1, in2; int temp = 0; int flag = 0; while (scanf("%d %d", &in1, &in2) !=...
分类:
其他好文 时间:
2014-12-07 23:02:33
阅读次数:
156
#define _CRT_SECURE_NO_DEPRECATE /*取消scanf,printf不安全之类的错误提示*/#include #include typedef struct node{ int value; struct node* next;}listnode;listnode* ....
分类:
其他好文 时间:
2014-12-07 17:44:48
阅读次数:
160
/*杭电ACM ID:2007*/#define _CRT_SECURE_NO_WARNINGS#include int main(){ int in1, in2, out1, out2; int temp = 0, min, max; while (scanf("%d %d", &in1, &in...
分类:
其他好文 时间:
2014-12-07 17:35:18
阅读次数:
113
存储空间(StorageSpaces)一、存储空间概述可以使用存储空间技术通过将使用SATA、USB和SAS硬盘分组到存储池中来虚拟化存储,然后从存储池中的可用容量创建称为存储空间的虚拟磁盘,提供经济高效、高度可用、可伸缩以及灵活的存储解决方案。借助存储空间,Windows存储堆栈已在..
分类:
其他好文 时间:
2014-12-06 18:19:06
阅读次数:
276
一、标题:关于Cookie安全性设置的那些事副标:httponly属性和secure属性解析二、引言经常有看到XSS跨站脚本攻击窃取cookie案例,修复方案是有httponly。今天写出来倒腾下...2.1首先必须的预备cookie知识。假如你第一次认识cookie,请先阅读这篇文章:js于coo...
分类:
其他好文 时间:
2014-12-04 19:46:01
阅读次数:
211