debug strip info how
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: ......
java web应用远程debug
java web应用远程debug 1、在启动参数中加入下面的参数 address对应的端口可以修改 -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=15555 2、添加远程服务 3、填充服务名(任意)、远程服务的ip ......
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/
......
调度器59—CONFIG_SCHED_DEBUG 的作用
一、使能 CONFIG_SCHED_DEBUG 提供的文件 1. /proc/pid/sched 文件 cat显示统计数据,echo清0,无论echo的是啥。 2. /proc/sys/kernel 下的 sched_min_granularity_nssched_latency_nssched_s ......
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
......
宏定义(Release/Debug)
#define LOG(x) std::cout<<"Hello"<<std::endl; 在项目属性的c++->Preprocesser(预处理)->Preprocesser Define中添加DR_MODULE,将configuration模式调为release #ifdef DR_MODULE ......
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
......
VSCode 报错,Unable to start debugging.(后面内容看图)
今天用vs code 写 c++时,调试的时候,突然蹦出这个错误 之前我也以为是lanch.json的配置出错了但我并未更改我的配置啊,经过漫长的百度的之后,发现了原来是文件名不能设置为“中文”。。。。 真的服了,以后再也不偷懒了。。。然后 我也意识到备份的重要性,下面给出lanch.jason和t ......
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", ......
ARMv7 Debug
C1 ARMv7-M Debug 目录C1 ARMv7-M DebugDifferentC1.1 Introduction to ARMv7-M debugC1.1.1 Debug support in ARMv7-MRecommended levels of debugC1.2 The Debug ......
yarn 出现 【 info There appears to be trouble with your network connection. Retrying... 】超时问题解决
第一种解决方案 # 调整为taobao镜像源 yarn config set registry https://registry.npm.taobao.org 我用了没用,可以试试 第二种解决方案 要在项目根目录下创建后缀名为 .yarnrc 的文件,并设置 network-timeout 的值为 ......
debug时间!
数据拿到之后封装成了ArrayList,之后执行Excel的工具类,工具类里面的构造方法,我们就把字典里面的类型类(SysDictType)传给它,这样就获取到了这个类 研究一下exportExcel方法,点进去 返回数据,导出数据集合,工作表的名称,标题。等等,什么标题?研究一下。 发现其在这些地 ......
goland dlv在远程linux里运行代码开发,并debug调适
一、配置好ssh自动同步代码 参考下面连接: https://www.cnblogs.com/haima/p/13257524.html 二、配置devbug监听运行 GO Remote 填写配置 linux上运行监听服务 如:上图有两种方式 直接运行代码并监听 dlv debug --headle ......
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 ......
# .strip()方法的问题(去除字符串内指定字符)
# 想要获得‘kevin’ 这个字符串 user = 'kevin.json' username = user.strip('.json') print(username) 输出结果为:kevi # 改变user内容 user = 'kevinnnjjsson.json' 输出结果同样为:kevi ......
Vue Debug Reac 配置
https://zhuanlan.zhihu.com/p/475999585 作为前端开发,基本每天都要调试 Vue/React 代码,不知道大家都是怎么调试的,但我猜大概有这么几种: 不调试,直接看代码找问题 console.log 打印日志 用 Chrome Devtools 的 debugge ......
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的, ......