安装squid $ sudo apt-get install squid 配置squid $ sudo vim /etc/squid/squid.conf 注释以下行: http_access deny !Safe_ports http_access deny CONNECT !SSL_ports ...
分类:
其他好文 时间:
2020-11-16 13:35:32
阅读次数:
7
import cx_Oracle conn = cx_Oracle.connect('数据库名字', '密码', '**', encoding='UTF-8') cursor = conn.cursor() number = '2020-09-08 11:29:18' cursor.execute( ...
分类:
数据库 时间:
2020-11-12 14:01:08
阅读次数:
16
今年,可能是最后一届“纯人类”参赛的IMO(国际奥数竞赛)。△参加2020年IMO的中国代表队(李金珉的官方年龄信息有误)因为在明年,AI可能也会加入这场金牌争夺战中,成为一名“种子选手”。这名潜入IMO赛事的AI名为Lean,由微软的研究人员开发。目前,他们正计划让Lean参与明年的国际奥数竞赛。也就是说,它将与世界各国的奥赛选手一起争夺IMO金牌。其实,微软研究人员让AI参加IMO的理由,原因
分类:
其他好文 时间:
2020-11-11 16:19:18
阅读次数:
8
import smtplib from email.mime.text import MIMEText from email.header import Header # 第三方 SMTP 服务 mailserver = "***" # 设置服务器 username_send = "***" # 用 ...
分类:
编程语言 时间:
2020-11-07 16:31:56
阅读次数:
21
use think\Config; $config = Config::get('database2'); //读取第二个数据库配置 $connect = Db::connect($config); //连接数据库 $data = $connect->name('admin')->find(); / ...
分类:
数据库 时间:
2020-11-07 16:21:15
阅读次数:
22
import osimport smtplibfrom email.mime.text import MIMETextfrom email.header import Headersender = ' 'receiver = 'i 'smtpObj = smtplib.SMTP()smtpObj.c ...
分类:
其他好文 时间:
2020-11-07 16:03:50
阅读次数:
15
1、connect in umi connect 可以链接不同的组件,从而在这个组件中使用其他组件的参数,常用于获取redux中存取的值。 2、withRouter in umi withRouter 通过withRouter可以轻松拿到当前页面的location,而location中的pathna ...
分类:
其他好文 时间:
2020-11-06 02:14:46
阅读次数:
22
只适用于可以Windows认证登录的instance. 主库脚本 exec sp_configure 'show advanced_options',1 reconfigure exec sp_configure 'xp_cmdshell',1 reconfigure exec sp_configu ...
分类:
其他好文 时间:
2020-11-06 02:06:51
阅读次数:
19
分享是价值的传递,喜欢就点个赞 引言 今天我们继续来深入的剖析类加载器的内容。上节课我们讲了类加载器的基本内容,没看过的小伙伴请加关注。今天我们继续。 什么是定义类加载器和初始化类加载器? 定义类加载器:假设我们的某一个类是由ExtClassLoader加载的,那么ExtClassLoader称为该 ...
分类:
其他好文 时间:
2020-11-01 10:35:29
阅读次数:
12
1.首先先成为开发者 网址:https://connect.qq.com 2.SDK下载 网址:https://wiki.connect.qq.com/sdk%E4%B8%8B%E8%BD%BD 3.执行qqConnect2.1/install目录中的index.php文件、配置如下: html: ...
分类:
其他好文 时间:
2020-10-30 12:57:35
阅读次数:
23