protoc 编译工具 windows 平台下载对应平台的 protobuf,并配置环境变量 protobuf linux 环境先安装依赖 sudo apt-get install autoconf automake libtool curl make g++ unzip git clone htt ...
分类:
其他好文 时间:
2021-02-27 13:31:02
阅读次数:
0
//全局安装 asar npm install asar -g //解包 asar e app.asar 文件夹 ...
分类:
其他好文 时间:
2021-02-27 13:30:05
阅读次数:
0
继承的本质是对某一批类的抽象,从面实现对现实世界更好的建模. extends的意思是"扩展".子类是父类的扩展. JAVA中类只有单继承,没有多继承! 继承是类和类之间的一种关系.除此之外,类和类之间的关系还有依赖,组合,聚合等. 继承关系的俩个类,一个为子类(派生类,),一个为父类(基类).子类继 ...
分类:
编程语言 时间:
2021-02-27 13:29:46
阅读次数:
0
2021-02-26 22:54:13.146272: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1406] Created TensorFlow device (/job:localhost/replica:0/task:0/device ...
分类:
其他好文 时间:
2021-02-27 13:21:07
阅读次数:
0
Debian9 安装iftop工具 apt-get install iftop -y 常用的参数 -h(display this message),显示参数使用信息 默认是监控第一块网卡的流量 iftop -i 指定监控的网卡eth1 iftop -i eth1 -B 以bytes为单位显示流量(默 ...
分类:
其他好文 时间:
2021-02-27 13:20:12
阅读次数:
0
1.查看所有现有环境: conda info -e conda list:查看安装了哪些包。 conda install package_name(包名):安装包 conda env list 或 conda info -e:查看当前存在哪些虚拟环境 conda update conda:检查更新当 ...
分类:
其他好文 时间:
2021-02-27 13:11:50
阅读次数:
0
1.windows下调试时需要将hadoop.dll文件放到C:\Windows\System32下,网上很多说改源码的,其实这样也是ok的,不然会报权限错误 Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache. ...
解决git clone慢 原命令:git clone https://github.com/xxx 替换为:git clone https://github.com.cnpmjs.org/xxx 解决npm install慢 换成阿里镜像源:npm config set registry https ...
分类:
其他好文 时间:
2021-02-25 12:13:34
阅读次数:
0
docker 的安装 yum update sudo yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo 安装docker: sudo yum instal ...
分类:
其他好文 时间:
2021-02-25 12:03:20
阅读次数:
0
当在终端执行sudo命令时,系统提示“hadoop is not in the sudoers file”: 其实就是没有权限进行sudo,解决方法如下(这里假设用户名是cuser): 1.切换到超级用户:$ su 2.打开/etc/sudoers文件:$vim /etc/sudoers 3.修改文 ...
分类:
其他好文 时间:
2021-02-25 11:47:06
阅读次数:
0