code

Vue学习笔记之gyp: No Xcode or CLT version detected! gyp ERR! stack Error: `gyp` failed with exit code: 1

0x00 现象 MacOS在执行npm install下载项目的依赖包的时候出现的gyp报错,报错内容如下: No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com.apple.pkg. ......
gyp detected version 笔记 failed

使用 QR code实现微信扫码支付 实测有效

直接给代码自己理解 html部分: <el-button type="primary" @click="recibo(scope.row)">确认收货</el-button> <div> <el-dialog title="付款码" :visible.sync="moneyShow" width=" ......
code QR

关于公司项目学习遇到的问题:VS+VS Code 网页项目

0608 14:30 公司项目启动问题:VS+VScode运行后发现网页无法登录,VS后台报错,F12跳后台显示GET请求失败,redis-cli试了一下发现服务关掉了。 //环境配置:https://www.cnblogs.com/yyn20230517/p/17459837.html //red ......
项目 网页 问题 公司 VS

曲线艺术编程 coding curves 第六章 平托图 (Pintographs)

# 第六章 平托图 (Pintographs) > 原作:Keith Peters https://www.bit-101.com/blog/2022/11/coding-curves/ > 译者:池中物王二狗(sheldon) > blog: http://cnblogs.com/willian/ ......
Pintographs 曲线 艺术 coding curves

PHP Xdebug 3 和 Visual Studio Code

Xdebug3 相对于Xdebug2改动挺大的。在php.ini 里下面的设置就够了,不需要多余的。默认调试端口 9003 [XDebug] zend_extension = "php_xdebug.dll" xdebug.mode = debug xdebug.start_with_request ......
Xdebug Visual Studio Code PHP

VS Code 同时打开多个项目文件以及同时运行多个项目

使用需求:在开发前端项目时,我们经常会打开多个项目进行参考或者需要代码调试,记录一下VS Code中的使用方法。 如何打开多个终端,并执行运行命令呢? 1.打开“终端”(工具栏:“查看”->“终端”)2.点击右上角的“拆分终端”3.在两个终端界面下,分别运行你需要开启的项目 如何打开多个项目? 1、 ......
多个 同时 项目 文件 Code

微软为 VS Code 带来 C# 开发套件

微软于今天在 Marketplace 上架了一款适用于 Visual Studio Code 的官方 C# 开发套件 —— C# Dev Kit,通过更好地管理、测试,以及提供全新的 AI 功能,为 Linux、macOS 和 Windows 平台的开发者带来了更好的 C# 开发体验。 根据微软官方 ......
套件 Code VS

曲线艺术编程 coding curves 第五章 谐波图形(谐振图形) HARMONOGRAPHS

> 原作:Keith Peters https://www.bit-101.com/blog/2022/11/coding-curves/ > 译者:池中物王二狗(sheldon) > blog: http://cnblogs.com/willian/ > 源码:github: https://gi ......
图形 谐波 谐振 HARMONOGRAPHS 曲线

How do you display code snippets in MS Word preserving format and syntax highlighting?

How do you display code snippets in MS Word preserving format and syntax highlighting? 回答1 Here is the best way, for me, to add code inside word: Go t ......

Unexpected character '"' (code 34) in DOCTYPE declaration; expected a space between public and system identifiers

1)错误信息 Caused by: javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service. at org.apac ......

关于环境配置的步骤:VS+VS Code 网页项目

参考资料: https://blog.csdn.net/weixin_43883917/article/details/114632709 https://blog.csdn.net/qq_39367410/article/details/126892822 https://blog.csdn.ne... ......
步骤 环境 网页 项目 VS

Visual Studio Code mac好用的微软免费代码编辑器

Visual Studio Code是微软官方的编码工具,被称为"代码编辑器",支持众多的编程语言,包括C、C++、 Python等。 但是它仅支持文本编辑功能,所以一般使用它来完成一些简单的编程。但 Visual Studio Code的功能并不只限于文本编辑,它还提供了很多其他功能。 Visua ......
免费代码 编辑器 代码 Visual Studio

Windows之Visual Studio Code添加右键菜单

## 背景 通常如果直接从官网下载Visual Studio Code安装包,我们只需要在安装界面勾选那两个复选框就行了,它会安装后帮我们自动添加右键支持,但是,如果我们使用全新的Winget手段安装,因为是静默的,所以没有机会做这个勾选,那么我们只能手动给Visual Studio Code添加右 ......
菜单 Windows Visual Studio Code

TR069事件类型(EVENT CODE对应的含义)

0 BOOTSTAP指出由于CPE第一次安装或是ACS的URL改变而引起会话建立。这种特殊的情况有:1)出厂后CWMP端第一次与ACS连接;2)出厂设置后,CWMP端第一次与ACS连接;3)由于某种原因ACS的URL改变后CWMP端第一次与ACS连接。注意,0 BOOTSTARP可能和其他事件代码一 ......
含义 类型 事件 EVENT CODE

pip 安装错误 Command "python setup.py egg_info" failed with error code

python setup.py install File "setup.py", line 7 def read(rel_path: str) -> str: ^SyntaxError: invalid syntax wget https://bootstrap.pypa.io/pip/2.7/ge ......
quot egg_info 错误 Command failed

Utools code-snippet 代码快捷粘贴

# 添加快捷代码 语法: ![](https://img2023.cnblogs.com/blog/2171496/202306/2171496-20230605132907894-2084713355.png) ![](https://img2023.cnblogs.com/blog/217149 ......
code-snippet snippet 代码 Utools code

