""" The Zen of Python Python之禅 Beautiful is better than ugly. 优美胜于丑陋。【Python以编写优美的代码为目标】 Explicit is better than implicit. 明了胜于晦涩。【优美的代码应当是明了的,命名规范,风格... ...
分类:
编程语言 时间:
2019-01-30 18:41:44
阅读次数:
196
What is Docker? Docker to run and manage apps side-by-side in isolated containers to get better compute density. Using containers, everything required ...
分类:
其他好文 时间:
2019-01-29 23:09:19
阅读次数:
597
如题,博主正在翻译一本Python相关的书。 图为Python作者。 [美]Brett Slatkin的名作。 Effective Python: 59 Specific Ways to Write Better Python. 翻译版本试读链接,https://www.gitbook.com/bo ...
分类:
编程语言 时间:
2019-01-26 15:27:34
阅读次数:
280
"TPO 18 C1 Apply for a part time job on campus" 第 1 段 1.Listen to a conversation between a student and an administrator in the university employment o ...
分类:
移动开发 时间:
2019-01-18 13:58:10
阅读次数:
350
目录:https://www.cnblogs.com/liqingwen/p/10261436.html 包含数字的字符可以使用 char.GetNumericValue 方法转换为数字(双精度浮点型)。 代码如下: 输出值:5 那么,为什么当一个 char ,并且只能为单字符时,GetNumeri ...
分类:
其他好文 时间:
2019-01-15 00:55:52
阅读次数:
204
【译】《C# 小技巧 -- 编写更优雅的 C#》原书名《C# Tips -- Write Better C#》 目录 介绍(Introduction) 第一部分:各种小技巧(Part 1: Assorted Tips) 使用 LINQ 合并 IEnumerable 序列(Merging IEnume ...
格式:let obj = new BScroll(object,{[option1,]}); Options 参数 startX: 0 开始的X轴位置 startY: 0 开始的Y轴位置 scrollY: true 滚动方向为 Y 轴 scrollX: true 滚动方向为 X 轴 click: t ...
分类:
其他好文 时间:
2019-01-09 23:35:52
阅读次数:
2074
这篇文章简单分析一下 蓝牙音箱配对流程.现在的音箱基本都支持security simple pairing.所以这里的流程基本上就是ssp的代码流程. 源码参考的是 Android 6.0 上面的bluedroid.这里先介绍一些bluedroid定义的概率. 首先介绍一下 配对的几个状态:pair ...
分类:
其他好文 时间:
2019-01-09 00:30:06
阅读次数:
584
目录 移动端适配,引入lib-flexible,vue开发中将px转化为rem svg在vue里面的使用,封装一个svg组件 vant ui 在vue中的安装和使用 better-scroll在vue中的使用 ...
分类:
其他好文 时间:
2019-01-08 00:19:55
阅读次数:
179
转自:玩转Google开源C++单元测试框架Google Test系列(gtest)之七 - 深入解析gtest 一、前言 “深入解析”对我来说的确有些难度,所以我尽量将我学习到和观察到的gtest内部实现介绍给大家。本文算是抛砖引玉吧,只能是对gtest的整体结构的一些介绍,想要了解更多细节最好的 ...
分类:
其他好文 时间:
2019-01-06 20:02:26
阅读次数:
214