1、 #region 程序集 System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a // C:\Program Files (x86)\Reference Assemblies\Micros ...
GayHub位置:https://github.com/ApoorvSaxena/lozad.js 导入: <script type="text/javascript" src="http://www.trancemelody.cn/bigi/js/lozad-v1.4.0.js"></script ...
分类:
Web程序 时间:
2018-05-20 00:44:37
阅读次数:
1038
#子类调用父类的方法 class Vehichle: Country='china' #名字='ales'不好这样 def __init__(self,name,speed,load,power): self.name=name self.speed=speed self.load=load sel... ...
分类:
其他好文 时间:
2018-05-19 18:48:28
阅读次数:
164
Mac 使用ab命令进行压测 1.在Mac中配置Apache ①启动Apache,打开终端 如下显示Apache的版本 这样Apache就启动了。打开Safari浏览器地址栏输入 “http://localhost”,可以看到内容为“It works!”的页面 ②设置虚拟端终机 打开Apache的配 ...
分类:
系统相关 时间:
2018-05-19 11:08:07
阅读次数:
196
1 关键是,你是要实现什么功能:是四个条件都有内容时查询,还是哪个内容有查哪个? 2 如果四个组合框都有内容,相对简单些: 3 string s = "select * from 表名 where 身份='" + comboBox1.SelectedItem.ToString() + "' and ... ...
分类:
其他好文 时间:
2018-05-19 10:34:55
阅读次数:
198
硬件:树莓派3B环境:CentOS-Userland-7-armv7hl-RaspberryPI-GNOME-1804-sda 服务端安装和配置:1.禁用并永久关闭防火墙>>systemctl disable firewalld>>systemctl stop firewalld 2.关闭selin ...
分类:
其他好文 时间:
2018-05-19 00:17:05
阅读次数:
337
如果想强制对外能访问 强制访问私有属性 私有属性 继承重构方法不能访问 父类的私有属性 ...
分类:
编程语言 时间:
2018-05-18 23:28:39
阅读次数:
277
常用的内置方法就两个 1.__str_ 改变对象的字符串显示 class Foo: def __init__(self,name): self.name = name def __repr__(self): return 'obj in str' #这里只能是return # def __str__ ...
分类:
其他好文 时间:
2018-05-18 21:21:12
阅读次数:
144