面向对象七大设计原则 1、开闭原则(OCP:Open-Closed Principle) 2、里氏替换原则(LSP:Liskov Substitution Principle) 3、单一职责原则(SRP:Single responsibility principle) 4、接口隔离原则(ISP:In ...
分类:
其他好文 时间:
2017-06-28 20:40:53
阅读次数:
226
CentOS 7.0默认使用的是firewall作为防火墙,需要事先关闭。 关闭firewall: 1 2 3 systemctl stop firewalld.service systemctl disable firewalld.service systemctl mask firewalld. ...
分类:
其他好文 时间:
2017-06-27 11:29:48
阅读次数:
172
本文转载自:http://blog.csdn.net/shangyuan21/article/details/17618575 我们都知道下载Android源代码需要使用repo进行辅助下载,但是最进出现了repo无法下载的情况,包括官网给出的repo下载地址都不可以使用。造成很多同学都无法下载an ...
分类:
移动开发 时间:
2017-06-26 20:00:38
阅读次数:
253
*args和**kwargs 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 ...
分类:
编程语言 时间:
2017-06-25 23:53:01
阅读次数:
222
常用快捷键 histoty 格式: history [选项] [选项] -c 清空历史命令 -w 将缓冲的历史命令写入用户家目录下的.bash_history 查看历史命令 history 修改默认保存条数 打开 /etc/profile 可以看到,系统默认保存1000条,修改histsize值 修 ...
分类:
其他好文 时间:
2017-06-25 12:43:43
阅读次数:
149
css3+javascript实现翻页幻灯片 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 4 ...
分类:
编程语言 时间:
2017-06-24 18:27:23
阅读次数:
152
//1.template <script id="txn-details-template" type="text/html"> <!--Status 0 : Success , Status 1 : Processing , Status 2 : Rejected--> <div class="p ...
分类:
Web程序 时间:
2017-06-24 11:17:36
阅读次数:
257
对table设置css样式边框,分为几种情况:1、只对table设置边框2、对td设置边框3、对table和td技巧性设置表格边框4、对table和td设置背景,实现完美表格边框 以下DIVCSS5对以上几种实现html 表格边框样式进行讲解与案例演示。为了便于观察,divcss5均设置所有案例表格 ...
分类:
其他好文 时间:
2017-06-24 11:10:20
阅读次数:
243
何为高度自适应? 高度自适应就是高度能跟随浏览器窗口的大小改变而改变,典型的运用在一些后台界面中上面一栏高度固定用作菜单栏或导航栏,下面一栏高度自适应用于显示内容。高度自适应不像宽度自适应那样简单,在兼容浏览器方面也稍微复杂一些。 布局思路 在IE7+及chrome、firefox等浏览器中,高度自 ...
分类:
其他好文 时间:
2017-06-23 19:38:59
阅读次数:
242
[架构设计]【maven】 pom.xml内容没有错,但一直报错红叉 解决办法 ...
分类:
其他好文 时间:
2017-06-23 13:02:56
阅读次数:
146