languages coding smart used

数据结构与算法coding过程中的记录

1.init()时一定要记得malloc()申请新的内存空间(如果不申请内存空间程序返回的值是有内存里的脏数据,把人看得云里雾里找不到问题出在哪) 2.带头结点单链表尾插法要注意:若LNode *p = L->next; 循环条件是while(p != NULL){p = p->next;},那么最 ......
数据结构 算法 过程 结构 数据

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

删除Docker镜像报错 image is being used by stopped container ae8f224fe0e1

该报错原因是因为镜像被其他容器引用 1.查询所有容器 包括未运行的 docker ps -a 2. 删除容器 docker rm 5573214dd069 3.删除镜像 docker rmi 9c7a54a9a43c ......
container 镜像 stopped Docker image

How to use handleChange() function in react component?

An onChange event is triggered when values are entered in the input. This fires a function handleChange(), that is used to set a new state for the inp ......
handleChange component function react How

【转】python踩坑(FileNotFoundError: Could not find module '此处省略了一些路径win_amd64.dll' (or one of its dependencies). Try using the full path with constructor syntax.)

1、报错 (FileNotFoundError: Could not find module '此处省略了一些路径\site-packages\scipy\.libs\libbanded5x.GL5FZ7Y77HIKQFNMZKUOMV5GID6YMX2V.gfortran-win_amd64.dl ......

react-native项目启动报错 Error: `fsevents` unavailable (this watcher can only be used on Darwin)

react-native项目启动报错——watchman安装问题(mac pro) Looking for JS files in /Users/你的名称/Documents/project/文件夹名 Loading dependency graph.../Users/你的名称/Documents/ ......

centos7 安装 pylzma 失败:/usr/bin/ld: this linker was not configured to use sysroots

问题背景: centos7 安装 pythond的 pylzma 模块失败。 报错内容: pip install pylzma Collecting pylzma Using cached pylzma-0.5.0.tar.gz (4.2 MB) Building wheels for collec ......
configured sysroots centos7 centos pylzma

在Vscode使用命令npm报错-The operation was rejected by your operating system. npm ERR! It's possible that the file was already in use (by a text editor or antivirus)

##报错信息: PS D:\disk\xubo\个人博客文章\27-Vue\资料(含课件)\vuedemo\vueproject> npm i pubsub-js npm ERR! code EPERM npm ERR! syscall open npm ERR! path D:\disk\soft ......
npm antivirus operation operating was

java.net.BindException: Address already in use: JVM_Bind <null> 的解决方案

# 问题描述 > 在学习SSM整合中 , 启用Tomcat插件时出现以下错误 ```java java.net.BindException: Address already in use: JVM_Bind ``` 通过查阅资料发现是端口被占用了 # 解决方案 通过命令查看进程 , 这里我的是808 ......

CF1804H Code Lock

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

级联下拉的实现方式(如省市县)-1 Smart Selects方式

https://django-smart-selects.readthedocs.io/en/latest/usage.html 特点: 简单,不容易定制,适合简单的关联下拉,只能是table-table 有单选、多选、guoup分组等3种组合 from django.db import model ......
方式 省市 Selects Smart

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

VS2022 - 取消global using

### 如何取消global using? 最近下载最新版VS之后,会自动生成GlobalUsings.g.cs, 每次都想删除掉,但是都不好用,查了官网, 需要手动添加如下配置: `disable` 在csproj文件,也就是双击项目名,可以打开 ``` netcoreapp3.1 enable ......
global using 2022 VS

C#中的using用法总结

using一般有两个作用: 1、作为语句,用于定义一个范围,在此范围的末尾将释放对象(IDisposable和IAsyncDisposable接口) 2、作为指令,用于引入命名空间或者类型,或者为引入的命名空间或者类型定义别名 using语句 using语句应该都很熟悉了吧,从最早的ADO.net, ......
using

场景报错解决方案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 ......

java.sql.SQLSyntaxErrorException: 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

# 问题 报错代码 ``` org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: java.sql.SQLSyntaxErrorException: You have an err ......

再次认识using

今天看了同事代码,发现using新的语法糖。顿时来了兴趣,赶紧找文档看看,看看更新了那些东西 ![image](https://img2023.cnblogs.com/blog/411991/202306/411991-20230629002002199-896544475.png) ## 基础用法 ......
再次 using

2: using 命令

using static using static System.Console; internal class Program { static void Main(string[] args) { WriteLine("What is your name?"); using global ......
命令 using

using 指令

您可以使用 using namespace 指令,这样在使用命名空间时就可以不用在前面加上命名空间的名称。这个指令会告诉编译器,后续的代码将使用指定的命名空间中的名称。 https://www.lekaowang.com/jkgls/fdsg/ ......
指令 using

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

Building a Dice Game using JavaScript Javascript构建一个dice game 项目

We will be building a Dice Game Project using HTML, CSS, and JavaScript. The Dice Game is based on a two-player. Both players roll the dice and the pl ......
JavaScript Javascript Building 项目 using

Design a Drum-kit web app using JavaScript Javascript设计drum-kit项目

We all must have seen a drum kit in some concert or elsewhere, it is a collection of drums, cymbals and other percussion instruments. But have you eve ......
JavaScript Javascript kit Drum-kit drum-kit

rename files using a regex with bash

1 for old in *.png;do 2 3 new=$(echo $old | sed s/abc/xyz/) 4 5 mv $old $new 6 7 done ......
rename files regex using bash

系统断电后,MySQL重启失败:[ERROR] Binlog has bad magic number; It‘s not a binary log file that can be used by this version of MySQL

系统断电后,MySQL重启失败: [ERROR] Binlog has bad magic number; It‘s not a binary log file that can be used by this version of MySQL [ERROR] Can't init tc log [ ......
MySQL version Binlog binary number

code2md_vscode代码备份_img2md

# `code2md/run_img2markdown.command` ```sh #! /bin/bash source /Users/song/Code/script_python/code2md/venv/bin/activate # echo -n '请任意拖入文件夹中的一个文件:' # ......
code2md_vscode 备份 2md 代码 img2md

python: GUI using tkinter

""" StudentUI.py 读文件类 date 2023-06-24 edit: Geovin Du,geovindu, 涂聚文 ide: PyCharm 2023.1 python 11 """ import datetime import sys import os from tkinte ......
tkinter python using GUI