Web开发
01.npm install http-server -g全局安装 02.在要打开的项目文件夹处打开命令窗口,输入 hs -o回车 【hs 目录 -a 地址 -p 端口】,https://github.com/http-party/http-server 03.将对应的网址复制到浏览器打开 注意点: ...
https://animate.style/动画库的官方网址。在首页可以看到各种动画的名称,点击一下可以预览动画的效果。 安装 有三种方式:npm $ npm install animate.css --save yarn: $ yarn add animate.css CDN 直接添加到网页: < ...
Promise 是一个对象,表示异步操作的结果。它通常有三种状态,即pending、fulfilled、rejected,异步任务的结果好坏取决于pending最终变为fulfilled或rejected。 ...
[root@k8s-node02 ~]# docker login 192.168.180.105:1180 Username: admin Password: Error response from daemon: Get http://192.168.180.105:1180/v2/: net/ ...
react 报错:'React' must be in scope when using JSX react/react-in-jsx-scope 解决: import React, {Component} from 'react'; R大写 ...
原文:https://www.jianshu.com/p/e4cca4fe6478 文件夹下.vscode/launch.json文件: { "version": "0.2.0", "configurations": [ { "name": "golang", "type": "go", "requ ...
完全控制内边距(填充)。有一些属性可以为元素的每一侧(上、右、下和左侧)设置内边距 Padding - 单独的边 CSS 拥有用于为元素的每一侧指定内边距的属性: padding-top padding-right padding-bottom padding-left 所有内边距属性都可以设置以下 ...
属性选择器(attribute selectors) - [att] 属性选择器 - [att=val] 属性选择器 - [attr*=val] 属性选择器 - [attr^=val] 属性选择器 - [attr|=val] 属性选择器 - [attr~=val] 属性选择器 - [attr$=va ...
最近升级了chrome浏览器,发现不能从http网站下载文件了。 F12打开console,发现每次从http网站下载文件,console都会出现下载被blocked(屏蔽)的提示: 原来chrome认为 非HTTPS网站都是不安全的,自动屏蔽了 来源于http文件的下载。 chrome果然是大佬, ...
使用NetPlan网络管理工具配置网卡.
1、单网卡配置dhcp获取地址;
root@ubuntu20:~# cat /etc/netplan/00-installer-config.yaml
# This is the network config written by ‘subiquity‘
network:
ethernets:
ens3:
dhcp4: yes