languages coding smart used

code

#include "mainwindow.h" #include "ui_mainwindow.h" #define LED_ON setStyleSheet("background-color:lightGreen;") #define LED_OFF setStyleSheet("backgro ......
code

cocoapods Xcode 14.3 Archive Command PhaseScriptExecution failed with a nonzero exit code

Xcode 升级到14.3 进行 Archive Command PhaseScriptExecution failed with a nonzero exit code 解决方法 Xcode 搜索 source="$(readlink -f "${source}")" 将 source="$(re ......

Massey University 159.341 Programing Languages, Algorithms and Concurrency assignment2

完成了Massey大学的Programing Languages, Algorithms and Concurrency这门课的作业2。作业要求主要是模拟电梯使用的实现,提供的代码是C语言。 完成效果演示如下 Problem to solve An incomplete C implementati ......

cpp:Double Dimensional Array using vector 2

// StudentArry.h : 此文件包含 "StudentArry" 类。学生数组成绩显示方法 C++ 14 // 2023年4月9日 涂聚文 Geovin Du edit. //(1)vec1.size() 就是”二维数组”的行数 //(2)vec1[0].size() 就是”二维数组”的 ......
Dimensional Double vector Array using

LoRA(Low-Rank Adaptation of Large Language Models)-- 一种大模型prompt-tuning调优方法

一、Pre-train + Fine-tuning范式 0x1:为什么要微调 对于数据集本身很小(几千张图片/几千段文本)的情况,从头开始训练具有几千万参数的大型神经网络是不现实的,因为越大的模型对数据量的要求越大,过拟合无法避免。这时候如果还想用上大型神经网络的超强特征提取能力,只能靠微调已经训练 ......

golang 编译问题:gorm.io/plugin/dbresolver@v1.2.1/dbresolver.go:139:18: cannot use map[string]gorm.Stmt{} (value of type map[string]gorm.Stmt) as type map[string]*gorm.Stmt in struct literal

