theboyaply 学,就硬学!

ES6 - Generator 函数的语法

Generator函数的语法简介基本概念yield表达式与Iterator接口的关系next方法的参数for...of循环Generator.prototype.throw()Generator.prototype.return()next()、throw()、return()的共同点yield*表

theboyaply 发布于 2022-04-02

ES6 - Iterator 和 for...of 循环

Iterator和for...of循环Iterator(遍历器)的概念默认Iterator接口调用Iterator接口的场合字符串的Iterator接口Iterator接口与Generator函数遍历器对象的return(),throw()for...of循环数组Set和Map结构计算生成的数据结构

theboyaply 发布于 2022-04-02

ES6 - Promise

Promise对象Promise的含义基本用法Promise.prototype.then()Promise.prototype.catch()Promise.prototype.finally()Promise.all()Promise.race()Promise.allSettled()Prom

theboyaply 发布于 2022-04-02

ES6 - Reflect

Reflect概述静态方法Reflect.get(target,name,receiver)Reflect.set(target,name,value,receiver)Reflect.has(obj,name)Reflect.deleteProperty(obj,name)Reflect.cons

theboyaply 发布于 2022-04-01

ES6 - Proxy

1.概述2.Proxy实例的方法2.1get()2.2set()2.3apply()2.4has()2.5construct()2.6deleteProperty()2.7defineProperty()2.8getOwnPropertyDescriptor()2.9getPrototypeOf()

theboyaply 发布于 2022-04-01

Jenkins常见问题

相关地址安装运行常用插件PublishOverSSHRole-basedAuthorizationStrategy常见任务任务一(直接执行服务器脚本)常见问题任务控制台输出显示远程服务器日志执行远程服务器脚本找不到环境变量相关地址官方网址:https://www.jenkins.io/zh/安装运行

theboyaply 发布于 2022-03-23

maven archetype

简介archetype:create-from-project创建原型从零新建一个archetype基于现成的项目生成archetypearchetype:generate生成新项目archetype:crawl官网地址:https://maven.apache.org/archetype/mave

theboyaply 发布于 2022-01-27

Linux安装MySQL5.7

1.查看是否安装mysql2.下载mysql安装包3.解压及配置文件创建mysql用户组及权限初始化数据库启/停/登录重置root密码新增远程访问用户远程连接不上问题1.查看是否安装mysql安装mysql之前,需要查看是否安装了mysql,如果安装则进行卸载,命令:rpm-qa|grepmysql

theboyaply 发布于 2022-01-05

Linux安装redis

安装依赖包下载安装redis.conf常用配置登录redis启停命令安装依赖包#先查看有没有>#gcc-v#没有再安装>#yum-yinstallgcc-y>#make-v如果安装出现以下类似错误:Errordownloadingpackages:kernel-headers-3.

theboyaply 发布于 2022-01-05

Linux安装node

下载安装包中文官网:http://nodejs.cn/download/Linux可根据系统版本对应安装包,比如:Linux二进制文件(x64)选项下载出来的就是node-v16.13.1-linux-x64.tar.xz(当前最新版本)。解压$tarxfnode-v16.13.1-linux-x6

theboyaply 发布于 2022-01-05

Linux安装nginx

安装基础工具包安装gcc-c++安装PCRE库安装zlib库安装openssl安装Nginx启停安装基础工具包Nginx与Redis一样,都是C语言开发的,都需要在Linux上使用C语言编译后才能使用,所以得先安装用于编译的C环境。安装Redis时,只需要安装下面第一项,而Nginx则需要安装4项:

theboyaply 发布于 2022-01-05

Linux安装nfs

说明安装必要软件配置服务端配置客户端说明准备两台Linux服务器:10.1.1.45(服务端)10.1.1.46(客户端)安装必要软件两台服务器都需要执行以下命令:yuminstallnfs-utilsrpcbind-y安装完成后执行rpm-qanfs-utilsrpcbind,如果输出以下信息表示

theboyaply 发布于 2022-01-05