Shell简单例子 查看当前工作路径并列出当前所有的文件和属性 [xiao@yang play]$ touch example.sh [xiao@yang play]$ vim example.sh [xiao@yang play]$ bash example.sh /home/xiao/Deskt ...
分类:
系统相关 时间:
2021-01-14 11:02:22
阅读次数:
0
sudo apt-get update sudo apt-get install python3-dev # 装talib前要先装numpy python3.6 -m pip install numpy -i https://pypi.doubanio.com/simple wget http:// ...
分类:
系统相关 时间:
2021-01-14 10:54:36
阅读次数:
0
SAX是一个用于处理XML事件驱动的“推”模型,虽然它不是W3C标准,但它却是一个得到了广泛认可的API。本文主要介绍Java SAX方式处理XML,文中所使用到的软件版本:Java 1.8.0_191。 1、SAX简介 SAX的全称是Simple APIs for XML,也即XML简单应用程序接 ...
分类:
编程语言 时间:
2021-01-14 10:53:27
阅读次数:
0
Windows: 在 C:\Users\用户名 下面新建一个pip目录,在该目录下面新增 pip.ini 文件,文件的内容如下 Linux: vim ~/.pip/pip.conf [global] index-url = http://mirrors.aliyun.com/pypi/simple/ ...
分类:
其他好文 时间:
2021-01-14 10:43:31
阅读次数:
0
题目描述 Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that eac ...
分类:
其他好文 时间:
2021-01-13 11:07:09
阅读次数:
0
问题: 给定一个由0~9组成的字符串,判断该字符串是否为一个可加字符串。 可加字符串:对字符串进行切分后,各切片构成的数字,除了前两个数字外,之后的数字都等于前两个之和。 ?? 注意:每个切片数字若不等于0,则不能以'0'开头。 Example 1: Input: "112358" Output: ...
分类:
其他好文 时间:
2021-01-13 11:01:24
阅读次数:
0
272. 爬楼梯 II 中文English 一个小孩爬一个 n 层台阶的楼梯。他可以每次跳 1 步, 2 步 或者 3 步。实现一个方法来统计总共有多少种不同的方式爬到最顶层的台阶。 样例 Example 1: Input: 3 Output: 4 Explanation: 1 + 1 + 1 = ...
分类:
其他好文 时间:
2021-01-13 10:36:17
阅读次数:
0
J.U.C是java.util.concurrent的简写,里面提供了很多线程安全的集合。 CopyOnWriteArrayList介绍 CopyOnWriteArrayList相比于ArrayList是线程安全的,字面意思是写操作时复制。CopyOnWriteArrayList使用写操作时复制技术 ...
分类:
编程语言 时间:
2021-01-12 11:22:27
阅读次数:
0
Given n, how many structurally unique BST's (binary search trees) that store values 1 ... n? Example: Input: 3 Output: 5 Explanation: Given n = 3, the ...
分类:
其他好文 时间:
2021-01-12 11:12:21
阅读次数:
0
1.创建包和类 package com.example.HelloWorld; public class HelloWorld 2.运行方法 3.打jar包 File | Project Settings | Artifacts 选择主类 OK | OK 4.build artifacts buil ...
分类:
编程语言 时间:
2021-01-12 11:07:35
阅读次数:
0