临时使用 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package 默认使用 # windows系统使用cmd快速设置 pip install pip -U # 升级pip到最新版本 pip config set glo ...
分类:
其他好文 时间:
2020-07-10 11:31:59
阅读次数:
180
一、修改源数组 以下所有方法都是在操作源数组 1.1 some()方法 根据条件修改源数组中的元素 let persons = [ {name:'langkye',age:18}, {name:'alex',age:20}, ]; persons.some((person)=>{ if(person ...
分类:
编程语言 时间:
2020-07-10 11:21:29
阅读次数:
88
Just curious where you saw error code 2 is incorrect usage of command? The documentation indicates that it's one of the following: All or some rows re ...
分类:
数据库 时间:
2020-07-09 15:00:59
阅读次数:
67
1.Cannot find module 'swiper' 我也就试了下github上的demo啊,哪错了?? 好的,再去下载swiper,轮播图能显示了 让我们再来试试下面的小点点 不管是 pagination: { el: '.swiper-pagination' } 还是 pagination ...
分类:
其他好文 时间:
2020-07-08 19:31:13
阅读次数:
118
/* 一般而言,CSS的声明语句非常简单。 */ 选择器 { 属性: 值; /* 更多属性...*/ } /* 你可以通过类名来指定它 */ .some-class { } /* 给出所有类名 */ .some-class.class2 { } /* 标签名 */ div { } /* id */ ...
分类:
Web程序 时间:
2020-07-07 17:32:41
阅读次数:
68
Given a non-negative index k where k ≤ 33, return the kth index row of the Pascal's triangle. Note that the row index starts from 0. 只额外开O(k)的空间,那就开一个 ...
分类:
其他好文 时间:
2020-07-07 15:03:33
阅读次数:
121
这里主要是有一点: 1 Math.ceil(d1) ceil 方法上有这么一段注释:If the argument value is less than zero but greater than -1.0, then the result is negative zero 如果参数小于0且大于-1 ...
分类:
其他好文 时间:
2020-07-07 13:28:09
阅读次数:
80
QUQ摸鱼几个月之后…马上就要各种比赛来了,赶紧爬起来干正事了qwq 先给出题面 Medium You should write a program to handle some operations on an initially empty array. Input Specification: ...
分类:
其他好文 时间:
2020-07-07 12:51:51
阅读次数:
72
We have a wooden plank of the length n units. Some ants are walking on the plank, each ant moves with speed 1 unit per second. Some of the ants move t ...
分类:
其他好文 时间:
2020-07-07 10:21:05
阅读次数:
78
1 标识符概念 1) Scala 对各种变量、方法、函数等命名时使用的字符序列称为标识符 2) 凡是自己可以起名字的地方都叫标识符 2 标识符的命名规则 Scala中的标识符声明,基本和Java是一致的,但是细节上会有所变化。 1) 首字符为字母,后续字符任意字母和数字,美元符号,可后接下划线_ 2 ...
分类:
其他好文 时间:
2020-07-06 21:37:40
阅读次数:
78