ICode9

精准搜索请尝试: 精确搜索
  • 自定义服务2022-05-19 17:03:59

    自定义一个IWelcomeService服务。 自定义一个IWelcomeService服务,这样在请求管道里也能使用。 新建一个接口 该接口里可以用来处理逻辑。这里我们创建一个方法用来返回一个helloWorld public interface IWelcomeService { string GetMessage(); } 新建一个实现它

  • 嵌入式linux开发-交叉编译的一些tips2022-05-14 21:32:37

      嵌入式linux开发-交叉编译的一些tips   时间:20201013,版本:V0.1 1.交叉编译工具链的组成 交叉编译工具链是一个由编译器、连接器和解释器组成的综合开发环境,交叉编译工具链主要由binutils、gcc和glibc三个部分组成。有时出于减小 libc 库大小的考虑,也可以用别的 c 库来代替 glib

  • net5中WebApi中使用Session2022-05-04 12:33:17

    在Startup.cs中配置Session 注入session的服务 在Configure方法里使用该服务的中间件 app.UseSession();

  • 编译FFmgeg执行./configure 时报错。2022-05-01 20:34:52

    编译FFmgeg执行./configure 时会报此错误。 nasm/yasm not found or too old. Use --disable-x86asm for a crippled build. 分析:yasm是汇编编译器,ffmpeg为了提高效率使用了汇编指令,如MMX和SSE等。所以系统中未安装yasm时,就会报上面错误。 解决方法: 方法1:安装yasm(yun install -y y

  • How to Configure RocksDB Logging for Advanced Troubleshooting2022-04-19 20:04:03

    Question RocksDB's LOG file comes in handy when troubleshooting Flink with RocksDB. How can I configure RocksDB logging?   Answer Note: This section applies to Flink 1.10 - 1.14 By default, Flink uses the log level HEADER_LEVEL for RocksDB. This esse

  • curl安装时出现:configure: error: select TLS backend(s) or disable TLS with --without-ssl.2022-04-05 18:31:26

      1、问题 configure: error: select TLS backend(s) or disable TLS with --without-ssl.     2、解决方法,没有问题 [root@rhel7pc1 curl-7.82.0]# ./configure --with-wolfssl   参考:https://blog.csdn.net/qq_38801506/article/details/117959761  

  • .Net Coer配置Nlog.md2022-03-29 08:00:31

    首先在你的项目中用Nuget安装以下两个类库NLog.Extensions.Logging和NLog.Web.AspNetCore然后新建NLog的配置文件Nlog.config,内容如下 :         然后在Startup>Configure中引入Nlog   public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF

  • sqlserver 清理缓存2022-03-04 11:01:00

    第一次执行查询后 会把数据缓存都内存所以 第二次查就会快 --清除存储过程缓存 DBCC FREEPROCCACHE --清除会话缓存 DBCC FREESESSIONCACHE --清除系统缓存 DBCC FREESYSTEMCACHE('All') --清除所有缓存 DBCC DROPCLEANBUFFERS GO --打开高级配置 exec sp_configure's

  • Configure SDK environment variables for Android Studio development(配置SDK环境变量)2022-03-02 19:31:50

    System environment variable settings Step 1 Add ANDROID_HOME 系统变量(S)$\rightarrow$新建 system variable$\rightarrow$NEW 添加变量名(add variable name):ANDROID_HOME 添加变量值(add variable value):你所安装的SDK路径,常规安装则在C:\Users\(Your username)\AppData\L

  • 移植jansson库2022-03-01 11:32:02

    目录1. 确认configure脚本2. 查看configure文件里的可用选项3. 依据编译环境,将选项填入合适的值FAQ 1. 确认configure脚本 若是工程中没有,使用autoreconf工具生成即可。 autoreconf -i 2. 查看configure文件里的可用选项 ./configure --help 3. 依据编译环境,将选项填入合适的值

  • Automake2022-02-21 13:31:13

    文章目录 Automake安装 automake使用2. hello.c源码3. 使用autoscan命令生成configure.scan文件4. 获得并且修改configure.ac(或configure.in)5. 使用aclocal工具生成aclocal.m46. 使用autoconf工具configure文件7. 使用autoheader工具生成config.h.in文件8. 手动添加必要

  • libmodbus编译arm linux库方法2022-02-16 14:03:22

    1、linux下直接 ./configure 在src下make即可 2、armlinux下 ./configure CC=arm-linux-gnueabihf-gcc --host=arm-linux --target=arm-linux 然后在src下make即可 编译后效果

  • 00044-centos 安装nginx2022-02-04 11:01:07

    要安装nginx的依赖pcre wget https://jaist.dl.sourceforge.net/project/pcre/pcre/8.44/pcre-8.44.tar.gz tar -xvf pcre-8.44.tar.gz cd pcre-8.44 安装编译 ./configure 这里出错: configure: error: no acceptable C compiler found in $PATH 需要安装GCC软件套件 yum install

  • 【LabVIEW】错误-1073807202 VISA Configure Serial Port 串口控件错误2022-01-31 20:31:08

    错误-1073807202 VISA Configure Serial Port 原因一: 串口停止位未正确设置,需要设置成10对应1位,15对应1.5位,20对应2位。 原因二: 未安装VISA驱动 labview驱动下载链接 从网页中找到VISA驱动 选择合适的版本和系统 安装后重新运行程序,功能即可正常

  • 【ResourceManagerService 分析】第九篇:MediaCodec 的 init(),configure(),start() 函数的调用 reclaimResource()的逻辑2022-01-31 18:35:13

    MediaCodec 的 init() 函数的调用 reclaimResource()的逻辑 // NO_MEMORY 的原因基本上是超宏块 static bool isResourceError(status_t err) { return (err == NO_MEMORY); } // reset() 的时候会调用, 创建 MediaCodec CreateByType(),CreateByComponentName() 的时

  • gcc 10 安装2022-01-31 15:58:32

    rsync rsync://mirrors.tuna.tsinghua.edu.cn/gnu/gcc/gcc-10.2.0/gcc-10.2.0.tar.gz ./ // 下载gcc10源码包 tar xvf gcc-10.2.0.tar.gz // 解压缩,默认解压出的文件夹名为gcc-10.2.0 mkdir objdir cd objdir/ // 新建一个编译目标文件暂存文件夹,官方文档不建议使用gcc源码包

  • kali 安装 python32022-01-23 21:32:36

    下载安装包 wget https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tgz 或者使用curl -O的命令 解压 tar -zxvf Python-3.9.9.tgz 编译安装 ./configure --enable-optimizations --prefix=/usr/local/Python3/ && make &&make install configure是用来进行用户个

  • 后端问题总结(一)之Identify and stop the process that's listening on port 8080 or configure this applica2022-01-16 15:32:45

    Identify and stop the process that's listening on port 8080 or configure this application to listen 因为我们SpringBoot的默认端口是server.port=8080,所以可能会导致端口占有的情况,下面这个问题可能是刚入门的时候经常会遇到的。Identify and stop the process that's list

  • FFMPEG+mp3+mp4转换2022-01-14 23:31:04

    一、安装mp3插件和mp4插件,无优先顺序。lame--libmp3lame的安装包,支持MP3编码;yasm--NASM的重写,用于编译ffmpeg 1、安装mp3插件 lame:LAME (Lame Aint an MP3 Encoder) - Browse /lame at SourceForge.net tar -zxf lame-3.100.tar.gz cd lame-3.100 ./configure make make install

  • Sybase数据库建库语句模板2022-01-11 16:03:53

    USE master gosp_configure "default character set id",171gosp_configure 'number of user connections',25gosp_configure 'max mem', 0,'8G' gosp_cacheconfig 'default data cache','2G'gosp_cacheconfig

  • 清除SQL Server缓存2022-01-10 19:02:11

    1 --强制释放内存 2 Create procedure [dbo].ClearMemory 3 as 4 begin 5 --清除存储过程缓存 6 DBCC FREEPROCCACHE 7 --清除会话缓存 8 DBCC FREESESSIONCACHE 9 --清除系统缓存 10 DBCC FREESYSTEMCACHE('All') 11 --清除

  • libcoap下载、安装、编译、报错解决、make死循环2022-01-10 16:03:33

    1. 下载 git clonehttps://github.com/obgm/libcoap 百度云盘 链接: https://pan.baidu.com/s/1LnsGwsW0Odmuo2FwB_006A 提取码:9020 2. 赋权 进入libcoap文件夹执行chmod 777 * 3. 编译和安装 【1】生成configure文件 ./autoconf 【2】生成makefile文件 ./configure 【3】编

  • eclipse +ns3环境搭建以及遇到的问题2022-01-07 15:59:47

    官方链接: https://www.nsnam.org/wiki/HOWTO_configure_Eclipse_with_ns-3 参考链接: https://www.cnblogs.com/zlcxbb/p/3852810.html 视频链接:(须翻墙观看) https://www.youtube.com/watch?v=2e5vPNb8YX8 https://www.youtube.com/watch?v=ZtamgYRHywY 解决问题: https://www.cnbl

  • Identify and stop the process that‘s listening on port 8080 or configure this application to listen2022-01-05 21:01:30

    错误产生环境 启动SpringBoot 项目是产生 错误描述 *************************** APPLICATION FAILED TO START *************************** Description: Web server failed to start. Port 8080 was already in use. Action: Identify and stop the process that's li

  • AdventureWrokd恢复数据库时之_LSN是什么?2022-01-02 09:04:06

    下面虚线框中表示的是什么               https://docs.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver15&tabs=tsql  

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

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

ICode9版权所有