Category Archives: 默认分类
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
MySQL数据库连接报错
解决方法 在数据库连接后面加 ?useUnicode=true&useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useAffectedRows=true&allowMultiQueries=true 如果是xml文件,加 ?useUnicode=true&useSSL=false&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useAffectedRows=true&allowMultiQueries=true 报错信息
Spotlight 使用
(留坑,待填…) 在 Mac 上使用“聚焦”搜索 “聚焦”可以帮助你快速找到 Mac 上的 App、文稿、电子邮件和其他项目。借助 Siri 建议,你还可以获取新闻、体育赛事比分、天气状况和股票价格等信息。“聚焦”甚至可以为你进行计算和转换。 唤出搜索框:按下 Command-空格键 你可以将“聚焦”窗口拖到桌面上的任意位置。 在“聚焦”中进行计算和转换 你可以在“聚焦”搜索栏中输入数学表达式、金额、温度或度量单位,搜索栏中会立即显示转换或计算结果。 Mac 上的“聚焦”键盘快捷键 : 快捷键 功能 command + b 使用浏览器搜索 command + r 打开文件所在文件夹 输入kind:pdf fileName 搜索指定类型文件 … Spotlight快捷使用
关闭ReportCrash进程
Mac OS 系统CPU长期占用过高,是一个叫ReportCrash的进程,没有查到关于它的过多资料,先关闭,有问题再启动,做备忘。 禁用: launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plistsudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist 打开: launchctl load -w /System/Library/LaunchAgents/com.apple.ReportCrash.plistsudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist
Mac下Vue项目无法使用80端口
Vue项目使用默认的8080端口正常启动,可在启动命令指定了80端口后,竟然莫名其妙的在1024端口启动,多次尝试依然在1024端口,我以为是系统80端口被占用,查看了一下并没有。 但是Docker的Nginx服务器是可以正常使用的。 查资料说MacOS的1024以下端口使用需要root权限,试了一下确实可以用。 另外,如果80端口被占用,会使用下一个端口81,而不是1024.
使用jar文件手动安装到Maven仓库
不知道最近怎么回事,Docker镜像下载不下来,Maven依赖也下载不下来,手动下载一个jar文件安装到仓库。 如:
Mac系统Postman安装Interceptor Bridge问题
问题描述 查看网站的接口时为了方便可以使用Postman的Interceptor功能,它可以直接捕获浏览器的请求和Cookie等信息,顺利的使用这个功能需要完成几个部分的安装: 安装前两项的时候没有什么问题,Interceptor Bridge 在Linux和Win系统上也很顺利,但在Mac系统上需要自己安装Node环境。 问题解决 我确信自己一定在系统安装了Node,但是多次打开Postman软件依然让我下载Node,于是我去Postman官网看到这样一段话: If you’re on Windows or Linux, Postman will take care of everything for you. If you’re on macOS, you’ll be prompted to install NodeJS if it’s not already installed on your computer. If … Continue reading
try…finally…&return
IntelliJ IDEA反编译的结果: jad反编译的结果: