title: linux打开文件数 too many open files 解决办法 date: 2020 05 03 08:30:45 tags: linux categories: linux 阿里巴巴Java开发手册中规定: 调大服务器所支持的最大文件句柄数(File Descriptor,简 ...
分类:
系统相关 时间:
2020-05-03 10:55:58
阅读次数:
95
我的LeetCode:https://leetcode cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题03. 数组中重复的数字 题目 找出数组中重复的数字。 ...
分类:
编程语言 时间:
2020-05-02 20:33:36
阅读次数:
59
Mongodb 账户权限配置 1、第一步创建超级管理用户 use admin db.createUser({ user:'admin', pwd:'123456', roles:[{role:'root',db:'admin'}] }) 2、第二步修改 Mongodb 数据库配置文件 路径:C:\P ...
分类:
数据库 时间:
2020-05-01 18:31:07
阅读次数:
83
问题描述:在使用IDEA对JSTL进行测试时出现error:无法在web.xml或使用此应用程序部署的jar文件中解析绝对uri:[http://java.sun.com/jsp/jstl/core] 解决方法: 检查是否正确jar包以及tld文件,jstl.jar和standard.jar放在在W ...
分类:
编程语言 时间:
2020-05-01 10:51:56
阅读次数:
115
一、安装环境 # install requirements pip install pycocotools numpy opencv-python tqdm tensorboard tensorboardX pyyaml pip install torch==1.4.0 pip install to ...
分类:
其他好文 时间:
2020-05-01 10:19:34
阅读次数:
505
``` from django.utils.encoding import escape_uri_path from django.shortcuts import HttpResponse def file_download(request): file_name = "凸凸.jpg" res =... ...
分类:
其他好文 时间:
2020-04-30 22:56:52
阅读次数:
121
VS Code写Vue,每次按照eslint格式手动fix代码很烦,Alt+Shift+f格式化代码又会和prettier冲突,因此找了Ctrl+s保存代码,自动按照eslint风格格式化代码。 网上大多是早前修改方法,现在已经不适用,因此写这个随笔,避坑。 当前版本使用方式,使用编辑器提供的Cod ...
分类:
其他好文 时间:
2020-04-30 21:11:44
阅读次数:
81
Springboot以Tomcat为容器实现http重定向到https的两种方式 1 简介 本文将介绍在Springboot中如何通过代码实现Http到Https的重定向,本文仅讲解Tomcat作为容器的情况,其它容器将在以后一一道来。 建议阅读之前的相关文章: (1) Springboot整合ht ...
分类:
编程语言 时间:
2020-04-30 19:21:54
阅读次数:
69
绕过 CDN 查找网站真实 IP 一、ping查 很简单,使用各种多地 ping 的服务,查看对应 IP 地址是否唯一,如果不唯一多半是使用了CDN。 二、nslookup查 使用 nslookup 进行检测,原理同上,如果返回域名解析对应多个 IP 地址多半是使用了 CDN。有 CDN 的示例: ...
分类:
其他好文 时间:
2020-04-30 15:34:11
阅读次数:
72
<img :src="`data:image/jpg;base64,${codeSrc}`" class="verify-code__img" @click="getVerifyCode" /> Data URI scheme支持的类型有: data:,文本数据 data:text/plain,文本 ...
分类:
其他好文 时间:
2020-04-29 16:27:48
阅读次数:
72