欢迎来到 A_Dull_Rabbit 的博客

03 2021 档案

74. 搜索二维矩阵(GO)
摘要:// Golang func searchMatrix(matrix [][]int, target int) bool { // 获取行列长度 m, n := len(matrix), len(matrix[0]) // 计算切片大小 var low, height int = 0, m*n-1 阅读全文

posted @ 2021-03-30 23:08 A_Dull_Rabbit 阅读(210) 评论(0) 推荐(0)

VUE UI events.js 292 问题
摘要:在系统环境变量path编辑 分别新建2个变量 C:\Windows\System32 %SystemRoot%\system32; 阅读全文

posted @ 2021-03-28 10:18 A_Dull_Rabbit 阅读(422) 评论(0) 推荐(0)

npm\cnpm.ps1,因为在此系统上禁止运行脚本。
摘要:以管理员身份运行 在powershell中执行 Start-Process powershell -Verb runAs 会以管理员身份运行powershell 继续重新执行 set-ExecutionPolicy RemoteSigned 选择 Y 如下图操作完即可解决,在Vscode下继续命令c 阅读全文

posted @ 2021-03-28 09:41 A_Dull_Rabbit 阅读(1552) 评论(0) 推荐(0)

92. 反转链表 II(Python)
摘要:# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solut 阅读全文

posted @ 2021-03-27 11:18 A_Dull_Rabbit 阅读(98) 评论(0) 推荐(0)

Linux CentOS7 项目部署相关命令
摘要:记录一些部署项目时的常用命令(操作系统 CentOS 7) 1. 防火墙常用命令(不常用命令见下文) 开启80端口,重启后失效 firewall-cmd --zone=public --add-port=80/tcp 开启80端口,重启后不失效(永久生效) firewall-cmd --zone=p 阅读全文

posted @ 2021-03-12 21:21 A_Dull_Rabbit 阅读(93) 评论(0) 推荐(0)

关于Nuxt 项目搭建到服务器的一些问题
摘要:Nuxt项目部署及注意事项 操作前提系统中已经安装Node 且安装了Nuxt 编写完Nuxt项目, 将项目打包 npm run build 将打包文件、Nuxt配置、静态文件和所需依赖配置文件上传至服务器(下图中蓝色选中文件) 服务器上运行(也可本地先测试) 服务器上运行 在导入的上面四个文件的文件 阅读全文

posted @ 2021-03-12 20:54 A_Dull_Rabbit 阅读(617) 评论(0) 推荐(0)

导航