ICode9

精准搜索请尝试: 精确搜索
  • fiddler弱网环境设置2021-02-24 14:35:10

    Fiddler实现弱网的测试 无论是做web端还是app端的测试,我们都需要对弱网进行测试,对于弱网方法有很多种,如:Fiddler模拟弱网,控制电脑的网速等,今天介绍下Fiddler如何进行弱网测试。 1、Fiddler中启动弱网 打开Fiddler,Rules->Performance->勾选 Simulate Modem Speeds,勾选之后访问网站

  • vue项目报错Trailing spaces not allowed.2021-02-23 09:02:16

    vue项目报错Trailing spaces not allowed. 是因为vue-cli的eslint的语法规范导致的 你可以把eslint给关闭了 在使用vue-cli脚手架来生成vue项目文件的时候,会发现有个自带的代码规范eslint,非常麻烦,其实你只要找到.eslintrc.js里面,把standard给注释了就好了,或者是vue-standard给注释

  • element有关表单验证2021-02-21 08:32:22

    表单验证的基础是官网的api:rules   位置放置在el-form标签当中 例如   :rules="formRules"   formRules则是放在data当中,其结构为:   最后会附上一些相关实例 formRules:{      name:[        {required: true,message: "姓名不能为空",trigger: "blur",},    

  • arch linux使用iptables2021-02-09 13:04:47

    一、安装   arch中已经编译安装了iptables,无需重新安装。 二、启动   iptables启动时,会读取/etc/iptables/iptables.rules中写的规则。而Arch默认不启动iptables服务,也不会创建这个文件。这个文件需要手动创建: #touch /etc/iptables/iptables.rules 或者: #cp /etc/iptables/e

  • Linux网卡序号修改2021-02-07 09:01:18

    Linux网卡序号修改 问题描述 工控机硬盘损毁,拆除另一台同系统同型号的旧机器硬盘做补救。更换硬盘并引导开机后,ifconfig查询网口编号由eth——eth3变为eth4——eth7。 卸载网卡并重新安装均无效果。 解决方法 通过检查 /etc/udev/rules.d/中的70-persistent-net.rules文件发

  • 全网首发:deb打包时报错dh: Please specify the compatibility level in debian/compat2021-02-05 13:58:20

    具体错误: dpkg-buildpackage \ --source-option=--include-binaries \ --source-option=-isession \ -us -uc -nc dh: Please specify the compatibility level in debian/compat make: *** [debian/rules:18:build] 错误 2 dpkg-buildpackage: error: debian/rul

  • Vue报错:Expected indentation of 4 spaces but found 62021-02-04 14:32:35

    ESLint的语法校验空格缩进数量的问题 解决方案: 进入【项目】-【build】-【webpack.base.conf.js】文件找到【rules】下的eslint注释相关内容

  • Linux adb 连接失败 no permissions (user in plugdev group; are your udev rules wrong?)2021-02-03 18:01:26

      虚拟中安装adb后,使用adb devices,能看到id,但提示用户无权限 $ adb devices List of devices attached 1c22d6dc no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html] $ adb shell error: insufficien

  • fiddler抓包2021-01-31 17:03:19

    安装成功的几个要点 Windows防火墙 入站规则 增加 80特定端口 注册表 regedit current_user/soft/microsoft/fiddler2/增加DWORD32 名称80 fiddler rules 打开fiddler-rules-costomize rule,找到OnBeforeRequest方法,在该方法中加入如下代码: //save connect internet problem if

  • Ubuntu下adb devices连接异常问题2021-01-28 13:59:38

    1.现象描述描述 输入adb devices时,出现以下等情况: a. adb: insufficient permissions for device: user in plugdev group; are your udev rules wrong? See [http://developer.android.com/tools/device.html] for more information b. List of devices attached ????????

  • Linux虚拟机启动失败,错误代码:Device eth0 does not seem to be present, delaying initialization 不删除70-persistent-2021-01-28 12:01:18

    复制虚拟机后,重启网卡出现了错误提示:Device eth0 does not seem to be present, delaying initialization 原因是复制的虚拟机有了新的Mac地址。但是自己的网卡配置文件仍然是旧的。 解决方法: 1.ifconfig -a。 确认下自己的网卡参数是否被读入出来了。 2.打开/etc/udev/rules.d/70

  • 搭建网络渗透环境遇到的问题2021-01-20 19:03:35

    在linux在查看ip信息是ifconfig在windows下查看ip信息是ipconfig一直容易混 虚拟机找不到网卡解决方案: rm /etc/udev/rules.d/70-persistent-net.rules reboot 手工修改ip地址: ifconfig eth0(也有可能是eth2 根据自己的情况) 10.10.10.132(根据自己情况) netmask 255.255.255.

  • [LeetCode] 1646. Get Maximum in Generated Array2021-01-17 07:32:39

    You are given an integer n. An array nums of length n + 1 is generated in the following way: nums[0] = 0 nums[1] = 1 nums[2 * i] = nums[i] when 2 <= 2 * i <= n nums[2 * i + 1] = nums[i] + nums[i + 1] when 2 <= 2 * i + 1 <= n Return the maxim

  • Prometheus 告警配置以及抑制规则inhibit_rules 说明2021-01-12 18:04:44

    1.在prometheus.yml配置文件中进行告警规则文件的配置: global: # Rule files specifies a list of globs. Rules and alerts are read from # all matching files. rule_files: [ - <filepath_glob> ... ] 例如: - rules/br_alerts.yml rules为相对路径 2.在告警的规则文件

  • linux系统操作系统网卡漂移解决方案及问题原因2021-01-08 11:34:09

    一.问题描述 公司有100-150台服务器安装RHEL7.4&中标麒麟7.4系统,为方便编辑配置网卡,使用脚本方式配置为biosname=0,ifname=0,目的是为将en1o2p此类长字符网卡名称规范为传统的eth*,使用传统的网卡识别方式,但安装完成后配置IP,BOND双网卡存在网络漂移现象,现象即重启网卡后所有网口均发

  • DRC Mode2021-01-06 17:05:18

    TetraMax DRC 1.read netlist, run_build_model期间 N rules ——netlist  (N2和N5 warning要重视,可以将其设置为error:set_rules n5 error) B rules ——build  (B5 error,可通过report_modules -undefined查看) 2.run_drc期间 S rules ——scan chain or shift C rules ——clock

  • debian目录下常用文件的介绍2021-01-05 16:57:06

    关于debian/目录 debian官网参考资料: debian-policy-manual该目录包含了所有构建deb包需要的文件,例如changelog、control、rules等可以通过devscripts自动或者手动的方式来生成这些文件 获取软件包源码 在/etc/apt/sources.list文件或/etc/apt/sources.list.d/下的.list文件

  • vue之data变量调试时的向上穿透2021-01-05 09:30:11

    <script> data() { rules: {} }, mounted() { console.log('this.rules:', this.rules) console.log('this.rules.test:', this.rules.test) this.rules.test = null console.log('this.rules:', this.rules) conso

  • 定制团队的eslint rules(二)2021-01-04 11:29:05

    @[TOC](定制团队的eslint rules(二)) 前言 在上篇文章中定制团队的eslint rules(一),已经介绍了eslint的各种参数说明,配置等等,对它有个大致的了解,接下来,我如何定义的一个自己的团队规则配置,以cicada-eslint-config为列。 项工程搭建 目录树 我搭建我的一个cicada-eslint-confi

  • Rules of Micro-Frontends2021-01-02 23:32:43

     参考资料:https://medium.com/swlh/rules-of-micro-frontends-7b96c10dde9 This is an opinionated list of best practices when designing applications that follow the Micro-frontend pattern. Each “rule” should be examined and its benefits/downsides evaluated agai

  • 数据科学与大数据分析项目练习-3将Apriori算法应用于R中提供的“Groceries”数据集2020-12-30 23:01:38

    R语言Apriori算法 **项目要求:**Project Start**规则生成和可视化** 我们需要安装arules and arulesViz包。 项目要求: 生成频繁项目集满足下面条件: – The minimum support threshold as 0.02 – The minimum length of the itemsets as 1 – The maximum length of the

  • 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) D. Fi2020-12-27 04:05:12

    题意:有个长度为\(n\)的监狱,犯人在位置\(a\),cop在位置\(b\),你每次可以向左或者向右移动一个单位,或者选择不动并在原地放一个爆竹\(i\),爆竹\(i\)在\(s[i]\)秒后爆炸,cop每次向你的位置移动一个单位,你最终一定会被抓住(因为监狱是有限的),问你在被抓住前,最多能看到多少爆

  • CMake Day 6 —— 安装规则(install rules)2020-12-24 22:03:49

    CMake Day 6 —— 安装规则(install rules) 在CMake中,安装是指将二进制文件、库文件和头文件等安装到指定目录中。 语法: install(TARGETS <target>... [...]) install({FILES | PROGRAMS} <file>... [...]) install(DIRECTORY <dir>... [...]) install(SCRIPT <file> [...])

  • atpg flow(tessent)2020-12-19 17:04:20

    DFT Library             DFT Library 的自动产生  libcomp <verilog_file> -dofile <file_name>   Black Boxes add_black_box -auto     black box所有没有被定义的module,该命令使用在setup模式中 ###自定义add SETUP> add_ black boxes -module core SETUP> ad

  • prometheus 告警模板解读2020-12-04 17:02:54

    文章目录 阅读提示一. prometheus 启用告警功能 二. rules 规则1. 什么是 promQL2. 告警逻辑是怎么样3. rules 的组成4. 告警语句解析5. 常用的告警语句及其含义6. 如何查询官网,定制自己想要的告警语句 阅读提示 阅读本文,假设你仅仅安装了 prometheus ,并且简单设置了一

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

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

ICode9版权所有