golang 执行 sh build 来编译项目时,发现了有报错 pkg/mod/gorm.io/plugin/dbresolver@v1.2.1/dbresolver.go:139:18: cannot use map[string]gorm.Stmt{} (value of type map[s ......
gorm string dbresolver Stmt map

Konga versions equal to or below v0.14.9 use the default TOKEN_SECRET

Vulnerability Description Kong is a clould-native, fast, scalable, distributed microservice abstraction layer (also known as API gateway, API middlewa ......
TOKEN_SECRET versions default SECRET Konga

2 第二章 Visual Studio Code简介

2.1 Visual Studio Code概览 跨平台 IntelliSense 代码调试 内置的Git支持 2.2 Visual Studio Code简史 微软的Build是一个开发者大会,旨在为开发人员提供最新的技术和工具,以帮助他们构建更好的应用程序。这个大会通常会涵盖各种主题,包括人工智 ......
第二章 简介 Visual Studio Code

1 第一章 如何学习Visual Studio Code

1.1 学会搜索 Google Stack Overflow VS Code官网:https://code.visualstudio.com/ VS Code Github网址:https://github.com/microsoft/vscode Visual Studio Code官网有着很详尽 ......
Visual Studio Code

system_code

env 环境变量 1.ubuntu查看和添加环境变量 程序运行的过程中,需要考量许多环境变量,最常用的是通过export去新建或变更一个当前窗口用户的环境变量。 env | grep env_name or set | grep env_name or echo $env_name可以查看系统环境变 ......
system_code system code

How to fix use the cURL to connect to GitHub with a 443 HTTPS error All In One

How to fix use the cURL to connect to GitHub with a 443 HTTPS error All In One curl: (7) Failed to connect to raw.githubusercontent.com port 443: 拒绝连接... ......
to connect GitHub HTTPS error

VS Code 有哪些好用的插件呢?【持续更新】

一、画图工具:vscode-drawio 功能:在 VSCode 中画流程图、数据流图等等。 使用方法: 创建一个后缀名为 .drawio 的文件,然后用 VSCode 打开即可。 效果如下图: 二、格式化工具:Pretty Formatter 功能:格式化文档,包括 js、json、html、cs ......
插件 Code VS

Access denied for user ‘root’@‘localhost’ (using password: YES)

今天跟着尚硅谷的springboot2视频学习,在连接mysql数据库时出现问题,报错如标题: Access denied for user ‘root’@‘localhost’ (using password: YES), 寻找到的解决办法如下: 加单引号 ......
localhost password Access denied using

启动SSH服务报:Job for ssh.service failed because the control process exited with error code.......

Job for ssh.service failed because the control process exited with error codesee systemctl status ssh.service and journalctl -xe for details.然后按照提示输入: ......
because control service process failed

How to use Linux shell command filter the IP address All In One

How to use Linux shell command filter the IP address All In One 如何使用 Linux shell 命令过滤 IP 地址 ......
command address filter Linux shell

cpp:Double Dimensional Array using vector

// StudentArry.cpp : //练习案例:学生数组成绩显示方法 StudentArry //案例描述:学生数组成绩显示方法 #include "StudentArry.h" #include <iostream> #include <string> #include <vector> ......
Dimensional Double vector Array using

WARNING: You are using pip version 20.1.1; however, version 23.0.1 is available.问题的解决

在使用终端界面下载Python第三方库时 发出警告:WARNING: You are using pip version 20.1.1; however, version 23.0.1 is available. 问题解决 点击开始,再进入Windows系统,然后再点击命令提示符,右键选择以管理员身 ......
version available WARNING however 问题

IDE-Visual Studio Code-Extension-离线安装PlantUML

#IDE-Visual Studio Code-Extension-离线安装PlantUML https://www.hd2y.net/archives/plantuml-installation-and-use PlantUML + Graphviz + Java PlantUML Extensi ......

如何在VS Code中安装和使用CodeGPT

人工智能改变世界的众多方式之一是通过智能代码完成和将自然语言转换为代码。在这一领域,OpenAI凭借其GPT-3系列Codex模型和最新的GPT-4模型一直处于领先地位。因此,如果你想在Visual Studio Code本身中使用ChatGPT,请按照本教程了解CodeGPT。它是一个位于VS C ......
CodeGPT Code

How to use the Raspberry Pi to study the Linux kernel source code All In One

How to use the Raspberry Pi to study the Linux kernel source code All In One 如何利用树莓派来研究 Linux 内核源码 All In One 在 Linux 系统中,一切皆文件! ......
the Raspberry kernel source Linux

储存数据至mysql数据库时出现 (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '),'自营店')' at line 1")报错该怎么解决?

在msyql数据库中存储数据时,程序出现了如下报错: 打印存储的数据类型发现数据类型有错误,将数据转为str类型就可以了。。。 解决思路: 在初入数据库学习时,出现这个报错还是有些懵的,于是改了捕获异常,发现存储数据函数有问题。从报错中可以看出是有跟'自营店'类似的数据有关系的,于是,查看了自己的数 ......
数据 syntax 39 quot your

Visual Studio Code开发常用的工具栏选项,查看源码技巧以及【vscode常用的快捷键】

一、开发常用的工具栏选项 1、当前打开的文件快速在左侧资源树中定位: 其实打开了当前的文件已经有在左侧资源树木定位了,只是颜色比较浅 2、打开太多文件的时候,可以关闭 3、设置查看当前类或文件的结构 OUTLINE 相当于idea 查看当前类或接口的结构 Structure 二、查看源码技巧: (1 ......
常用 快捷键 工具栏 源码 技巧

Visual Studio Code 常见的配置、常用好用插件以及【vsCode 开发相应项目推荐安装的插件】

一、VsCode 常见的配置 1、取消更新 把插件的更新也一起取消了 2、设置编码为utf-8:默认就是了,不用设置了 3、设置常用的开发字体:Consolas, 默认就是了,不用设置了 字体对开发也很重要,不同字体,字母形态都不太一样,尤其是标点符号,逗号和分号的区分,有的字体看着这两者就很像 4 ......
插件 项目推荐 常见 常用 项目

免费的HwBasicLib4S7-200Smart组件库

HwBasicLib是我们旗下的通用组件库,目前包含了S7-1200/1500+TIA WinCC和经典WinCC等多款产品。今天介绍的是其中的一款HwBasicLib4S7-200Smart组件库。该库是从最开始的HwBasicLib4S7-200组件库升级而来。因为我们已经有好几年不再使用S7- ......

how to use cURL with a variable in the URL string All In One

how to use cURL with a variable in the URL string All In One 如何在 cURL 的 URL 字符串中使用变量 系统变量 环境变量 shell 变量 ......
variable string cURL with how

How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One

How to use SSH to access the Raspberry Pi without know the Wi-Fi IP address All In One 如何在不知道 Wi-Fi IP 地址的情况下使用 SSH 访问树莓派 没有显示器,不知道树莓派 IP 地址的情况下,如何通过 ... ......
Raspberry the address without access

Raspberry Pi Code Editor All In One

Raspberry Pi Code Editor All In One GPIO module bug ......
Raspberry Editor Code All One

为什么要code review

1. 简介 本文将介绍 Code Review的相关内容,包含为什么要Code Review,以及Code Review主要review哪些部分的内容,之后讲述如何才能形成一套比较好的Code Review规则和流程。后续讲述了Code review中一些可以遵守的比较好的规则,最后讲述了如何才能让 ......
review code

Python-approaches-frequently-used

Python 常用方法 methods of List index() index() 函数用于从列表中找出某个值第一个匹配项的索引位置。 index() 方法语法: list.index(x[, start[, end]]) 获取第一个最简单了,list.index(x) 请确保元素x在 list ......

How to use command line find all users on Linux All In One

How to use command line find all users on Linux All In One Linux 系统中一切皆文件, 就像 js 中一切皆对象一样 /etc/passwd ......
command Linux users line find