自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 【无标题】

父元素display:absolute 子元素flex失效父元素:<el-form class="login-form"> <!-- 用户名 --> <el-form-item> <el-input/> </el-form-item> <!-- 密码 --> <el-form-item> <e

2022-04-01 23:15:18 169

原创 Nginx问题

问题一:directory index of “xxx“ is forbidden直接使用IP地址和端口号访问时,如果未指定index,出现该报错。这时候,可以在/etc/nginx/nginx.conf中的location添加配置:autoindex on; # 自动索引这样再次访问的时候,就会列出所有的资源索引。修改/etc/nginx/nginx.conf后,重启服务才能使配置生效。nginx -s reload问题二:CreateFile() “xxx/logs/nginx.pid

2021-10-15 19:19:22 393

原创 javascript中数组的sort()方法与比值函数

一、使用sort对字符串数组排序<script>function myFunction(){ var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.sort();}</script>默认按照首字母升序进行排序Apple,Banana,Mango,Orange二、使用sort对数字数组排序<script>function myFunction(){ var points = [4

2021-07-15 11:47:41 429

原创 快排——java(必须从右往左先开始)

快排——java(必须从右往左先开始)代码:package OneP;import java.util.Scanner;public class KuaiPai { public static int a[] = new int[100]; public static int n; public static void quicksort(int left,int right) { int temp,i,j,t; if(left>right) { return;

2021-07-10 09:16:01 116

原创 冒泡排序算法

冒泡排序代码:package OneP;import java.util.Scanner;public class MaoPao { static class Stu { String name; int score; } public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); int i=0; int j=

2021-07-09 17:50:51 44

原创 [已解决]Exception in thread “main“ java.lang.NullPointerException问题

[已解决]Exception in thread “main” java.lang.NullPointerException问题源代码:public class MaoPao { static class Stu { String name; int score; } public static void main(String[] args) { Scanner input = new Scanner(System.in); int n = input.nextInt();

2021-07-09 17:37:58 545

原创 廖雪峰python教程学习笔记

廖雪峰python教程学习笔记(持续更新)零碎的知识点‘’’ ‘’’’ 表示多行注释ord(’字符‘)转化为对应整数chr(整数)转化为对应字符len(字符串)计算字符串包含多少个字符len(bytes)计算字节数一个中文字符通过UTF-8编码后,会占用3个字节为了避免乱码,使用UTF-8编码对str和bytes进行转换以Unicode表示的str通过encode()方法可以编码为指定的bytes,如 :>>> 'ABC'.encode('ascii')b'ABC

2021-03-09 10:34:09 168

原创 安装wordpress遇到的问题

安装wordpress遇到的问题1.你的PHP似乎没有安装运行wordpress所必需的mysql扩展 解决方法:apt-get install php-mysqlapachectl stop/etc/init.d/apache2 restart2.下载插件需要的配置修改wp-config.php文件:define("FS_METHOD", "direct"); define("FS_CHMOD_DIR", 0777); define("FS_CHMOD_FILE", 0777); 在wp-

2020-10-13 19:54:06 263

原创 tomcat环境配置中遇到的问题

第一篇博客想记录一下我在tomcat环境配置中遇到的问题以及解决方法配置tomcat服务器问题一tomcat9与jdk1.7不兼容。解决方法更换tomcat版本,换成tomcat8问题二环境配置不成功,出现错误:The JRE_HOME environment variable is not defined correctlyThis environment variable is needed to run this program解决方案:在tomcat文件中找到\bin\setc

2020-07-15 22:15:34 139

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除