Step 1 — Installing Apache and Updating the Firewall Adjust the Firewall to Allow Web Traffic sudo apt update sudo apt upgrade sudo apt install apache ...
分类:
系统相关 时间:
2021-03-06 14:52:16
阅读次数:
0
style标签内使用全局less变量 定义变量 // index.less @color-default: #30b985 npm install style-resources-loader vue-cli-plugin-style-resources-loader -D 使用style-reso ...
分类:
其他好文 时间:
2021-03-06 14:20:44
阅读次数:
0
ref和toRef区别: ref->复制, 修改响应式数据不会影响原始数据 toRef->引用, 修改响应式数据会影响原始数据 ref->数据发生改变, 界面就会自动更新 toRef->数据发生改变, 界面也不会自动更新 toRef应用场景: 如果想让响应式数据和以前的数据关联起来, 并且更新响应式 ...
分类:
其他好文 时间:
2021-03-06 14:15:25
阅读次数:
0
1.请按照这样的日期格式(xxxx-xx-xx)每日生成一个文件,例如今天生成的文件为2019-04-26.log, 并且把磁盘的使用情况写到到这个文件中。 import time, os new_time = time.strftime("%Y-%m-%d") disk_status = os.p ...
分类:
编程语言 时间:
2021-03-04 13:27:25
阅读次数:
0
查看本机的磁盘: [root@jojo ~]# fdisk -l Disk /dev/vda: 42.9 GB, 42949672960 bytes, 83886080 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logic ...
分类:
系统相关 时间:
2021-03-04 13:25:41
阅读次数:
0
已经被赋予含义的英文字符,其全部小写并在编写时会高亮显示! 类别关键字说明 访问控制 private 私有的 protected 受保护的 public 公共的 default 默认 类、方法和变量修饰符 abstract 声明抽象 class 类 extends 扩充,继承 final 最终值,不 ...
分类:
编程语言 时间:
2021-03-03 12:24:33
阅读次数:
0
事务日志: 事务日志的写入类型为“追加”,因此其操作为“顺序IO”;通常也被称为:预写式日志 write ahead logging 事务日志文件: ib_logfile0, ib_logfile1 日志 事务日志 transaction log 错误日志 error log 通用日志 genera ...
分类:
数据库 时间:
2021-03-03 12:20:56
阅读次数:
0
MySql_176. 第二高的薪水 LeetCode_MySql_176 题目描述 题解分析 代码实现 # Write your MySQL query statement below select( select distinct Salary from Employee order by Sal ...
分类:
数据库 时间:
2021-03-02 12:23:52
阅读次数:
0
一、使用redis缓存准测 1. 经常存取,且不会改变的数据可以用缓存来存储,比如首页数据,数据量虽然大,但它不会经常改变;2. 经常使用(这里的经常使用的意思是经常作dml操作),但数据量小,比如说购物车数量的改变,就可以使用缓存; 二、python中使用redis 安装:pip install ...
分类:
编程语言 时间:
2021-03-02 12:14:34
阅读次数:
0
C# 中 PadLeft和PadRight 的用法 C# 中 PadLeft和PadRight 的用法 在 C# 中可以对字符串使用 PadLeft 和 PadRight 进行轻松地补位。 PadLeft(int totalWidth, char paddingChar) //在字符串左边用 pad ...