我们下载python的库一般会使用pip工具。但在下载的过程中经常会timeout,这是因为资源在国外,我们国内某些资源下载速度特别慢,我比较常用且有效的方法是: 使用国内镜像:使用方法如下(超级简单) # 直接在后面添加 -i "https://pypi.doubanio.com/simple/" ...
分类:
其他好文 时间:
2020-10-29 09:43:12
阅读次数:
17
Dapper - a simple object mapper for .Net Dapper是.NET下一个micro ORM,它和Entity Framework或Nhibnate不同,属于轻量级的,并且是半自动的,也就是说实体类都要自己写。 下载地址:https://github.com/St ...
分类:
移动开发 时间:
2020-10-29 09:39:30
阅读次数:
36
配置集群 配置yarn-env.sh Linux系统中获取JDK的安装路径 [xiaoran@hadoop101 hadoop-2.7.2]$ echo $JAVA_HOME /opt/module/jdk1.8.0_144 修改JAVA_HOME路径 [xiaoran@hadoop101 hado ...
分类:
其他好文 时间:
2020-10-27 11:36:17
阅读次数:
28
以下操作在maven正确安装前提下进行 1、在eclipse中配置maven Perferences——>Maven——>User Settings,进行如下配置 2、创建Maven web项目 a、找到maven project b、勾选simple-project 3、填写项目相关信息 需要注意 ...
分类:
Web程序 时间:
2020-10-26 11:25:31
阅读次数:
42
题目介绍 给定正整数n,利用1到n构造所有可能的二叉树,并返回。 Example: Input: 3 Output: [ [1,null,3,2], [3,2,null,1], [3,1,null,null,2], [2,1,3], [1,null,2,null,3] ] Explanation: ...
分类:
其他好文 时间:
2020-10-26 11:19:06
阅读次数:
17
题目介绍 给定二叉树,将其原地变成一个链表。 Example: 1 / \ 2 5 / \ \ 3 4 6 1 \ 2 \ 3 \ 4 \ 5 \ 6 Solutions 直观解法 发现链表的结果与先序遍历一致,因此先进行先序遍历,再根据遍历的结果构造链表。 # Definition for a b ...
分类:
其他好文 时间:
2020-10-26 11:17:57
阅读次数:
15
1 # -*- coding:utf-8 -*- 2 3 import cv2 4 import os 5 6 7 images = 'D:\\sunway-AI\\Video_Frame\\' 8 if not os.path.exists(images): 9 os.mkdir(images) ...
分类:
其他好文 时间:
2020-10-18 16:41:48
阅读次数:
17
原文链接:https://sites.google.com/site/gsucomputergraphics/educational/advanced-texture-mapping/projective-texture-mapping Example 此示例演示了投影纹理贴图,这是阴影贴图,光照贴 ...
分类:
移动开发 时间:
2020-10-18 16:27:59
阅读次数:
29
In Kotlin, there is no static methods, but we can use companion object which works the same as static methods. For example, a class: package com.rsk i ...
分类:
其他好文 时间:
2020-10-16 10:59:03
阅读次数:
22
FIFO library The FIFO library provides a simple circular buffer implementation for storing bytes. The FIFO uses the size and buffer memory provided by ...
分类:
其他好文 时间:
2020-10-12 20:40:45
阅读次数:
29