1.The quick brown fox jumps over a lazy dog. 那只敏捷的棕色狐狸跳过了一只懒惰的狗。 这个句子包含了英语中的26个字母。 2.Was it a bar or a bat I saw ? 我看到的是酒吧还是蝙蝠? 这是一句回文句,顺着读和倒着读是一样的。类似 ...
分类:
其他好文 时间:
2020-06-14 15:00:27
阅读次数:
74
print(' 无参函数 ') 示范一: def bar(): print('from bar') def foo(): bar() print('from foo') foo() #from bar from foo 示范二: def foo(): bar() print('from foo') ...
分类:
其他好文 时间:
2020-06-14 12:52:08
阅读次数:
50
定义仪表盘: def gauge_html(self, chart_id, title, val): gauge = Gauge( "{}-{}".format(self.dt, title), title_pos="center", width="100%", title_text_size=14 ...
分类:
其他好文 时间:
2020-06-14 10:51:47
阅读次数:
70
原型继承 function User(name,age) { this.name=name this.age=age } User.prototype.info=function(){ console.log(`my name is ${this.name}`) } const u1=new Use ...
分类:
其他好文 时间:
2020-06-13 19:48:12
阅读次数:
65
1074 Reversing Linked List (25分) Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For ex ...
分类:
其他好文 时间:
2020-06-13 00:48:49
阅读次数:
54
1。获取天气报告 如果有人告诉您从终端检查天气,您可能会看到一些无聊的数字。 curl http://wttr.in/LOCATION 该信息由名为wego的CLI应用程序提供,但如果如果您不想安装它,则cURL可以从其Web前端wttr.in获取预测。它所需要的只是您要进行预测的位置。只需输入城市 ...
分类:
Web程序 时间:
2020-06-12 20:01:17
阅读次数:
66
2009年,Node.js 项目诞生,所有模块一律为 CommonJS 格式。 时至今日,Node.js 的模块仓库 npmjs.com ,已经存放了15万个模块,其中绝大部分都是 CommonJS 格式。 这种格式的核心就是 require 语句,模块通过它加载。学习 Node.js ,必学如何使 ...
分类:
其他好文 时间:
2020-06-12 10:32:21
阅读次数:
36
所花时间(小时) 代码量(行) 博客量 10 400 2 所学知识点 echarts的Wordcloud实现词云功能,Android中Fragment界面跳转的运用 ...
分类:
其他好文 时间:
2020-06-11 19:39:38
阅读次数:
50
在Yocto目录下导入环境变量后,使用如下命令: bitbake -s | grep <pkg> 比如: % bitbake -s | grep "barebox" barebox :2017.04.0-phy3-r7.0 % bitbake -s | grep "qtbase" nativesdk ...
分类:
其他好文 时间:
2020-06-10 20:51:59
阅读次数:
103
刚添加echarts的时候: 滚动页面的时候: 1. 当时百度了很多办法有大神说是因为echarts的默认触碰值的问题 bindtouchstart="touchStart" bindtouchmove="touchMove" bindtouchend="touchEnd" 去掉这几个默认的方法就行 ...
分类:
微信 时间:
2020-06-10 13:24:08
阅读次数:
294