上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
  2021年2月20日
摘要: 打开终端 cd /Applications/QQ.app/Contents/Resourcessudo mv LoginOKSound.mp3 LoginOKSound.mp3.baksudo mv TerminalSound.mp3 TerminalSound.mp3.bak 根据提示输入密码即可 阅读全文
posted @ 2021-02-20 05:01 项希盛 阅读(129) 评论(0) 推荐(0)
  2021年2月12日
该文被密码保护。 阅读全文
posted @ 2021-02-12 21:28 项希盛 阅读(0) 评论(0) 推荐(0)
  2021年1月20日
摘要: 使用Python3获取IMAP的邮件 #-*- coding:UTF-8 -*- import imaplib, email def email_header_decode(str): dh = email.header.decode_header(str)[0] if dh[1] == None: 阅读全文
posted @ 2021-01-20 00:48 项希盛 阅读(751) 评论(1) 推荐(0)
  2021年1月11日
摘要: 直接贴代码 <?php set_time_limit(0); $manager = new MongoDB\Driver\Manager('mongodb://localhost:27017'); $namespace = 'test.test'; $aQuery = array('status' 阅读全文
posted @ 2021-01-11 04:37 项希盛 阅读(201) 评论(0) 推荐(0)
  2021年1月5日
该文被密码保护。 阅读全文
posted @ 2021-01-05 20:34 项希盛 阅读(1) 评论(0) 推荐(0)
  2020年12月28日
摘要: 我在ESXI上挂在了NFS类型的数据存储,ESXI存储到NFS一直都是稀疏格式, 假设在虚拟机里添加了一块100G的虚拟硬盘,然后你用ls命令看到的文件大小就是100G ls -lh *-flat.vmdk 然后你在用du命令查看大小,发现并没有那么大。 du -sh * 此时你可以使用外接USB硬 阅读全文
posted @ 2020-12-28 06:50 项希盛 阅读(439) 评论(0) 推荐(0)
  2020年12月27日
摘要: 使用Go语言编写Socks5代理自动获取程序 package main import ( "bytes" "encoding/json" "fmt" "io" "io/ioutil" "net/http" "net/url" "strings" "time" ) func main() { aLin 阅读全文
posted @ 2020-12-27 04:25 项希盛 阅读(640) 评论(0) 推荐(0)
  2020年12月24日
摘要: 对于超过2TB的硬盘来说只能考虑GPT分区表,因此还是建议使用EFI来安装系统。 对于超过2TB的硬盘来说应该选择LVM,然后磁盘末尾预留出至少100G的空间用于将来方便维护安装个Windows系统之类的。 CentOS7系统如果你不把LVM的逻辑卷创建好,那么这个空间自然也不会给你划入PV里去的。 阅读全文
posted @ 2020-12-24 07:22 项希盛 阅读(1079) 评论(0) 推荐(0)
  2020年12月23日
摘要: 安装必要的软件 ubuntu里是 apt install wget gcc make zlib1g-dev libpcre3-dev 去官网下载最新稳定版的nginx源码 git clone 源码 git clone 'https://github.com/gnosek/nginx-upstream 阅读全文
posted @ 2020-12-23 06:53 项希盛 阅读(306) 评论(0) 推荐(0)
  2020年12月20日
摘要: 使用CentOS8来部署php7.4 #安装REMI源 dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm #查看PHP启用情况并启用相应版本 dnf module list php dnf module enabl 阅读全文
posted @ 2020-12-20 08:16 项希盛 阅读(442) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页