windows查看端口占用和使用端口的程序

折腾 

三个命令查看占用端口的PIDnetstat -aon|findstr "port"示例:netstat -aon|findstr "2081"查找2081端口被哪个程序占用,最右侧 的就是程序PIDtasklist|findstr "PID"

Theory of Computation & Automata Theory

笔记 

绪论FSM 有限状态机CFL 上下文无关语言Turing machine 图灵机Undecidable 无法用机械解决的问题Finite State Machine 有限状态机Some noun meaningsSymbol a,b,c,0,1,2,3…Alphabet symbols的集合 c

滑动窗口模板


模板/* 滑动窗口算法框架 */void slidingWindow(string s, string t) { unordered_map<char, int> window; int left = 0, right = 0; while (right < s.

二分法(算法)


https://blog.csdn.net/qq_36102055/article/details/104375766https://www.acwing.com/solution/content/107848/https://www.acwing.com/problem/content/791/

快慢指针例题


https://www.acwing.com/solution/content/218914/https://www.acwing.com/solution/content/218913/

JDBC


JDBCJDBC为访问不同的数据库提供了统一的接口JDBC的基本原理## JDBC快速入门package com.hspedu.jdbc.myjdbc;import com.mysql.cj.jdbc.Driver;import java.sql.Connection;import java.sql

斐波那契-带备忘录的递归


#include <iostream>#include <cstring>int dp(int memo[],int n){if(n == 0 || n == 1) return n; if(memo[n] != 0) return memo[n]; memo[n

Powershell一些好用的命令


查看所有环境变量Get-ChildItem Env:这里我们还可以把命令结果用>保存为文件例如Get-ChildItem Env: > env_variables.txt查看Path 系统变量内容$Env:PATH设置会话代理https://learn.microsoft.com/en-

使用 pipx

Python 

12.4 【虚拟环境】方案三:使用 pipx什么是 pipxpipx 是一款用于帮助你安装和运行那些用 python 编写的终端程序,它类似于macOS 上的 brew,Ubuntu 上的 apt,CentOS 上的 yum。pipx 依赖 pip 和 venv,它只能在 python 3.6+ 的

Windows系统scoop快速配置编程和工具环境


安装scoop> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time> irm get.scoop.sh | iex更新软