写在前面:echarts如果不给高度是无法显示的,这在很多场景中是非常不方便的。以下通过父div的高来计算echarts的高,以达到高度自适应的需求。 以下代码是在vue中引用echarts。 页面代码: 父div的css样式: echarts代码块: 高度计算方法chartssize(): 写在后 ...
分类:
其他好文 时间:
2019-08-26 15:31:59
阅读次数:
131
PAT A1005 Spell It Right 题目描述: Given a non-negative integer N, your task is to compute the sum of all the digits of N, and output every digit of the s ...
分类:
其他好文 时间:
2019-08-26 14:55:14
阅读次数:
59
大概在遥远的90nm之前,leakage power在library里确实是被描述成一个常值的。但从90nm开始,为了更加精确,library里的leakage power不再是个常值了,而是被模拟成一个输入状态的函数。所以基础还是library,在一个library里跟leakage相关的变量大致 ...
分类:
其他好文 时间:
2019-08-26 00:29:07
阅读次数:
300
从SQL Server 2005开始,提供了CTE(Common Table Expression,公用表表达式)的语法支持。 CTE是定义在SELECT、INSERT、UPDATE或DELETE语句中的临时命名的结果集,同时CTE也可以用在视图的定义中。 在CTE中可以包括对自身的引用,因此这种表 ...
分类:
数据库 时间:
2019-08-25 11:50:03
阅读次数:
98
source /opt/stack/devstack/openrc admin admin openstack endpoint list nova service-list nova-status upgrade check neutron agent-list systemctl status ...
分类:
其他好文 时间:
2019-08-21 00:33:03
阅读次数:
103
五大核心的总结: State 存放数据的地方 Mutations 处理state事件 Getter 计算属性 跟computed计算属性是一样的 只是computed是自己的 (Getters还接受第二个参数) Actions 和mutations一样的 都是存放事件方法,actions里面存放的是 ...
分类:
其他好文 时间:
2019-08-20 21:48:32
阅读次数:
82
参考资料: https://github.com/sagidm/s3-resizer https://aws.amazon.com/cn/blogs/compute/resize-images-on-the-fly-with-amazon-s3-aws-lambda-and-amazon-api-g ...
分类:
其他好文 时间:
2019-08-20 18:17:51
阅读次数:
379
a piece of leather or rope that is fastened to a stick, used for hitting animals or people 鞭子,皮鞭 She lashed the horses mercilessly with her long whip. ...
分类:
其他好文 时间:
2019-08-20 00:57:00
阅读次数:
74
题目链接: "UVA 811" Description Once upon a time, in a faraway land, there lived a king. This king owned a small collection of rare and valuable trees, wh ...
分类:
其他好文 时间:
2019-08-19 00:07:04
阅读次数:
92
随着业务的发展,数据量剧增,我们一些简单报表大盘类的任务,就不能简单的依赖于RDBMS了,而是依赖于数仓之类的大数据平台。 数仓有着巨量数据的存储能力,但是一般都存在一定数据延迟,所以要想完全依赖数数仓来解决实时报表问题,是困难的。 其实,所谓的实时报表,往简单了说就是: 对现在的一些数据进行加减乘 ...
分类:
其他好文 时间:
2019-08-18 11:42:09
阅读次数:
67