一、JavaScript引入方式 1.1、Script标签内写代码 1.2、引入额外的JS文件 二、JavaScript语言规范 2.1、注释(注释是代码之母) 2.2、结束符 JavaScript中的语句要以分号(;)为结束符。 三、JavaScript语言基础 3.1、变量声明 1、JavaSc ...
分类:
编程语言 时间:
2018-10-13 02:37:07
阅读次数:
159
1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 const int maxn=1e5+7; 7 int n,fr1,fr2,tl1,tl2,ans; 8 int h[maxn],l[maxn],r[maxn],... ...
分类:
其他好文 时间:
2018-10-13 02:30:36
阅读次数:
190
Session会话 import tensorflow as tf matrix1 = tf.constant([[3,3]]) #一行两列 marix2 = tf.constant([[2],[2]]) #两行一列 product = tf.matmul(matrix1,mattix) #matr ...
分类:
其他好文 时间:
2018-10-13 02:25:29
阅读次数:
142
from selenium import webdriver chrome_options = webdriver.ChromeOptions() prefs = {"profile.managed_default_content_settings.images": 2} chrome_option ...
分类:
Web程序 时间:
2018-10-13 00:03:48
阅读次数:
820
1.从 https://pan.baidu.com/s/1yBfZFtcakbDxmyas0VCpRw 下载 DouyuRoom.zip 然后解压到一个目录,我是放在C盘根目录下的,你们随意。然后解压到当前文件夹, 2.在chrome浏览器里输入 chrome://extensions/ 打开开发者 ...
分类:
其他好文 时间:
2018-10-12 23:53:00
阅读次数:
631
题目 给定一个二叉搜索树,编写一个函数 kthSmallest 来查找其中第 k 个最小的元素。 说明: 你可以假设 k 总是有效的,1 ≤ k ≤ 二叉搜索树元素个数。 示例 1: 输入: 输出: 示例 2: 输入: 输出: 进阶: 如果二叉搜索树经常被修改(插入/删除操作)并且你需要频繁地查找第 ...
分类:
其他好文 时间:
2018-10-12 23:45:02
阅读次数:
177
连接服务器 Windows XShell XFtp SSH 1. 通过SSH来连接实验室的服务器 使用SSH连接已经不陌生了 github和OS课设都经常使用 目前使用 192.168.7.169 2. 使用工具 XShell 和 XFtp 使用XShell连接服务器以及操作,服务器每个节点上都安装 ...
分类:
其他好文 时间:
2018-10-12 23:40:54
阅读次数:
736
事件执行分捕获阶段和冒泡阶段,都可以使用 e.stopPropagation()函数去阻止事件的蔓延, 在捕获阶段阻止,后续捕获就不会被执行了,同样在冒泡阶段执行的时候,就会阻止事件的蔓延。 <!DOCTYPE html> <html lang="en"> <head> <meta charset= ...
分类:
其他好文 时间:
2018-10-12 21:15:40
阅读次数:
122
将类数组转换为数组的方法 Array.prototype.slice.call(arguments) [].slice.call(arguments) Array.from(arguments) Array.prototype.slice.call(arguments) 将类数组转换为数组的原理 关 ...
分类:
编程语言 时间:
2018-10-12 17:46:01
阅读次数:
257
具体操作如下: 第一步:先编辑好数据控制文件 xx.ctl,如test.ctl options(skip=1) --跳过第一行(看实际情况) load data infile 'C:\Users\1\Desktop\test.txt' --数据文件的路径 truncate into table te ...
分类:
数据库 时间:
2018-10-12 17:08:54
阅读次数:
181