code

VS Code中C开发多源文件的编译设置

1. 引言 C开发中,通常需要编译多个文件,本文将简要介绍在VS Code中进行C开发时如何编译多个文件。实例工程结构如图所示: 其中,main.c文件内容如下: #include "stdio.h" /* Includings */ #include "umath.h" #include "ucm ......
文件 Code VS

Visual Studio Code (VS Code) 中 常用的快捷键

在 Visual Studio Code (VS Code) 中,有许多常用的快捷键可以提高开发效率。以下是一些常用的快捷键: 1. 编辑器相关操作: - `Ctrl + P`:快速打开文件。 - `Ctrl + Shift + N`:打开新的编辑器窗口。 - `Ctrl + S`:保存当前文件。 ......
Code 快捷键 常用 Visual Studio

git@e.coding.net: Permission denied (publickey).

git@e.coding.net: Permission denied (publickey). 步骤一:打开 ~/.ssh/config 文件 步骤二:添加域名对应的 ssh_key 私钥 # bitbucket.org Host bitbucket.org AddKeysToAgent yes ......
Permission publickey coding denied git

vs code开发微信小程序配置

安装 小程序开发助手 安装 vscode-wechat 安装 wxml 安装 wechat-snippet 安装 vscode wxml 安装 vscode weapp api ......
程序 code vs

gin-vue-admin 接口错误Error: Request failed with status code 500

本地运行以后登录出现: 控制台检查发现是请求getMenu出现500错误,并且后端出现"Error 1071 (42000): Specified key was too long; max key length is 1000 bytes"错误,那就是数据库casbin_rule的表引擎不是Inn ......
gin-vue-admin 接口 错误 Request failed

blob:http Status Code: 206 Partial Content 视频去水印

从视频中删除水印 - 免费擦除徽标和日期 https://online-video-cutter.com/cn/remove-logo#google_vignette Status Code: 206 Partial Content blob:https://online-video-cutter. ......
水印 Partial Content Status 视频

oracle DES3 to Java code

oracle 加密 create or replace function des3_enc(input varchar2) return varchar2 is i_data varchar2(128); v_in varchar2(255); i_key varchar2(128); raw_in ......
oracle DES3 Java code DES

UNet pytorch模型转ONNX模型完整code

1 import os 2 import torch 3 import numpy as np 4 from Unet import UNET 5 os.environ["CUDA_VISIBLE_DEVICE"] = "" 6 7 def main(): 8 demo = Demo(model_p ......
模型 pytorch UNet ONNX code

Mac Os VS Code 无法升级Cannot update while running on a read-only volume.

macOS VS Code 无法升级,提示“Cannot update while running on a read-only volume“错误 提示错误如下: Cannot update while running on a read-only volume. The application ......
read-only running Cannot update volume

CentOS 7.9 防火墙启动报错--Process: 12848 ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=0/SUCCESS)

原因:配置防火墙策略过程中,多次启停防火墙,导致防火墙启动报错 报错截图: 排查: python版本是一致的,有一个遗留的防火墙进程 防火墙正常关闭后没有这个进程 解决办法: 杀掉这个进程,启动防火墙 ......

VS Code搭建Node.js环境

VS Code搭建Node.js环境 VS Code集成了方便的Node.js插件,使您可以轻松安装和配置Node.js环境。您可以采用以下步骤来搭建Node.js环境。 1. 安装VS Code 在VS Code官网上下载并安装VS Code 2. 安装Node.js插件 在VS Code插件市场 ......
环境 Code Node VS js

文件上传-code

1.导入上传文件gav坐标 <!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload --> <dependency> <groupId>commons-fileupload</groupId> <ar ......
文件 code

python Compile failed: command '/usr/bin/clang' failed with exit code 1 解决办法

一、升级pip pip3 install --upgrade pip 然后,更新设置工具: python3 -m pip install --upgrade setuptools ......
failed Compile command 办法 python

vs code 注释自定义颜色、高亮(使用better-comments插件)

一、下载安装扩展,扩展 -> 输入better-comments 搜索 -> 安装 二.此时的 .vue后缀 文件注释还未生效,需要修改.vscode配置 1.需要找到 aaron-bond.better-comments-3.0.2 -> out -> parser.js 修改全局配置文件 这里我 ......

"Go to Source" for Latex on VS Code does not seem to work

I recommend installing LaTeX Workshop instead of LaTeX Preview. Then use the following shortcuts for synctex (aka 'jumping' between code and pdf): fro ......
quot Source Latex Code does

vs code窗口透明和设置背景图

