类 类的定义 //定义一个Person的类 class Person { //属性 String userName = 'Tobu'; int age = 25; String blogAdress = 'https://www.cnblogs.com/TobuTobu'; String userI ...
分类:
其他好文 时间:
2021-02-18 12:55:10
阅读次数:
0
1.使用npm下载plugin npm i html-webpack-plugin -D 2.配置webpack.config.js文件 /* webpack配置文件,作用:指示webpack怎么干活,干哪些活 当你运行webpack指令的时候,会加载其中的配置 所有的构建工具都是基于Node.js ...
分类:
Web程序 时间:
2021-02-17 15:10:52
阅读次数:
0
1.使用npm下载组件 npm i file-loader -D npm i url-loader -D 2.配置webpack.config.js文件 const { resolve } = require('path'); const HtmlWebpackPlugin = require('h ...
分类:
Web程序 时间:
2021-02-17 15:09:41
阅读次数:
0
1. 单进程最大打开文件数限制 有时候会遇上socket/file: can‘t open so many files的问题,其实是Linux系统有文件句柄限制的,一般Linux系统限制单进程最大可以打开1024个文件,这是远远不能满足高并发需求的。 通过ulimit –a命令来查看系统的一些资源限 ...
分类:
系统相关 时间:
2021-02-17 14:58:56
阅读次数:
0
/** * 打开nginx配置文件nginx.conf,添加以下内容 * 注意层级,在 http{ server { location { #这里添加 } } } 添加 */ location / { try_files $uri $uri/ $uri.php?$args; } ...
分类:
Web程序 时间:
2021-02-17 14:58:17
阅读次数:
0
windows如何查看端口占用情况?1.cmd窗口中输入"netstat -ano"命令 查看系统所有端口的占用情况 netstat -ano 2.已知具体端口号,输入"netstat -ano | findstr "端口号""命令 netstat -ano | findstr "端口号" 3.通过 ...
第一步:创建Maven项目 在IDEA中创建一个maven项目:打开IDEA后,File--New--Project;选择maven,点击next 第二步:引入selenium框架/依赖 在pom.xml中添加依赖,接着点击右上角刷新按钮即可。 <dependencies> <dependency> ...
分类:
编程语言 时间:
2021-02-17 14:33:57
阅读次数:
0
原文链接:https://codeforces.com/blog/entry/58316 更多数据结构技巧:https://codeforces.com/search?query=%23data+structure 维护一个类似mutiset的数据结构,支持以下操作: 1、向数据结构中添加c个元素x ...
分类:
其他好文 时间:
2021-02-17 14:31:46
阅读次数:
0
https://blog.csdn.net/qq_36047372/article/details/73331304 3.继续打开web→html Files→Editor→Content Assist 修改Prompt when these characters are inserted:的值为: ...
分类:
Web程序 时间:
2021-02-17 14:20:37
阅读次数:
0
此博客链接: 寻找重复数 题目链接:https://leetcode-cn.com/problems/find-the-duplicate-number/ 题目 给定一个包含 n + 1 个整数的数组 nums ,其数字都在 1 到 n 之间(包括 1 和 n),可知至少存在一个重复的整数。 假设 ...
分类:
其他好文 时间:
2021-02-17 14:08:35
阅读次数:
0