config配置新建datebase.php 控制器引入use think\Db; //获取数据库实例对象 $link = Db::connect(); //用实例查询类方法 $result = $link->table('destoon_ad')->select(); //输出结果集 dump($ ...
分类:
数据库 时间:
2018-04-15 11:48:29
阅读次数:
379
//thinkphp的原生查询 $sql = "select pid,url from destoon_ad where aid>3"; $result = Db::query($sql); dump($result); 参数绑定 $sql = "select pid,url from destoo ...
分类:
数据库 时间:
2018-04-15 11:38:59
阅读次数:
1269
python 全栈开发,Day19(组合,组合实例,初识继承) 一、组合 表示的一种什么有什么的关系 先来说一下,__init__的作用 1 2 3 4 5 6 7 8 9 10 class Dog: def __init__(self, name, kind, hp, ad): self.name ...
分类:
编程语言 时间:
2018-04-12 22:34:04
阅读次数:
212
[toc] Ad Hoc 是指ansible下临时执行的一条命令,并且不需要保存的命令,对于复杂的命令会使用playbook。Ad hoc的执行依赖于模块,ansible官方提供了大量的模块。 如:command、raw、shell、file、cron等,具体可以通过ansible doc l 进行 ...
分类:
其他好文 时间:
2018-04-12 22:16:55
阅读次数:
143
#include <algorithm> algorithm头文件中主要包含的是一大堆模板函数,即STL库提供的算法,可以认为每个函数在很大程度上是独立的。提供的算法种类有: 1)adjacent_find //检测区间内第一对相等的相邻元素 template<class FwIt> FwIt ad ...
分类:
编程语言 时间:
2018-04-12 13:43:57
阅读次数:
222
1,对象的交互 人和狗大战之交互 class Person: role = 'person' def __init__(self,name,sex,hp,ad): self.name= name self.sex = sex self.hp = hp self.ad = ad def attack( ...
分类:
其他好文 时间:
2018-04-11 21:44:02
阅读次数:
212
华为AD9430DN、Press CTRL+T for Full Memory Test in 1 Seconds: 0
分类:
其他好文 时间:
2018-04-11 15:51:00
阅读次数:
517
问题今天同事的AD账号频繁被锁,在DC的日志上显示源于无线网ISE的验证失败,ISE服务器的日志显示某个IP的设备的AD密码错误。我把无线AP所在的范围,这个设备的Mac地址给同事,问题来了,他转了半个小时,愣是找不到对应的设备,也没有人报告联网不通。这个就很尴尬了~~思路怎么找到对应的设备呢,因为无线网AD验证没通过,DHCP服务器没有任何记录。很多人同时打开WiFi和有线网,也许我可以通过有线
分类:
移动开发 时间:
2018-04-10 11:41:36
阅读次数:
184
问题 B: Collatz Conjecture 题目描述 In 1978 AD the great Sir Isaac Newton, whilst proving that P is a strict superset of N P, defined the Beta Alpha Pi Zeta ...
分类:
其他好文 时间:
2018-04-09 16:21:54
阅读次数:
299
2.1 web_submit_data页面提交数据项。输入框输入。使用用户名和密码进行登录用web_submit_data()函数提交表单数据:HTTP POST 请求,最常见的参数形式; Web_submit_form差不多。1) EXTRARES:在开始录制选项中,Toos—Recording Option下—Recording选项中,有一个Ad
分类:
其他好文 时间:
2018-04-09 15:01:14
阅读次数:
696