ICode9

精准搜索请尝试: 精确搜索
  • 解决解决npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.2022-06-18 15:02:43

    解决npm WARN config global --global, --local are deprecated. Use --location=global instead. 以管理员身份运行windows PowerShell执行命令npm-windows-upgrade解决了警告的问题 执行成功后就不提示了 , 要把之前的cmd窗口关了重新打开cmd

  • Top 3 Tips You Need to Know to Write Faster SQL Views2022-06-17 13:03:09

    Top 3 Tips You Need to Know to Write Faster SQL Views Friend or foe? SQL Server views have been a subject of heated debates when I was in my first year using SQL Server. They said it was bad because it was slow. But how about today? Are you on the same bo

  • How to Use MUT-III Record the Drive Data2022-06-17 12:33:35

    how to use Mitsubishi MUT III driver recorder function to record the data. https://www.cnautotool.com/blog/2022/03/05/how-to-use-mut-iii-record-the-drive-data/ Preparations: 2021 MUT-3 MUT-III Mitsubishi Diagnostic Software Free Download Recording 1.Selec

  • 学习笔记2022-06-17 10:03:26

    props写在el-table当中是什么用途的?  5W3H  为什么这么写?怎么来的?这个里面还包含什么?你要把概念去理解清楚的。为什么用prop不用别的呢? 代码是你写的是什么就是什么,就是这样子。把知识去看,用自己的话能讲出来最重要了。   厉害的学代码的人,前端笔记很多可以看。    例如 <!--

  • Sql 循环2022-06-15 11:04:37

    declare --创建游标 cur cursor for select _user,_pwd from userTable; declare @use varchar(20),@pw varchar(20); begin --打开游标 open cur; --移动游标取值 fetch next from cur into @use,@pw; --这里对游标的状态进行判断,如果为0

  • npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.2022-06-15 10:03:22

    问题描述: vscode 终端输入 npm 命令总是提示以下错误 npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead. 解决方案: 找到node的安装目录下面的 npm.cmd 文件修改 prefix-g 改为 prefix --location=global 更改后报错有些系统

  • STM32F4 在使用ucos的过程中程序在 OSStartHighRdy OSStartHang跑飞2022-06-15 09:34:38

    我是用了malloc函数 需要引入 头文件,引入以后 报错 ..\OBJ\UCOS-1.axf: Error: L6915E: Library reports error: __use_no_semihosting was requested, but _ttywrch was referenced 看了网上 说是要勾选 use micro LIB 勾选以后 确实没问题了 但是 程序就会跑飞 经过debug确定

  • 【设计模式】12.创建型模式-工厂方法(Factory Method)2022-06-14 10:02:21

    一、描述   定义一个用于创建产品的接口,由子类工厂决定生产什么产品。解决了简单工厂模式破坏开闭原则的弊端   工厂方法模式的角色包含:     1.抽象工厂:构造了一个生产产品的接口方法。     2.具体工厂:指定生产某种产品,实现了抽象工厂的接口方法。     3.抽象产品

  • cocos shader2022-06-11 21:02:57

    Unlit 自己创建材质material -》sphere unlight 不受光的影响 创建材质 选中shader 关联纹理贴图 使用材质到节点上 shader 代码 effet 关联的shader代码 technique 渲染队列,物体放在那个渲染队列中 use instance 是否开启GPU instance 合批, drawcall 优化 use batch 勾选之后会

  • nrm使用2022-06-10 20:11:54

    nrm是npm的镜像源管理工具 nrm list 查看当前已添加的镜像源列表 * 代表目前正在使用的镜像源 nrm current 查看当前使用的镜像源 * 不显示, current显示不出信息的,参考 https://www.cnblogs.com/xiaoxiaopao/p/16331277.html 修复 nrm use 切换镜像源, 如:nrm use taobao nrm add

  • elementplus国际化失败解决2022-06-08 00:03:34

    按照官网教程配置,发现中文包不起作用。代码如下: import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './store' import '@/assets/css/global.css' import ElementPlus from '

  • 学习笔记-protobuf篇2022-06-06 22:01:48

    This means that you can use the nested type's class as if it was the nested class Foo::Bar. However, note that C++ does not allow nested types to be forward-declared. If you want to forward-declare Bar in another file and use that declaration, you mu

  • [转]Bash Function & How to Use It {Variables, Arguments, Return}2022-06-03 23:32:40

      原文:https://phoenixnap.com/kb/bash-function --------------- Introduction A bash function is a method used in shell scripts to group reusable code blocks. This feature is available for most programming languages, known under different names such as proced

  • Proj CMI Paper Reading: The use of man in space2022-06-03 14:31:58

    Abstract 背景: 哪些是使用人类进行科学和技术活动的设计的基础;并且这种经验是以高成本获得的,不适用于目前正在研究的系统。 假设: 人类在太空中没有独特的用途,没有绝对需要人类才能成功完成的太空目标。 本文 任务:讨论人工的权衡,集中于人工使用的标准和大范围的工时成本。 结果: 人

  • 微信小程序:使用自定义中文字体的一种(非在线)方法2022-06-02 22:01:26

    Step1: Choose your font and download it as *.ttfStep2: Use 'Fontmin'(http://ecomfe.github.io/) to compress your fontStep3: Use (https://transfonter.org/) with 'Base64 encode on' to convert your compressed fontStep4: Download the conver

  • nvm use时报错 exit status 1:一堆乱码2022-06-02 19:03:15

       如图,nvm list 的时候,在只有一个node版本的时候,也没有指向,表示未启用到这个版本 当使用nvm use 12.13.1的时候,报错 原因是我在之前多次安装node,出错了就删除包,再次安装,在C:\Program Files下是有一个nodejs的,但是由于已经删除了node的包,所以这个nodejs是个无效文件 但是在我的

  • tp框架2022-06-02 09:34:12

       多应用下的前后台目录结构   前后台文件下各有一个config的原因就是前后连接不同的数据库。 commmon.php 是tp中存放公共函数的地方,函数放在这,可以直接调用。    这个的话就是不引用,use    在方法中直接调用静态方法。  

  • git提交的时候,报错yarn run v1.21.1 ,SyntaxError: Cannot use import statement outside a module 解决2022-06-01 10:34:00

       原因是 lint-staged这个依赖中,需要的node的版本是,   而我使用的node版本是12.13.1 ,切换成14.17.0就可以了  

  • nprogress 窗口进度条2022-05-29 19:01:27

    1.安装后引入包 import NProgress from 'nprogress' 2.引入样式import 'nprogress/nprogress.css' 3.`请求拦截器和相应拦截器中添加加载进度条`axios.interceptors.request.use((config)=>{ NProgress.start(); config.headers.Authorization = window.sessionStorage.getItem(

  • 使用 Less 混合(Mixins)时报语法错误2022-05-28 20:02:07

    今天在尝试使用 less 的混合语法时,浏览器直接报了一个语法错误。下图是报错信息: 仔细地阅读了官方文档,和对比自己写的,并没有任何错误。 .FlexLayout { .Start() { display: flex; align-items: center; align-content: center; justify-content: start; } }

  • vue project - ElementUI按需引入2022-05-26 17:31:14

    安装按需引入包 npm install babel-plugin-component babel.config.js: 按需引入配置 module.exports = { presets: [ '@vue/cli-plugin-babel/preset', //1.ElementUI 按需引入配置 ["@babel/preset-env", { "modules": false }] ], //2.Ele

  • flutter开发Build failed due to use of deprecated Android v1 embedding错误的解决方法2022-05-26 14:33:08

    flutter开发Build failed due to use of deprecated Android v1 embedding错误的解决方法 问题描述: 构建flutter项目时错误了这个错误:Build failed due to use of deprecated Android v1 embedding 问题原因: 使用了flutter v2的sdk编译项目,而你的项目是旧的v1时候开发的 解决

  • Android Studio 拉取、提交代码失败 Invocation failed Unexpected end of file from server2022-05-23 12:03:58

    错误日志:   解决办法Setting–>Version Control -->Git–》勾选上Use credential helper     在1处配置你的git安装目录bin\git.exe 点击完成,就可以了  

  • Prometheus监控学习笔记之Prometheus是TSDB吗?2022-05-22 23:04:09

     0x00 转载 相关论据可在此处查看原文: Prometheus Is Not a TSDB   主要论点: “Prometheus is a monitoring system that just happens to use a TSDB under the hood.”

  • 备份一下clang配置 差点丢了.2022-05-20 01:35:38

    --- # We'll use defaults Microsoft from the LLVM style, but with 4 columns indentation. BasedOnStyle: Microsoft IndentWidth: 4 ColumnLimit: 0 --- Language: Cpp # Force pointers to the type for C++. DerivePointerAlignment: false PointerAlignment: Left

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

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

ICode9版权所有