1、LIMIT 语句 分页查询是最常用的场景之一,但也通常也是最容易出问题的地方。比如对于下面简单的语句,一般 DBA 想到的办法是在 type, name, create_time 字段上加组合索引。这样条件排序都能有效的利用到索引,性能迅速提升。 SELECT FROM operation WH ...
分类:
数据库 时间:
2019-11-04 21:29:23
阅读次数:
96
ES6 简介 介绍: ES2015年推出的JavaScript 新版本也叫 ES2015 现在已经有ES7(2016)、ES8(2017)、ES9(2018)很多新增内容仍是提案 普遍使用的依然是ES6、ES7 部分内容 ES7及后面版本浏览器或 node环境未完全支持,但已有babel 工具可对其 ...
分类:
其他好文 时间:
2019-11-03 23:51:39
阅读次数:
133
抄自:https://www.jianshu.com/p/4945d9cf14e5 一、常见class关键词 布局类:header, footer, container, main, content, aside, page, section 包裹类:wrap, inner 区块类:region, ...
分类:
其他好文 时间:
2019-11-03 12:59:04
阅读次数:
123
题目描述 Farmer John's NN cows are standing in a row, as they have a tendency to do from time to time. Each cow is labeled with a distinct integer ID numb ...
分类:
其他好文 时间:
2019-11-02 14:11:59
阅读次数:
82
#_author:Xing#date:2019/11/2# 装饰器(函数)# 1.作用域:L_E_G_B# 2.高阶函数# (1)函数名可以作为参数输入# (2)函数名可以作为返回值# 3.闭包# 关于闭包:闭包=内部函数+定义函数时的环境def outer(): x=10 def inner(): ...
分类:
其他好文 时间:
2019-11-02 14:10:51
阅读次数:
84
#_author:Administrator#date:2019/11/2#优化#先把展示时间的函数加载进内存import timedef show_time(f): def inner(): start=time.time() f() end=time.time() print('spend ti ...
分类:
其他好文 时间:
2019-11-02 13:32:04
阅读次数:
85
<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>FontAwesome动态旋转图标</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax... ...
分类:
其他好文 时间:
2019-10-31 16:40:57
阅读次数:
376
sql的left join 、right join 、inner join之间的区别 ...
分类:
数据库 时间:
2019-10-31 13:29:41
阅读次数:
89
Linux 系统定时任务:crontab,anacron 一、Cron 服务 1. 启动服务 service cron start 2. 关闭服务 service cron stop 3. 重启服务 service cron restart 4. 重新载入配置 service cron reload ...
分类:
系统相关 时间:
2019-10-30 13:27:51
阅读次数:
100
为什么redis 是单线程的? https://cloud.tencent.com/developer/article/1120615 云服务器企业新用户优先购,享双11同等价格 立即抢购 云服务器企业新用户优先购,享双11同等价格 立即抢购 云服务器企业新用户优先购,享双11同等价格 立即抢购 云 ...
分类:
编程语言 时间:
2019-10-27 23:16:01
阅读次数:
173