environmental protect how can
Windows Tools | How To Install VS Microsoft C++ Build Tools on Windows
How To Install VS Microsoft C++ Build Tools on Windows This can be used for installing anything that requires C++ compiler on Windows. Installation st ......
How to fix TypeScript error: expression of type can't be used to index type All In One
How to fix TypeScript error: expression of type can't be used to index type All In One
type guard
......
[888] How to get the directory of the current Python file
To get the directory of the current Python file, you can use the os.path module in combination with the __file__ attribute. Here's how you can do it: ......
[LeetCode] 1353. Maximum Number of Events That Can Be Attended 最多可以参加的会议数目
You are given an array of events where events[i] = [startDayi, endDayi]. Every event i starts at startDayi and ends at endDayi. You can attend an even ......
Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl
001、问题 Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl 002、解决方法 (base) [root@pc1 MaSuRCA-4.1.0]# yum -y insta ......
How to install a command once for all login users in Linux All In One
How to install a command once for all login users in Linux All In One
/etc/profile & /etc/profile.d/
......
How to use a shell script to check whether a command had been installed in the Linux server All In One
How to use a shell script to check whether a command had been installed in the Linux server All In One
shell script error [: :需要整数表达式 / [: -eq:需要一元表达... ......
[885] How to generate automated tables in Word document with Python
ref: How to Generate Automated Word Documents with Python ref: docxtpl快速上手使用,数据填入以及循环写入表格 Creating a Template Before you can proceed, you must first c ......
[884] How to generate automated Word documents by Python
ref: python-docx ref: How to Generate Automated Word Documents with Python ref: Automating Word Documents from Excel Using Python | ‘docxtpl’ Tutorial ......
How to print a string with a variable by using the echo command in the shell script All In One
How to print a string with a variable by using the echo command in the shell script All In One
Node.js & nvm
......
MySQL压缩包安装问题记录Can't connect to MySQL server on localhost (10061)解决方法
本文章向大家介绍MySQL问题记录--Can't connect to MySQL server on localhost (10061)解决方法,主要包括MySQL问题记录--Can't connect to MySQL server on localhost (10061)解决方法使用实例、应用 ......
1820BThe BOSS Can Count Pairs[分块]
Problem - B - Codeforces 题意是给n个a和b,1<=a,b<=n,问有多少ai*aj==bi+bj,i<j ,2e5的数据规模 看一眼数据规模,a,b都是小于等于n的,意味着如果ai*aj>n那么就对答案无贡献,或者说,对于一个ai,剩下数中可能能对答案产生影响的aj,一定是 ......
How to get a variable data type in Python 3 All In One
How to get a variable data type in Python 3 All In One
typeof in js
type(var) & isinstance(var, type)
......
How to enable HTTPS on a localhost Node.js Server All In One
How to enable HTTPS on a localhost Node.js Server All In One
Let's Encrypt - Free SSL/TLS Certificates
......
解决 ‘gbk‘ codec can‘t encode character ‘Ixa9‘ in position 111819: illegal multibyte
问题: execjs 执行 JS 报错 解决: 1 找到 external_runtime.py 包,可以通过右键debug按F7找 2. 找到后添加 encoding='utf8' 就可以了 ......
How to SupressWarnings for Sonar Security Hotspots?
How to SupressWarnings for Sonar Security Hotspots? Sonarlint/SonarQube allows you to use comments for disabling analysis in specific lines. In order ......
How to use ESM & TypeScript in Node.js All In One
How to use ESM & TypeScript in Node.js All In One { "compilerOptions": { "module": "NodeNext", // "module": "Node16", } } { "name": "esm-ts-package", ......
KingbaseES V8R6集群备份恢复案例之---备份初始化“can not find primary node”故障
案例说明: KingbaseES V8R6集群,备库作为repo-path节点,建立类型为‘cluster’模式的备份,在执行sys_backup.sh init时,出现“can not find primary node”故障。故障如下图所示: 适用版本: KingbaseES V8R6 一、集群 ......
2021-3-1-can重制日志
layout: post title: Can重制日志 categories: 日志 tags: - 开发 - 笔记 BGImage: 'https://github.xutongxin.me/https://raw.githubusercontent.com/xutongxin1/PictureB ......
How to Set the Default Gateway on Ubuntus
ip route list ip r | grep default sudo ip route add default via 10.10.1.1 sudo ip route add default via 10.10.1.1 dev enp0s3 sudo ip route delete defa ......
[LeetCode] 1222. Queens That Can Attack the King
On a 0-indexed 8 x 8 chessboard, there can be multiple black queens ad one white king. You are given a 2D integer array queens where queens[i] = [xQue ......
Pycharm远程连接到服务器运行错误can‘t open file ‘tmp
Pycharm远程连接到服务器运行错误can‘t open file ‘/tmp/.../a.py‘: [Errno 2] No such file or directory 问题描述 win11 Pycharm + Linux 服务器,运行代码后显示上述错误。即linux环境中没有xx文件。 分析 ......
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 ......
MySQL 切换数据库、用户卡死:“You can turn off this feature to get a quicker startup with -A“处理方法【转】
数据量很大的话,常规切换数据库会把里面所有的表遍历一遍,会很慢甚至是卡死。 解决方法:登录的时候直接在最后面加一个 -A 就行了。 [root@localhost ~]# "/usr/local/mysql-8.0.11/bin/mysql" -uroot -p123456 -A 实战演示:我演示的 ......
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)
......
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 ❌
......
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
......
How to parse OR AND within text
假设你有一行 String condition = "A or B and C"; 语句,请问怎么做才能变成一行真正的逻辑表达式(能在计算机中运行计算)? Resolution 声明一个List<List<String>>结构; 先分割 or ; 变成 [ A, B and C ] 不包含and的, ......
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
......