暴力删除nodejs导致无法重新安装 Later version of Node.js is already installed. Setup will now exit 1、电脑全局搜索nodejs,保证node相关不存在 2、修改“环境变量”: 删除path值中的node及npm 3、重启 4、 ...
分类:
Web程序 时间:
2021-02-20 12:05:48
阅读次数:
0
1. 执行cmd 2. cmd命令模式下输入netstat -ano,然后找到占用端口的那个进程 如下图.. 3.PID号为1488的进程占用着8080端口,打开任务管理器查看详细信息,查找PID号为1476进程,点击结束任务即可,如下图所示( 也可以直接 使用命令taskkill /pid 984 ...
分类:
编程语言 时间:
2021-02-19 13:47:32
阅读次数:
0
###about 将平日里遇到的一些实用、有意思的python代码收集起来,以备后用 ####python案例 # ex_1.py # 生成随机字符 import random, string def GenPassword(length): numOfNum = random.randint(1, ...
分类:
编程语言 时间:
2021-02-18 13:14:12
阅读次数:
0
1】print()函数可以输出的内容 1.数字 2.字符串 #字符串需要加单引号或者双引号,加字符串的目的是为了让电脑直接输出字符串中的内容 3.表达式 2】print()函数将内容输出的目的地 1.显示器 2.文件夹 ex:将数据输出至文件中 fp=open('D:/text.txt','a+') ...
分类:
其他好文 时间:
2021-02-17 14:59:37
阅读次数:
0
Most people have already heard about the new “async” and “await” functionality coming in Visual Studio 11. This is Yet Another Introductory Post. Firs ...
分类:
其他好文 时间:
2021-02-15 12:36:36
阅读次数:
0
Cleaning the Phone Polycarp often uses his smartphone. He has already installed n applications on it. Application with number i takes up ai units of m ...
分类:
其他好文 时间:
2021-01-27 13:50:46
阅读次数:
0
接着上篇来看 https://www.cnblogs.com/cuocuo/p/14329379.html <?php namespace Home\Controller; use Think\Controller; use \Think\Logs; class IndexController ex ...
分类:
Web程序 时间:
2021-01-27 13:29:47
阅读次数:
0
Homebrew是mac的包管理器,他可以安装任何你想安装的东西 安装方法:在命令行输入 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Failed ...
分类:
其他好文 时间:
2021-01-26 11:44:27
阅读次数:
0
概述 参考资料: 刘雅琼PPT讲解kuangbin的博客 给出模板串A和子串B,长度分别为lenAlenA和lenBlenB,要求在线性时间内,对于每个A[i]A[i](0<=i<lenA)(0<=i<lenA) 求出A[i..lenA?1]A[i..lenA?1] 与B的最长公共前缀长度,记为ex ...
分类:
其他好文 时间:
2021-01-21 10:42:14
阅读次数:
0
出现此问题是端口被占用了,只需要关闭正在使用的端口就行 解决方法:1.在服务器中更改port端口号,改为不冲突,没有被占用的端口。 2.找出被占用的端口,结束被占用的端口: 解决结束被占用的端口的方法:1.输入命令查看被占用的端口的进程: netstat -aon|findstr 80 (80为要查 ...
分类:
Web程序 时间:
2021-01-20 12:16:34
阅读次数:
0