CODE

ch-code.py

1 #!/usr/bin/python 2 # coding=utf-8 3 4 ''' 5 Python中默认的编码格式是 ASCII 格式,在没修改编码格式时无法正确打印汉字,所以在读取中文时会报错。 6 7 解决方法为只要在文件开头加入 # -*- coding: UTF-8 -*- 或者 # ......
ch-code code ch py

Visual Studio Code 远程调试 Twemproxy

要使用 Visual Studio Code 远程调试 Twemproxy,请按照以下步骤操作: 安装所需扩展和软件 在 VSCode 中安装 Remote - SSH 扩展。 确保远程主机上已安装 gcc、make 和 gdb 等编译和调试工具。 配置 SSH 连接 打开 VSCode,并点击左侧 ......
Twemproxy Visual Studio Code

浅谈Code Review

# 1. 什么是Code Review Code Review(CR)即代码评审,又名代码走查,是指对软件开发过程中编写的代码进行检查和评估的一种实践。它通常由其他团队成员、同事或专门的质量保证团队成员来执行。Code Review的目的是发现代码中的潜在问题、改进代码质量和可维护性,并确保代码符合 ......
Review Code

External Identity Provider with ASP.NET Core Identity - Code Maze (code-maze.com)

External Identity Provider with ASP.NET Core Identity - Code Maze (code-maze.com) Using an external identity provider while login to the application i ......
Identity code-maze External Provider Core

【HMS Core】生成二维码报错QR_CODE Format | No enum constant com.huawei.hms.scankit.p.b3.e

​【问题描述】 近期,有开发者反馈,使用buildBitmap接口来生成码图报错 ​ 参考链接: https://developer.huawei.com/consumer/cn/doc/development/HMSCore-Guides/scan-generate-barcode-0000001 ......
constant QR_CODE scankit Format huawei

.NET 8 Preview 6发布,支持新的了Blazor呈现方案 和 VS Code .NET MAUI 扩展

2023年7月11日 .NET 8 Preview 6,.NET 团队在官方博客发布了系列文章:Announcing .NET 8 Preview 6[1]ASP.NET Core updates in .NET 8 Preview 6[2]Announcing .NET MAUI in .NET ......
NET Preview 方案 Blazor Code

websocket客户端自动关闭,返回code为1000的原因

websocket请求连接后自动关闭,返回关闭码为1000 首先,说下原因。是因为后台返回了一个空字符串,当websocket接收到空字符串是无法判断,当错误处理了,所以主动关闭了连接。 参考这片文章:https://blog.csdn.net/jintingbo/article/details/8 ......
websocket 客户端 原因 客户 code

VS Code

文件操作:查找文件:Command + P查找声名:Command + Shift + O 编辑操作:查找:Command + F替换:Command + Option + F全局查找:Command + Shift + F全局替换:Command + Shift + H复制一行:Shift + O ......
Code VS

code

``` /* code加上行数 */ .cnblogs-markdown .syntaxhighlighter table td.code { width:95% !important; } .cnblogs-markdown .syntaxhighlighter code { font-famil ......
code

Visual Studio Code调试和发布ASP.NET Core Web应用

前言 上一篇文章主要讲了Visual Studio Code安装C#开发工具包并编写ASP.NET Core Web应用有兴趣的同学可以去看看,今天咱们主要是要讲讲如何在VS Code中调试和发布ASP.NET Core Web应用。 配置launch.json文件 launch.json 文件是 ......
Visual Studio Code Core ASP

CODE FESTIVAL 2017 Final J 题解

[problem](https://www.luogu.com.cn/problem/AT_cf17_final_j) & [blog](https://www.cnblogs.com/liangbowen/p/17542298.html)。 萌萌点分治,积累个 trick /qq。 > 对于完全图 ......
题解 FESTIVAL Final CODE 2017

K8S 启动 code-server

## K8S 启动 code-server 复制下面的 yaml 文件到 k8s master 节点 ```yaml apiVersion: apps/v1 kind: Deployment metadata: name: code-server spec: replicas: 1 selector ......
code-server server code K8S K8

ChatGPT Code Interpreter 高级指南

代码解释器 Code Interpreter (Alpha) 是一个实验性的 ChatGPT 模型,具备以下功能 使用 Python 进行编程:模型内置一个 Python 解释器,可以运行 Python 代码。 处理上传和下载:支持将文件上传到当前对话工作区,并下载工作结果。 沙箱化执行环境:解释器 ......
Interpreter ChatGPT 指南 Code

Visual Studio Code安装C#开发工具包并编写ASP.NET Core Web应用

前言 前段时间微软发布了适用于VS Code的C#开发工具包(注意目前该包还属于预发布状态但是可以正常使用),因为之前看过网上的一些使用VS Code搭建.NET Core环境的教程看着还挺复杂的就一直没有尝试使用VS Code来编写.NET Core。不过听说C# 开发工具包提供了一系列功能和扩展 ......
工具包 工具 Visual Studio Code

How to Install Visual Studio Code on Ubuntu 20.04

