系统版本: [root@localhost modules]# rpm -q centos-release centos-release-7-5.1804.el7.centos.x86_64 一、yum安装PHP 1.检查当前安装的PHP包 yum list installed | grep php ...
分类:
Web程序 时间:
2021-04-28 12:02:43
阅读次数:
0
1、File--Setting--bulid--compiler 作用:每次修改类文件的时候会自动编译;若不勾选,则需每次手动编译。 2、Shift+Ctrl+Alt+/,选择Registry 勾上compiler.automake.allow.when.app.running 这个东西的作用:允许 ...
分类:
其他好文 时间:
2021-04-28 12:02:11
阅读次数:
0
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http:// ...
分类:
移动开发 时间:
2021-04-28 11:48:02
阅读次数:
0
pytest中参数化首先需要导入pytest包import pytest @pytest.mark.parametrize(‘a,b,c’,[列表or元组])通过元组与列表传入数据,示例如下: 注意:parametrize可以用来声明变量,函数在使用变量时传参的值要和声明的值一致,执行后我们可以看到 ...
分类:
其他好文 时间:
2021-04-28 11:43:04
阅读次数:
0
2021年4月24日17:29:22 环境: php8.0.3 centos 8.3 ./configure \ --prefix=/usr/local/php8 \ --with-config-file-path=/usr/local/php8/etc \ --with-curl \ --with ...
分类:
Web程序 时间:
2021-04-27 15:21:59
阅读次数:
0
1. find . -regex '.*\.c\|.*\.cc' | xargs grep "string" --color --line-number 2. sed -n '5,10p' filename 查看文件的第5行到第10行。 3. grep -o hello test.log | wc ...
分类:
其他好文 时间:
2021-04-27 15:16:42
阅读次数:
0
java遍历文件 package com.vfsd.test; import java.io.File; import java.io.IOException; public class ListFileName { public static void main(String[] args) { ...
分类:
编程语言 时间:
2021-04-27 15:01:42
阅读次数:
0
常见数据类型: 数字 布尔值 字符串 元组 列表 字典 集合 如何判断数据的类型? 用type()函数 如age=18 print(type(age)) 输出结果:<class 'int'> 用len()函数统计数据的长度 数字类型重点介绍:整数int 浮点数float 举例: age=18 hei ...
分类:
其他好文 时间:
2021-04-27 14:53:45
阅读次数:
0
<form id="form1"> <input type="text" value="1" name="Total" /> </form> //判断序列化表单是否包含空值 var data = $("#form").serialize(); var array = data.split("&"); ...
分类:
Web程序 时间:
2021-04-27 14:39:33
阅读次数:
0
MySQL spring.datasource.url=jdbc:mysql://localhost:3306/twitter_test?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8spring. ...
分类:
移动开发 时间:
2021-04-27 14:38:30
阅读次数:
0