ICode9

精准搜索请尝试: 精确搜索
  • liunx 前台打包的两个报错 Invalid value used in weak set2022-07-22 16:07:42

    错误1 Invalid value used in weak set Webpack4使用 mini-css-extract-plugin 最新版 压缩css 报 “Invalid value used in weak set” 解决方案: 把 mini-css-extract-plugin 降低版本到1.6.2 npm install --save-dev mini-css-extract-plugin@1.6.2 错误2 nodeInfo.listener is

  • vue项目 报错 error ‘xxx‘ is assigned a value but never used2022-07-21 19:02:57

    vue项目里出现 这样的错误 Failed to compile. ./src/components/edit.vueModule Error (from ./node_modules/eslint-loader/index.js): C:\Users\link\Desktop\elem\src\components\edit.vue 12:9 error 'defaultdata' is assigned a value but never used no-u

  • pip install -r -e 什么意思2022-07-20 18:35:37

    pip install -r requirements.txt     -r, --requirement     Install from the given requirements file. This option can be used multiple times.   -t: 安装到指定位置。 -e: 安装可编辑的包。   例如:  

  • Cloud computing2022-07-18 19:33:57

    Cloud computing is the on-demand availability of computer system resources, especially data storage (cloud storage) and computing power, without direct active management by the user. The term is generally used to describe data centers available to many us

  • Alertmanager对接Prometheus实战2022-07-12 18:00:35

    目录启动3种方式二进制-Alertmanager官网下载docker-启动docker-compose-启动启动成功效果配置文件alertmanager.ymlprometheus.ymlrules/node_rules.yml--报警规则配置文件rules/node_alerts.yml--报警规则配置文件prometheus-docker-compose.yml启动成功效果 启动3种方式 二进制

  • 线上CPU飙升排查2022-07-11 18:02:01

    线上CPU飙升排查 目录线上CPU飙升排查准备一份代码步骤top命令找到对应进程找到占用最高的线程方法1方法2将线程号转换成16进制使用jdk的工具jstack查看堆栈信息cpu飙升可能原因1. 超大对象频繁移动或者创建2 .内存消耗过大,导致Full GC次数过多3. 死循环等CPU密集型代码4. 死锁5.

  • useHref() may be used only in the context of a <Router> component2022-07-08 18:02:58

    "react-router-dom": "^6.3.0".使用Link组件时提示报错,useHref()只能在Router组件中使用。     解决办法:在index.tsx文件使用Router组件包裹App组件,同时删除router.js路由注册文件中的Router包裹组件,使得所有组件处在同一个Router组件之下 <React.StrictMode> <HashRouter

  • MarkDown基本语法2022-07-03 18:32:53

    不同类型标题 # Instructions ### Linux, Mac:   加粗 **Step 1**   换行 ABC空格空格 cd   分层次 - `DOC_REPO_USERNAME` This is used by `get-docs.js`. - `DOC_REPO_PASSWORD` This is used by `get-docs.js`. - `PORT` This is used by `siteConfig.js`.   代码块 `wind

  • classic2022-06-26 20:32:42

    作为名词:The classics are the literature of ancient Greece and Rome, known as classical antiquity, and once the principal subject studied in the humanities [人文学科]. The Chinese classics occupy a similar position in Chinese culture, and various other culture

  • 深度学习跟SLAM的结合点2022-06-23 07:31:54

    1、用深度学习方法替换传统SLAM中的一个/几个模块 特征提取,特征匹配,提高特征点稳定性,提取点线面等不同层级的特征点。 深度估计 位姿估计 重定位 其他 2、在传统SLAM之上加入语义信息(毕设相关) 图像语义分割 语义地图构建 3、端到端的SLAM 机器人自主导航(深度强化学习)等   2

  • linux查看端口是否被占用 / 查看内存情况2022-06-14 12:00:07

    查看端口是否被占用: 方法一:终端输入: netstat -anp | grep 端口号 方法二:终端输入:lsof -i 端口号     即可查看端口的占用情况 查看全部端口的占用情况: 终端输入: netstat -anp kill被占用的进程: 终端输入:kill -9 端口号   linux查看内存: 方法一:终端输入:cat/proc/meminfo  

  • Calculus不止是微积分的意思2022-06-10 22:01:06

    Calculus (disambiguation) Calculus (from Latin calculus meaning ‘pebble’, plural calculī) in its most general sense is any method or system of calculation. Calculus may refer to: Mathematics Infinitesimal calculus (or simply C

  • leetcode 每日一题 473. 火柴拼正方形2022-06-02 09:03:15

    leetcode 每日一题  473. 火柴拼正方形 class Solution { int ave = 0; int num = 4; public boolean makesquare(int[] matchsticks) { int sum = 0; for (int matchstick : matchsticks) { sum += matchstick; } av

  • Coins2022-05-28 21:01:44

    Coins 多重背包可行性 SCUACM2022集训前训练-动态规划 - Virtual Judge (vjudge.net) 本题若用二进制拆解多重背包会T,可用单调队列优化 但由于本题是求可行性而非最优化,可用进行剪枝来减小复杂度 \(f[i]\) :\(i\) 能否被表示出来 \(used[i]\) :当前这种货币,表示到 \(i\) 块钱,已经用

  • Proj THUDBFuzz Paper Reading: A Correlation Study between Automated Program Repair and Test-Suite Me2022-05-28 20:32:42

    Abstract 本文: 前提Task:to control the quality of generated pathed by controlling the quality of test-suites used 通过控制⽤于⾃动程序修复的测试套件的质量来控制⽣成的补丁的质量 Task:探究:Can traditional test-suite metrics proposed for the purpose of software test

  • JVM(下篇)2022-05-03 18:31:08

    1、概述篇 1.1、大厂面试题 1.2、背景说明 1.3、调优概述 1.4、性能优化的步骤 (括号内的描述会感觉很low,冒号后面的就感觉很高级。) 性能监控 理解 一种以非强行或者非入侵方式收集或查看应用运营性能数据的活动。 监控通常是指一种在生产、质量评估或者开发环境下实施的带有

  • chalk2022-04-29 22:01:04

    碳酸钙是一种无机化合物,化学式为CaCO₃,是石灰石、大理石等的主要成分。碳酸钙基本上不溶于水,但溶于盐酸。它是地球上常见物质之一,存在于霰石、方解石、白垩、石灰岩、大理石、石灰华等岩石内,亦为某些动物骨骼或外壳的主要成分。碳酸钙还是重要的建筑材料,工业上用途甚广。方解石是

  • 浏览器可以使用的最大存储空间 All In One2022-04-26 00:34:11

    浏览器可以使用的最大存储空间 All In One 我可以存储多少? 简而言之,很多,至少几百 MB,甚至可能是几百 GB 或更多。 浏览器实施各不相同,但可用存储量通常取决于设备上可用的存储量。 Chrome 允许浏览器使用多达 80% 的总磁盘空间。一个来源最多可以使用总磁盘空间的 60%。 您可以使

  • 找BUG 回溯法2022-04-24 02:01:11

      https://leetcode-cn.com/problems/word-search/ https://leetcode-cn.com/problems/ju-zhen-zhong-de-lu-jing-lcof/   func dfs(i, j, k int, board [][]byte, word string, used [][]int) bool { n := len(word) if k == n { return true } r := len(board) c :=

  • cement2022-04-21 23:32:38

    A cement is a binder, a substance used for construction that sets, hardens, and adheres to other materials to bind them together. Cement is seldom used on its own, but rather to bind sand and gravel (aggregate) together. Cement mixed with fine aggregate p

  • 回溯day52022-04-19 12:31:06

    46. 全排列 class Solution { private List<List<Integer>> res; private LinkedList<Integer> path; public List<List<Integer>> permute(int[] nums) { res = new ArrayList<>(); path = new LinkedList<

  • 'DatePicker.RangePicker' cannot be used as a JSX component.2022-04-13 12:01:02

    antd和react在四月份升级后出现问题 'DatePicker.RangePicker' cannot be used as a JSX component.     10:40:52 Its instance type 'Component<RangePickerProps, unknown, any> & CommonPickerMethods' is not a valid JSX element. TS2786 10:40:52 4

  • 47. 全排列 II2022-04-02 20:31:16

    ✅做题思路or感想 求排列问题,用回溯法 这里和一般的排列问题的区别是:有重复的数字 然后因为是求排列,则同一个位置上的数字不能重复用 这就要求了:既要树层去重,又要树枝去重 而这些操作只用一个used数组就可以了 class Solution { public: vector<vector<int>>result; vecto

  • 90. 子集 II2022-04-02 19:31:23

    ✅做题思路or感想 这道题仍然是用回溯,和普通的求集合的题有区别的地方是:集合中有相同的元素 这里处理相同元素的做法是用一个used数组来做到树层去重,注意这种做法需要先对遍历的数组进行排序!!!!!!! 递归三部曲: 递归参数 这里除了老生常谈的startIndex外,还要额外加一个used数组进行树层

  • LeetCode 0047 Permutations II2022-03-29 08:34:59

    原题传送门 1. 题目描述 2. Solution 1、思路分析 此题是「46. 全排列」的进阶,序列中包含了重复的数字,要求我们返回不重复的全排列,那么我们依然可以选择使用搜索回溯的方法来做。 只需要注意,要解决重复问题,我们只要设定一个规则,保证在填第i个数的时候重复数字只会被填入一次即可

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有