fallible point in

Learn Git in 30 days——第 19 天:设定 .gitignore 忽略清单

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 在开发项目时,工作目录下可能经常会有新的文件产生 (可能是通过 Visual Studio 工具产生的那些暂存文 ......
清单 gitignore Learn days Git

在MySQL的PREPARE中绑定WHERE IN子句参数

1. PREPARE简介 在 MySQL 中,PREPARE 是一种用于准备执行动态 SQL 语句的机制。通过 PREPARE,你可以将一个 SQL 查询或操作的查询计划(执行计划)准备好,然后在稍后的时间点执行它,而不是立即执行。这带来了以下好处: SQL 注入防护: 使用 PREPARE 可以在 ......
子句 参数 PREPARE MySQL WHERE

you-get run in docker

未知原因, windows 上装不了 you-get. solution 如下: docker run -it --rm python:3.7 bash > pip install --upgrade pip anohter termial: docker ps, get the contatine ......
you-get docker you get run

openGL (point sprite) 点精灵

point sprite这个词一般都是指一个贴了纹理图片的点。OpenGL在描述每个点的时候只用了一个vertex,这就使得点精灵无法像其他图元那样,去指定纹理坐标参与后面的插值过程。为了解决这个限制,OpenGL会帮你去生成 点精力的纹理坐标,你有了这些纹理坐标,你就可以干任何事情了。有了点精灵后 ......
精灵 openGL sprite point

Programming abstractions in C阅读笔记:p161-p165

《Programming Abstractions In C》学习第57天,开始第4章“Introduction to Recursion”的学习,p161-p165,总结如下。 一、技术总结 1.recursion vs stepwise refinement 答:p164, The strate ......
abstractions Programming 笔记 161 165

如何使用树莓派搭建一个流媒体服务器 All In One

如何使用树莓派搭建一个流媒体服务器 All In One Raspberry Pi Stream Meidia Server Raspberry Pi Meidia Player OS Emby Media Server https://emby.media/ https://github.com/ ......
流媒 树莓 流媒体 服务器 All

MySQL中exists和in的区别

https://blog.csdn.net/m0_50370837/article/details/124239171?ops_request_misc=&request_id=&biz_id=102&utm_term=mysql%20IN%20%E5%92%8CEXISTS%20%E7%9A%84 ......
exists MySQL

WASI support in Go

原文在这里。 由 Johan Brandhorst-Satzkorn, Julien Fabre, Damian Gryski, Evan Phoenix, and Achille Roussel 发布于 2023年9月13日 Go 1.21添加了一个新的端口,通过新的GOOS值wasip1来定位W ......
support WASI Go in

Learn Git in 30 days——第 18 天:修正 commit 过的版本历史记录 Part 1

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 当你使用 Git 进行版本控制时,我们会利用 git commit 建立许多版本,由于 Git 属分布式版本控制 ......
版本 commit 历史 Learn days

Replacing gcc and g++ with GNU version in macOS

After we install Xcode Command Line Tools, we will get gcc and g++ in /Library/Developer/CommandLineTools/usr/bin and the same contents in /usr/bin. B ......
Replacing version macOS with GNU

CF914F Substrings in a String

知识点:bitset,SAM,根号分治 Link:https://codeforces.com/problemset/problem/914/F 一种在字符集较小情况下的多轮字符串匹配暴力的优化。 好久没写过单题的题解了格式都忘了、、、 简述 给定一仅包含小写字母的字符串 \(s\),给定 \(q\ ......
Substrings String 914F 914 CF

UnicodeEncodeError: 'gbk' codec can't encode character '\ufffd' in position 2494: illegal multibyte sequence

写入文件报错UnicodeEncodeError: 'gbk' codec can't encode character '\ufffd' in position 2494: illegal multibyte sequence 解决方法 with open('./abc.html', 'w', e ......

How to fix Fetch TypeError in Node.js All In One

How to fix Fetch TypeError in Node.js All In One TypeError: terminated at Fetch.onAborted (node:internal/deps/undici/undici:11000:53) ......
TypeError Fetch Node How All

How to fix macOS Finder not support semicolon symbol in filename error All In One

How to fix macOS Finder not support semicolon symbol in filename error All In One macOS Finder 不支持文件名中包含 : 分号 bug ❌ ......
semicolon filename support Finder symbol

linux 系統 提示: File "/usr/lib/python3.8/multiprocessing/connection.py", line 527, in Pipe OSError: [Errno 24] Too many open files

Exception in thread Thread-4:Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner File "/usr/lib/p ......

CF840E In a Trap

想了一会并不是很会,主要是信息利用率实在太不牛。 考虑树分块,我们取块长 \(B=2^8\),这个块长很有深意。注意这里的树分块只是形式分块,并不是树上关键点之类。 定义 \(f_{x,i}\) 表示 \(x\) 是第 \(i\) 个块的开头,询问深度为 \(dep_x+Bi\) 的块内最优解。那么 ......
840E Trap 840 CF In

ERROR OGG-01224 Oracle GoldenGate Capture for Oracle, p_lion.prm: Address already in use.

我的ogg版本 Oracle GoldenGate Command Interpreter for Oracle Version 12.3.0.1.4 OGGCORE_12.3.0.1.0_PLATFORMS_180415.0359_FBO Linux, x64, 64bit (optimized) ......
Oracle GoldenGate Capture Address already

ES2023 Array new features All In One

ES2023 Array new features All In One change Array by copy ......
features Array 2023 All new

How to use Node.js rename files in folder All In One

How to use Node.js rename files in folder All In One fs.rename fs.renameSync fsPromises.rename ......
folder rename files Node How

报错:go: go.mod file not found in current directory or any parent directory; see 'go help modules'

报错:go: go.mod file not found in current directory or any parent directory; see 'go help modules' 知识补充: ......
directory go current modules parent

Operating system error number 23 in a file operation

参考:https://ask.csdn.net/questions/687101 参考2:https://blog.csdn.net/qq_16557863/article/details/130686453 ......
Operating operation system number error

(Windows Hadoop环境配置)IDEA:ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path

ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path 出错原因:还没有在windows上配置hadoop环境变量。 解决:在windows上配置hadoop环境变量 参考:windows下缺少 ......
binary the winutils Windows 环境

Node.js multi threads All In One

Node.js multi threads All In One Node.js 多线程 worker_threads Worker threads 工作线程 child_process 子进程 Cluster 集群 ......
threads multi Node All One

How to delete a file in Node.js All In One

How to delete a file in Node.js All In One fs.unlink fsPromises.unlink fs.unlinkSync ......
delete Node file How All

How to fix Tailwind CSS colors not work in Next.js All In One

How to fix Tailwind CSS colors not work in Next.js All In One Tailwind CSS & Next.js 13 ......
Tailwind colors Next work How

Learn Git in 30 days——第 17 天:关于合并的基本观念与使用方式

写的非常好的一个Git系列文章,强烈推荐 原文链接:https://github.com/doggy8088/Learn-Git-in-30-days/tree/master/zh-cn 我曾在【第 08 天:关于分支的基本观念与使用方式】提过关于「分支」的基本观念与用法,现在则要来讲「合并」如何进 ......
观念 方式 Learn days Git

xencenter中的虚拟机死机,无法强制关机,并提示:内部错误: VM not in expected power state after completing operation

uuid 查看选中虚拟机,常规中显示uuid 运行命令xe vm-reset-powerstate --force uuid=your-vm-uuid 即可强制关机 参考:https://www.incredigeek.com/home/vm-not-in-expected-power-state- ......

Node.js child_process spawn All In One

Node.js child_process spawn All In One Node.js 多线程 How to run Python script code in Node.js? 如何在 Node.js 中运行 Python 脚本代码? sys.stdout.flush() ......
child_process process child spawn Node

Python list replication All In One

Python list replication All In One ......
replication Python list All One

Understanding UML in seconds

UML 是一种分析设计语言,也就是一种建模语言。 UML结构解析 UML其结构主要包括以下几个部分: 视图(View) 多个图形组成的集合; 图(Diagram) 图的种类有13种图,但常用的也就两种(1.需求用例图,2.开发类图); 模型元素(Model Element) 如类、对象、消息以及这些 ......
Understanding seconds UML in