MySQL 是最流行的关系型数据库管理系统,由瑞典MySQL AB公司开发,目前属于Oracle公司。 MySQL所使用的SQL语言是用于访问数据库的最常用标准化语言。 MySQL由于其体积小、速度快、总体拥有成本低,尤其是开放源码这一特点,一般中小型网站的开发都选择MySQL作为网站数据库。 My ...
分类:
数据库 时间:
2018-10-12 14:57:38
阅读次数:
246
在Django项目的settings.py文件中,在最后复制粘贴如下代码: LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'handlers': { 'console':{ 'level':'DEBUG', 'class':... ...
分类:
数据库 时间:
2018-10-11 18:45:31
阅读次数:
234
The high level of English is a standard for a top student. 1. Become one of the most simple person and walk a the happiest way. The other, to fate. 2. ...
分类:
其他好文 时间:
2018-10-10 21:51:45
阅读次数:
161
sizeof()操作符检测的是系统为后面()中的类型、变量等分配的内存空间的字节数,这里()中是int,就是求系统为int类型的变量分配几个字节。 在16位int平台下是2;在32位int平台下是4;在64位int平台下是8。 与strlen区别 与strlen区别 strlen(char*)函数求 ...
分类:
其他好文 时间:
2018-10-10 21:50:51
阅读次数:
1028
在log4j2.xml加上这两个logger即可: <Logger name="org.springframework.jdbc.core" level="debug"/><Logger name="org.springframework.jdbc.core.StatementCreatorUtil ...
分类:
数据库 时间:
2018-10-10 17:12:57
阅读次数:
532
一、profile(档次)、level(水平)、tier(等级)存在的目的是为了让不同应用之间相互兼容 二、profile、level、tier之间的关系 1、档次规定了码流中使用了哪些编码工具和算法 2、水平规定了对于档次、等级所对应的解码器处理负担和存储容量参数,主要包括采样率、分辨率、码率的最 ...
分类:
其他好文 时间:
2018-10-10 14:37:04
阅读次数:
632
1.Python内置的@property装饰器就是负责把一个方法变成属性调用的 2.python问题unindent does not match any outer indentation level (1)代码前后缩进量不一致 (2)代码前后缩进符号不一致 (3)tab与space混用 3.li ...
分类:
移动开发 时间:
2018-10-09 21:46:04
阅读次数:
173
偶然在代码中发现一个接口,接口定义说是分页查询,但逻辑实现是Redis。不太理解,Redis怎么分页?后来看到一篇文章,然后了解了。 1、Zrevrange实现 通过SortedSet的zrevrange topicId (page-1)×10 (page-1)×10+perPage指令可以实现分页... ...
分类:
其他好文 时间:
2018-10-09 11:38:38
阅读次数:
128
打猝死场感觉非常作死。 A:判一下起点和终点是否在其两侧即可。 #include<iostream> #include<cstdio> #include<cmath> #include<cstdlib> #include<cstring> #include<algorithm> using name ...
分类:
其他好文 时间:
2018-10-08 13:29:57
阅读次数:
198