list 与 tuple list 类似 数组 tuple 跟 list 一样, 只是一旦定义, 里边的内容不可以改变. 这样, 上边的内容就不可以改变了. "可变的" tuple, 不是说 tuple 是不可以改变的么? 想内存 dict 与 set dict 是 python内置字典, 其他语言 ...
分类:
编程语言 时间:
2017-01-18 13:46:15
阅读次数:
271
GetTickCount(),这个函数,在此做下整理和总结。1.定义For Release configurations, this function returns the number of milliseconds since the device booted, excluding any ...
分类:
其他好文 时间:
2017-01-18 00:54:03
阅读次数:
153
学习廖雪峰老师的Git教程的笔记,以供自己以后复习查看。 ★★★★★ 创建、合并、删除分支。 ★创建分支 git branch branchName --------创建分支 git checkout branchName -----切换到分支 上面两条命令可以合并为:git checkout -b... ...
分类:
其他好文 时间:
2017-01-18 00:41:31
阅读次数:
150
1. DISTINCT 语句(distinct) SQL SELECT DISTINCT 语句 在表中,可能会包含重复值。这并不成问题,不过,有时您也许希望仅仅列出不同(distinct)的值。 关键词 DISTINCT 用于返回唯一不同的值。 语法: SELECT DISTINCT 列名称 FRO ...
分类:
其他好文 时间:
2017-01-17 19:49:54
阅读次数:
217
问卷逻辑设置:问卷跳转和问卷展现 1.问卷展现 修改js中displayconstraint_list,displayconstraint_id_list displayconstraint_id_list 格式如下: "displayconstraint_id_list": [ "58745ada... ...
分类:
其他好文 时间:
2017-01-17 18:48:01
阅读次数:
235
Just like passing in an array to *ngFor, you can pass in any value into your structural directive so that it can render templates based on those value ...
分类:
其他好文 时间:
2017-01-16 21:00:26
阅读次数:
150
定义:一个对象应该对其他对象保持最少的了解。 问题由来:类与类之间的关系越密切,耦合度越大,当一个类发生改变时,对另一个类的影响也越大。 解决方案:尽量降低类与类之间的耦合。 自从我们接触编程开始,就知道了软件编程的总原则:低耦合、高内聚。无论是面向过程编程还是面向对象编程,只有使各个模块之间的耦合 ...
分类:
其他好文 时间:
2017-01-16 17:46:52
阅读次数:
218
一、socket 一般来说socket有一个别名也叫做套接字。 socket起源于Unix,都可以用“打 开open –> 读写write/read –> 关闭close”模式来操作。Socket就是该模式的一个实现,socket即是一种特殊的文件,一些socket函数就是对其进行的操作(读/写 I ...
分类:
系统相关 时间:
2017-01-16 15:24:48
阅读次数:
392
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer. You may assume the integer do not contain any leadin ...
分类:
其他好文 时间:
2017-01-16 09:51:39
阅读次数:
163
http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-part-two.html http://www ...
分类:
其他好文 时间:
2017-01-16 00:07:05
阅读次数:
215