https://code.visualstudio.com/download https://visualstudio.microsoft.com/zh-hans/free-developer-offers/ How to Install Visual Studio Code on Ubuntu 2 ......
Install Visual Studio Ubuntu 20.04

创建 Code Interpreter Demo: 一次实践的探索

好消息,好消息,Code Interpreter可以测试使用了!!!在这篇文章中,我们将探索如何创建一个 Code Interpreter Demo ......
Interpreter Code Demo

argocd + kustomize 报错“rpc error: code = Unknown desc = Manifest generation error (cached)”

argocd + kustomize 报错“rpc error: code = Unknown desc = Manifest generation error (cached)” 报错内容 报错内容为:rpc error: code = Unknown desc = Manifest genera ......
error generation kustomize Manifest Unknown

Visual Code 配置 Anaconda解释器

PyCharm比较“重量级”,可以选择轻量级的集成开发环境(Integrated Development Environment,IDE)来运行简单代码 # 软件安装 1.安装VS Code 2.安装Anaconda # 环境配置 1.安装Python插件(插件默认安装到C盘的一个位置) ......
解释器 Anaconda Visual Code

记一次前端npm报错“ error Command failed with exit code 1.”

记一次前端npm报错“ error Command failed with exit code 1.” 现象 报错日志如下 script returned exit code 1 [2023-07-07 23:12:06] + yarn --cwd /root/workspace build:tes ......
前端 Command failed error code

Multi-Modal Attention Network Learning for Semantic Source Code Retrieval 解读

# Multi-Modal Attention Network Learning for Semantic Source Code Retrieva Multi-Modal Attention Network Learning for Semantic Source Code Retrieval,题 ......

如何设置VS Code 中 Markdown粘贴图片的位置

# 如何设置VS Code 中 Markdown粘贴图片的位置 > TL;DR: 使用VS Code中的 markdown.copyFiles.destination 配置项,可以设置粘贴图片的位置。 VS Code内的markdown编辑器应该算是比较好用的,但是有一个问题一直困扰着我,就是在编辑 ......
Markdown 位置 图片 Code

vue项目报错:Node.js v18.16.1 error Command failed with exit code 1.

原因: 把node升级到了最新的长期支持版18.16.1,结果运行vue项目启动失败,报错如下: ![](https://img2023.cnblogs.com/blog/1222453/202307/1222453-20230705102711598-990400528.png) 试了各种办法都解 ......
Command 项目 failed error Node

IDEA: File and code Templates

https://www.jetbrains.com/help/idea/file-template-variables.html /**encoding: utf-8 # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 1 ......
Templates IDEA File code and

PyCharm 2023.1 File and code Templates

from: File template variables | PyCharm Documentation (jetbrains.com) https://www.jetbrains.com/help/pycharm/file-template-variables.html#custom_templ ......
Templates PyCharm 2023.1 2023 File

CF1804H Code Lock

牛逼题,但是卡常。 首先显然指针会从密码串第 $1$ 个位置开始,因此我们需要关心的就是相邻两个位置的值。只需要求出 $c_{x,y}$ 表示前一个是 $x$,后一个是 $y$ 的个数即可。 考虑一般的按顺序填的状压,总是避免不了顺序的问题,总是与 $k!$ 有关,我们需要一个合适的计算贡献的方法。 ......
1804H 1804 Code Lock CF

51.pyinstaller打包后,打开exe程序提示SyntaxError: Non-UTF-8 code starting with '\x90' in file的问题

最后开发了一款小工具,然后确定一切测试没有问题,想通过pyinstaller将其打包成exe,像类似的打包以前也经常打包的,复杂一点的也都是打包成功的,但这里感觉程序很简单,打包居然出现了以下错误。 我的python版本是3.8.9,然后pyinstaller版本是5.9.0,不知道会不会是版本不兼 ......

DevChat:将 GPT-4 无缝融入 VS Code,极致提升你的编程体验

[TOC] ## 一、絮絮叨叨 用 GPT 辅助编程是啥体验?用 DevChat 辅助编程是啥体验?体验就是,每天和这货聊聊天,事情就干完了,你看: ![](https://img2023.cnblogs.com/blog/998740/202306/998740-20230630183408710 ......
无缝 极致 DevChat Code GPT

场景报错解决方案Error -27492: "HttpSendRequest" failed, Windows error code=12029 (cannot connect) and retry limit (0) exceeded for URL=""

解决方法1: 今天在调试Loadrunner HTTP/HTML脚本的时候出现报错Error -27492,通过将HTTPS请求修改为HTTP请求,问题得到解决。 Action.c(206): Error -27492: "HttpSendRequest" failed, Windows error ......

ASCII = American Standard Code for Information Interchange

Text only语言: Ascii码表(全)ASCII Table (7-bit) (ASCII = American Standard Code for Information Interchange) Decimal Octal Hex Binary Value 000 000 00 0000 ......

VS Code SSH

VS Code SSH 连接需要下载 VS Code Server,这是因为 VS Code Server 是在远程服务器上运行的,而不是在本地计算机上运行的。每次连接到不同的远程服务器时,都需要下载相应的 VS Code Server,以确保与远程服务器的兼容性。 如果您希望避免每次连接时都需要下 ......
Code SSH VS