linux 版本 首先下载插件GlassIt-VSC 进入设置页面:按F1 ,搜索打开工作区设置,进入设置页面后搜索glassit.alpha,然后就可以设置透明度了. 【快捷键:透明度提高(Ctr + Alt +Z),透明度降低(Ctr + Alt +C)】 windows 版本 1.vscode ......
背景 code vs

报错:bucketId out of range: -1 (state=,code=0)

一、背景 datax同步postgre库表数据到hive表,同步完成后select报错 java.io.IOException: java.lang.IllegalArgumentException: Bucket ID out of range: -1 二、代码 1.hive 建表语句 creat ......
bucketId range state code out

[VM] Deopt code

const COUNT = Number.parseInt(process.argv[2] || "10"); console.log(`Running ${COUNT} iterations.`); let value = 0; export function benchA() { value = ......
Deopt code VM

Code Aesthetic

01 Abstraction Abstraction is the process of aggregating code with high similarity among multiple classes into one class to achieve common goals. The ......
Aesthetic Code

docker compose failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 18.04]: 403 Forbidden

使用docker build命令构建镜像报: “failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpected status code [manifests 18.04]: 403 Fo ......

15-Verilog Coding Style

Verilog Coding Style 1.为什么需要Coding Style 可综合性 - 代码需要综合成网表,如果写了一些不可综合的代码,会出现错误 可读性,代码通常有多个版本,所以需要保证代码的可读性 保证代码质量,方便后续的综合以及后端的布局布线 2.头文件 使用统一的文件头,其中包括: ......
Verilog Coding Style 15

P4057 [Code+#1] 晨跑 难度:普及

这道题目读完之后很好理解:求这三个数的最小公倍数 分析样例: 输入:2 3 5 输出:30 短除法都会吧(不会的去我百度账号看我发的文章,百度ID:Cy周边),2 3 5都不能被同时整除,所以就相乘呗: 2×3×5=30 与样例相等,读一个样例就能看出来,题目求最小公倍数 用一个自变函数gcd即可: ......
难度 P4057 4057 Code

2VS Code配置Go语言开发环境

VS Code是微软开源的一款编辑器,插件系统十分的丰富。本文就介绍了如何使用VS Code搭建Go语言开发环境。 因为Go语言及相关编辑工具的更新迭代,本文已于2020/03/25更新,可能会和视频有所出入,请以更新后的本文为准。 VS Code配置Go语言开发环境 说在前面的话,Go语言是采用U ......
语言 环境 Code 2VS VS

Visual Studio Code - 是否有类似于Notepad++插件的比较功能?

内容来自 DOC https://q.houxu6.top/?s=Visual Studio Code - 是否有类似于Notepad++插件的比较功能? 是否有类似于Notepad++插件的比较功能? 你可以从资源管理器中的工作文件区域或文件夹区域比较文件。还可以从命令面板触发全局比较操作。 打开 ......
插件 Notepad 功能 Visual Studio

PHP file_get_contents(): SSL operation failed with code 1. OpenSSL Error message...

在调试php脚本代码时,发现使用 file_get_contents() 函数请求HTTPS的网址链接时出现了报错,其报错代码如下面所示“file_get_contents(): SSL operation failed with code 1. OpenSSL Error message...”百 ......

VS Code无法执行命令

问题: 使用npm install命令后,无法正常执行,显示不支持 解决方案: 以管理员身份运行VS Code后,在终端中执行:set-ExecutionPolicy RemoteSigned。 参考于: https://www.cnblogs.com/helow/p/14685283.html h ......
命令 Code VS

code.009

1.https://wwze.lanzoub.com/iQNh51df3qdc 2.https://wwze.lanzoub.com/iiGNB1df3txa 3.网盘https://pan.baidu.com/s/19OtTFblnX3tgVQloSpoanw 提取码:qaf2 4.https:/ ......
code 009

net core 在 vs code 或者 rider 无法调试的其中一个解决方法

去掉 csproj 里面 的但文件发布 配置 这个加上了 就不能调试 了,vs里面倒可以调试 , 但是 不知道为啥 rider 或者 vscode 不行 vscode 会说 net clr 有问题, rider 里面会说 发生一个或多个错误 ......
方法 rider core code net

[929] datetime format (strftime() and strptime() Format Codes)

ref: strftime() and strptime() Format Codes The following is a list of all the format codes that the 1989 C standard requires, and these work on all p ......
datetime strftime strptime Format format

《clean code》读书笔记

《clean code》正如其书名所言,是一本关于整洁代码规范的“教科书”。作者在书中通过实例阐述了整洁代码带来的种种利处以及混乱代码、冗余注释等带来的毁灭性后果,并且结合多段代码块、非常详尽地将“书写整洁代码的技巧与守则”教给读者。以下,是我本周细读其前四章的心得体会。 为什么要写整洁代码?书中首 ......
笔记 clean code