2023年4月8日
摘要: 安装了Anaconda后, Python编码会显示边框, 有时候很乱, 可以关闭 Sublime > Preferences > Package Settings > Anaconda > Settings User 中设置关闭: {"anaconda_linting": false} 阅读全文
posted @ 2023-04-08 10:44 新手老猿 阅读(22) 评论(0) 推荐(0) 编辑
  2023年3月21日
摘要: 新建C:\windows\SHELLNEW文件夹, 添加相应的模板, 并取名如: PY.py XMIND.xmind 打开注册表, 开始->运行->regedit HKEY_CLASSES_ROOT 找到相应的后缀名, 比如.xmind 新建项, ShellNew, 新建字符串, 值写上面新建的模板 阅读全文
posted @ 2023-03-21 08:54 新手老猿 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\Sublime Text]@="sublime text open""Icon"="C:\\Program Files\\Sublime Text\\sublime_tex 阅读全文
posted @ 2023-03-21 08:47 新手老猿 阅读(96) 评论(0) 推荐(0) 编辑
  2023年3月14日
摘要: 1. 首先安装package control插件 下载插件: https://sublime.wbond.net/Package%20Control.sublime-package Preferences->Browse Packages 打开一个文件夹, 上一层目录: Sublime Text3里 阅读全文
posted @ 2023-03-14 09:22 新手老猿 阅读(218) 评论(0) 推荐(0) 编辑
  2022年8月7日
摘要: 1. root密码 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '密码'; 2.新建用户 create user '新用户'@'%' identified by '密码'; 3.权限 GRANT ALL 阅读全文
posted @ 2022-08-07 15:01 新手老猿 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 1. 修改hostsvim /etc/hosts127.0.0.1 aaa.com www.aaa.com127.0.0.1 bbb.com www.bbb.com2.添加域名vim /etc/apache2/sites-available/000-default.conf<VirtualHost 阅读全文
posted @ 2022-08-07 12:25 新手老猿 阅读(157) 评论(0) 推荐(0) 编辑
  2022年6月17日
摘要: 花生壳官网下载花生壳Linux版本 安装后 phddhn status 查看sn码 使用sn码登录花生壳管理平台, 默认密码为admin 登录后绑定自己的账号, 并在内网穿透页面添加映射 阅读全文
posted @ 2022-06-17 11:55 新手老猿 阅读(226) 评论(0) 推荐(0) 编辑
  2020年4月26日
摘要: 使用redis 忘记打开服务 阅读全文
posted @ 2020-04-26 20:25 新手老猿 阅读(1297) 评论(0) 推荐(0) 编辑
  2020年4月6日
摘要: httpd.conf 和 httpd-vhosts.conf 文件中的 Require local 替换成 Require all granted 阅读全文
posted @ 2020-04-06 17:44 新手老猿 阅读(565) 评论(0) 推荐(0) 编辑
  2020年2月18日
摘要: package main import ( "fmt" "strconv" ) func main() { var ff float64 ff = -1.355123156 ff = FloatRound(ff, 4) fmt.Println(ff) // 输出 -1.3551 } // 截取小数位 阅读全文
posted @ 2020-02-18 16:54 新手老猿 阅读(5249) 评论(0) 推荐(0) 编辑