客户提供了MySQL的环境,但是不支持中文, 通过以下命令查看了MySQL的字符集 连接上 mysql 服务,输入以下命令 mysql> show variables like 'character_set%'; 显示如下: 为了让 MySQL 支持中文,需要把字符集改变成 UTF8, 方法如下: ...
分类:
数据库 时间:
2018-06-24 00:38:29
阅读次数:
188
详解 文档 Swift - RxSwift的使用详解1(基本介绍、安装配置) Swift - RxSwift的使用详解2(响应式编程与传统式编程的比较样例) Swift - RxSwift的使用详解3(Observable介绍、创建可观察序列) Swift - RxSwift的使用详解4(Obser ...
分类:
编程语言 时间:
2018-06-23 22:35:02
阅读次数:
203
1.http请求中产生的两个核心对象:http请求:HttpRequesthttp响应:HttpResponse存在于Django.http 模块中2.HttpRequest:属性:HttpRequest.scheme #一个字符串,表示请求的方案(通常是http或者https) HttpReque... ...
分类:
其他好文 时间:
2018-06-23 17:18:44
阅读次数:
348
Hiding variable and function names with static C programmers use the static attribute to hide variable and function declarations inside modules, much ...
分类:
其他好文 时间:
2018-06-23 13:24:31
阅读次数:
171
使用tensorflow进行简单的线性回归 标签(空格分隔): tensorflow 数据准备 使用np.random.uniform()生成x方向的数据 使用np.random.uniform()生成bias数据 直线方程为y=0.1x + 0.2 使用梯度下降算法 代码 结果汇总: ...
分类:
其他好文 时间:
2018-06-22 01:05:52
阅读次数:
140
今天第一次认真学习eclipse的使用,看到自定义文档签名,步骤如下: 1.点击window->preferences->java->Code Style->Code Templates->Code->New java files->Edit进行编辑; 2.可参考Insert Variable中的内 ...
分类:
系统相关 时间:
2018-06-21 11:38:04
阅读次数:
161
MySQL的性能指标计算和优化方法1 QPS计算(每秒查询数) 针对MyISAM引擎为主的DB mysql> show global status like 'questions';+ + +| Variable_name | Value |+ + +| Questions | 2805815665 ...
分类:
数据库 时间:
2018-06-20 21:05:46
阅读次数:
173
自动补全的变量的类别p:parameter 参数m:method 方法(类实例方法)调用方式classA aa.method()或者classA().method()c:class 类v:variable 变量f:function 函数(类函数)调用方法classA.fuction() ...
分类:
编程语言 时间:
2018-06-20 18:34:18
阅读次数:
129
configure: error: invalid variable name: `-prefix'其实就是写法的问题 正确写法 ...
分类:
其他好文 时间:
2018-06-19 21:25:39
阅读次数:
326
Centos7 下载地址: http://101.110.118.47/isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7-x86_64-DVD-1611.iso 1. 挂载U盘 第一步,先插入U盘,打开终端使用下面的命令查看U盘是否已经moun ...
分类:
系统相关 时间:
2018-06-19 18:56:46
阅读次数:
188