// 双指针 var findContinuousSequence = function(target) { let res = [] let left = 1 let right = 2 while (left < right) { let sum = (left + right) * (righ ...
分类:
Web程序 时间:
2020-10-10 17:08:08
阅读次数:
18
操作 添加 /etc/docker/env 文件 export HTTP_PROXY=127.0.0.1:8899 编辑 /etc/init/pkg-Docker-dockerd.conf 文件 exec /var/packages/Docker/target/usr/bin/dockerd --c ...
分类:
Web程序 时间:
2020-10-09 21:38:29
阅读次数:
47
概述 今天我无意中看到了只执行一次事件的简便方法,记录下来,供以后工作时参考,相信对其他人也有用。 一般方法 先来回顾一下一般方法: const $once = function (target, event, fn) { const that = this; function newFn (... ...
分类:
其他好文 时间:
2020-10-09 20:41:01
阅读次数:
20
首先告诉你的是计算机高级编程语言都是相似想通的,会了一门学习另一门会很快很容易。 一般来说,计算机相关专业,都会开设C语言课程,这门课程相比较而言入门简单些,刚开始编出来的程序都是黑框框,因为它基础,简单,所以被大部分学校选为计算机基础课程,你可以提前了解和学习下。 万事开头难,所有的人学编程刚开始 ...
分类:
其他好文 时间:
2020-10-08 19:44:23
阅读次数:
22
实例环境:Centos 7.x 服务端的操作 1、这里我们使用epe源进行安装,需要打开自带的Base仓库 yum install epel-release -y yum install ansible -y 2、 ...
分类:
其他好文 时间:
2020-10-08 19:44:06
阅读次数:
27
参考资料: https://osxdaily.com/2019/02/13/fix-app-damaged-cant-be-opened-trash-error-mac/ 在外网上下了个app,但是打不开,显示的是如下的图片:(参考资料里找的,不过字是一样的) 解决方法文章里列了四条,但是前三条是给 ...
分类:
移动开发 时间:
2020-10-08 19:24:05
阅读次数:
21
步骤1.首先,让我们首先确保您的系统是最新的。sudo dnf clean allsudo dnf updatesudo dnf install git zlib-devel libuuid-devel libmnl gcc make git autoconf automake pkgconfig ...
分类:
Web程序 时间:
2020-10-08 18:18:00
阅读次数:
33
1、Sqoop参数 /opt/module/sqoop/bin/sqoop import \ --connect \ --username \ --password \ --target-dir \ --delete-target-dir \ --num-mappers \ --fields-ter ...
分类:
其他好文 时间:
2020-10-06 21:17:18
阅读次数:
41
一、文章概述 本文将要讲述的是Python环境下如何用OpenCV检测人脸,本文的主要内容分为: 1、检测图片中的人脸2、实时检测视频中出现的人脸3、用运设备的摄像头实时检测人脸 二:准备工作 提前做的准备: 安装好Python3 下载安装OpenCV库,方法是pip install opencv- ...
分类:
编程语言 时间:
2020-10-06 21:01:00
阅读次数:
25
1、Mysql 官网下载 RPM 包wget https://dev.mysql.com/get/mysql80-community-release-el8-1.noarch.rpm2、检查是否已安装(强力卸载)for i in $(rpm -qa|grep mysql);do rpm -e $i ...
分类:
数据库 时间:
2020-10-06 21:00:49
阅读次数:
52