1、ES6模块系统 1-1、export 导出 (1)、单独导出 // a.ts export let a = 1; (2)、批量导出 // a.ts let b = 2; let c = 3; export { b, c }; (3)、导出接口 // a.ts export interface I ...
分类:
Web程序 时间:
2020-02-02 00:51:38
阅读次数:
131
备份,方便出现问题时回滚 打开 修改目录下文件,直接删除替换成下面文字,或者将文件中的链接逐个替换 (!注意: 不同的发行版本对应的源代号是不一样的,修改文件时请注意核对); 如果没有vim vim全选删除: 按 进入视图模式, 进行全选, 删除 使用指令更新apt 版本号参考: 其他源 清华源 中 ...
分类:
其他好文 时间:
2020-02-01 23:44:36
阅读次数:
134
安装 1、 官网下载pycharm,我的电脑是windows版本。 也可网盘自取: 链接:https://pan.baidu.com/s/1O-2Y48EOett-SJeEBb1Okg 提取码:b4qv image.png 2.双击exe文件,安装。 image.png 点击Next,选择安装路径。 ...
分类:
其他好文 时间:
2020-02-01 23:42:18
阅读次数:
157
Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of ...
分类:
其他好文 时间:
2020-02-01 16:13:15
阅读次数:
69
C.Two ArraysYou are given two integers n and m. Calculate the number of pairs of arrays (a,b) such that: the length of both arrays is equal to m;each ...
分类:
其他好文 时间:
2020-02-01 12:45:43
阅读次数:
197
argparse 模块使用 使用步骤: 1. import argparse 2. parser=argparse.ArgumentParser() 3. parser.add_argument() 4. parser.parse_args() 说明: ArgumentParser(descript ...
分类:
其他好文 时间:
2020-01-31 22:24:58
阅读次数:
64
题目描述 给定一个二叉树和其中的一个结点,请找出中序遍历顺序的下一个结点并且返回。注意,树中的结点不仅包含左右子结点,同时包含指向父结点的指针。 1 /* 2 public class TreeLinkNode { 3 int val; 4 TreeLinkNode left = null; 5 T ...
分类:
其他好文 时间:
2020-01-31 20:48:25
阅读次数:
46
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf def linearregression(): X = tf.random_normal([100,1],mean=0.0,stddev=1.0) y ...
分类:
其他好文 时间:
2020-01-31 19:04:29
阅读次数:
75
1.HTML-CSS-JS Prettify HTML-CSSS-JS Prettify插件使用js-beautify来格式化js、html与css代码。可以在这里尝试js-beautify的效果原始代码: // This is just a sample script. Paste your re ...
分类:
Web程序 时间:
2020-01-31 14:32:26
阅读次数:
271
1、题目描述: 获取当前(to_date='9999-01-01')薪水第二多的员工的emp_no以及其对应的薪水salaryCREATE TABLE `salaries` (`emp_no` int(11) NOT NULL,`salary` int(11) NOT NULL,`from_date ...
分类:
其他好文 时间:
2020-01-30 12:50:13
阅读次数:
67