在 VS Code 中使用 GitHub Actions 以及 在仓库中创建一个 .github/workflows 目录

在 VS Code 中使用 GitHub Actions 需要完成以下步骤: 1. 首先,需要在 GitHub 上创建一个仓库,并在仓库中创建一个 `.github/workflows` 目录,用于存放 GitHub Actions 的工作流文件。 2. 在 VS Code 中打开该仓库,并在左侧的 ......
仓库 workflows Actions 目录 GitHub

【VS Code 与 Qt6】QCheckBox的图标为什么不会切换?

本篇专门扯一下有关 QCheckBox 组件的一个问题。老周不水字数,直接上程序,你看了就明白。 #include <QApplication> #include <QWidget> #include <QPushButton> #include <QCheckBox> #include <QVBo ......
图标 QCheckBox Code Qt6 Qt

曲线艺术编程 coding curves 第三章 弧,圆,椭圆(ARCS, CIRCLES, ELLIPSES)

# 第三章 弧,圆,椭圆(TRIG CURVES) > 原作:Keith Peters https://www.bit-101.com/blog/2022/11/coding-curves/ > 译者:池中物王二狗(sheldon) > blog: http://cnblogs.com/willia ......
椭圆 曲线 ELLIPSES CIRCLES 第三章

导入keras报错Process finished with exit code -1073741819 (0xC0000005)

1. 遇到报错问题 导入keras报错Process finished with exit code -1073741819 (0xC0000005) 查看chatgpt后,给出的解答如下: 2. tensorflow与keras兼容问题 关于版本兼容问题,以下是chatGPT3.5给的答案,具体更 ......
1073741819 finished Process 0000005 keras

vue3项目安装依赖报错 npm ERR! code ERESOLVE

vue3项目安装依赖报错 npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: element-plus@1.0.2-beta.71 npm ERR! Found:  ......
ERESOLVE 项目 vue3 code vue

曲线艺术编程 coding curves 第二章 三角函数曲线(TRIG CURVES)

# 第二章 三角函数曲线(TRIG CURVES) > 原作:Keith Peters > 原文:https://www.bit-101.com/blog/2022/11/coding-curves/ > 译者:池中物王二狗(sheldon) > blog: http://cnblogs.com/w ......
曲线 函数 第二章 艺术 coding

解决 NVIDIA Windows has stopped this device because it has reported problems. (Code 43)

## 场景 1. 当跑需要使用GPU算力的一些项目时候,需要用到CUDA,确保电脑是具有独立显卡的机子,但是怎么也没法让代码中的torch跑在GPU上; 2. 点击任务管理器查看"性能"下的GPU选项,看到运行中的并非是独立显卡而是集成显卡; 3. 点击设备管理器,发现NVIDIA显卡左下角有感叹号 ......
has reported problems Windows because

是 CI 也是阿拉伯飞毯——腾讯云 CODING CI 3.0 云原生构建

在没有神灯和飞毯前,阿拉丁只是一名普通的程序员。 一天,老板双手环臂,站在阿拉丁的工位旁说:“阿丁,咱们最近**公司业务变化快,发版节奏远远跟不上**,你思考一下,解决的话请你吃意大利烧饼。”听到意大利烧饼,阿拉丁的口水都流了下来,袖管一擦,鼓足干劲,说干就干,从此踏上寻找解决方案的漫漫征途。 穿越 ......
飞毯 CODING CI 3.0

翻译-Automatic detection of Long Method and God Class code smells through neural source code embeddings

# Automatic detection of Long Method and God Class code smells through neural source code embeddings 通过神经源代码嵌入自动检测 Long Method 和 God Class 代码异味 Aleksa ......
code embeddings Automatic detection through

CODE FESTIVAL 2016 qual C

你说的对,但是我觉得应该先把 qual C 写完再去学什么东西。 ## CF codeforces. ```cpp #include #include #include #include #include using namespace std; int n; char s[110]; int ma ......
FESTIVAL CODE 2016 qual

SpringBoot 设置HTTP Status Code

HTTP请求响应的内容有很多,包括Body、Cookies、Headers和Status。 我们最常用的是Body、其次Headers、Cookies。而HTTP Status Code关注得最少。 HTTP Status Code 分类分类描述 1** 信息,服务器收到请求,需要请求者继续执行操作 ......
SpringBoot Status HTTP Code

selenium-some code

from selenium import webdriver driver = webdriver.Chrome() driver.get("http://selenium.dev") #driver.quit() from selenium import webdriver option = we ......
selenium-some selenium code some

CODE FESTIVAL 2016 qual B

本来预计今天考试喜提两个流汗黄豆(不知道流汗黄豆代表什么可以找 emojiforces 插件)的,然而只有一个。挂了 $20$ 分,于是平均分 $-20$。那似乎也是平均分 $-100$。那似乎也可以是平均分 $-150$。说着题质量不好评价,假归假,菜的真实。 愚者之夜(Ynoi TEST_86, ......
FESTIVAL CODE 2016 qual

CODE FESTIVAL 2016 qual B E 题解

以下 $\Sigma$ 为字符集。 首先单次询问 $O(|\Sigma||S|)$ 的暴力是显然的:建出 trie 树,然后每次把对应的字符串在上边扫,加上对应位置比它小的子树的大小。 然后接下来有两种方法。 ## 正解 首先在线大概是没什么前途的,考虑离线,建出 trie 树之后在上边 dfs,处 ......
题解 FESTIVAL CODE 2016 qual