将类似于 git clone https://github.com/graykode/nlp-tutorial 的命令改成 https://github.com.cnpmjs.org/graykode/nlp-tutorial 这样的,就可以了 ...
分类:
其他好文 时间:
2021-02-19 13:12:05
阅读次数:
0
命令行参数 有时候你希望运行一个程序的时候再给它传递消息。这要考传递命令行参数给main()函数实现。 public class CommandLine{ public static void main (String args[]){ for(int = 0 ;i < args.length;i+ ...
分类:
其他好文 时间:
2021-02-19 13:09:28
阅读次数:
0
mongo中update_one与find_one_update异同 在使用mongo时,想要更新一个文档的数据时,有update_one与find_one_update两种方法可供使用。 共同点 两个方法的传入参数都差不多,主要参数都是filter,update,upsert。两个方法都是用于更新 ...
分类:
其他好文 时间:
2021-02-19 13:09:10
阅读次数:
0
一、String类的常用方法 返回当前字符串中给定位置的字符: char charAt(int index) 返回给定字符串在当前字符串中的位置: int indexOf(String str) 返回当前字符串的长度: int length() 判断当前字符串是以指定字符开始或结束的: boolea ...
分类:
其他好文 时间:
2021-02-18 13:42:38
阅读次数:
0
组合求和( Combination Sum) 1. 题目描述 Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of ...
分类:
编程语言 时间:
2021-02-18 13:37:18
阅读次数:
0
遇到两个报错: 第一个权限问题报错,好解决 startForeground requires android.permission.FOREGROUND_SERVICE Manifest给下权限就行 <manifest ...> ... <uses-permission android:name=" ...
分类:
移动开发 时间:
2021-02-18 13:21:34
阅读次数:
0
###about 将平日里遇到的一些实用、有意思的python代码收集起来,以备后用 ####python案例 # ex_1.py # 生成随机字符 import random, string def GenPassword(length): numOfNum = random.randint(1, ...
分类:
编程语言 时间:
2021-02-18 13:14:12
阅读次数:
0
1. 题目描述 Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. 2. Examples 示例1: Input ...
分类:
编程语言 时间:
2021-02-18 13:07:50
阅读次数:
0
常用环境配置 要清理磁盘空间可以看这个文章:https://www.linuxprobe.com/disk-release.html 最简单的安装,结束以后先换源 apt install build-essential gcc make perl dkms # 之后安装vbox增强功能 # 基本工具 ...
分类:
系统相关 时间:
2021-02-17 15:13:48
阅读次数:
0
浅拷贝就是生成一个新的 内存空间,把已有的赋值到新的里面去,例如: let a = {} let b = {A:'xin'} 然后循环的把b里面的内容一个在a中产生 深拷贝:let b = {A:'xin',b:[60, 70]} 由于浅拷贝只是把key的值赋值过去,但是如果b是数组或者还是一个对象 ...
分类:
其他好文 时间:
2021-02-17 14:51:05
阅读次数:
0