让Mac OS支持NTFS 1、查看磁盘列表 diskutil list 查到的NTFS磁盘名称 BOOTCAMP 2、修改系统文件 sudo vim /etc/fstab 在/etc/fstab中加入如下内容(BOOTCAMP 为磁盘名称) LABEL=BOOTCAMP none ntfs rw,auto,nobrowse 3、重启系统 reboot 4、创建磁盘的桌面快捷方式(非必须) sudo ln -s /Volumes/BOOTCAMP ~/Desktop/BOOTCAMP
错误提示 Description Resource Path Location Type Java compiler level does not match the version of the installed Java project facet. webapi Unknown Faceted Project Problem (Java Version Mismatch) 修改
grep rdrand /proc/cpuinfo #需要cpu支持 yum install rng-tools # 安装rngd服务 systemctl start rngd # 启动服务
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; public class D { public static void main(String[] args) { // System.out.println(parseTime("Thu May 18 2017 10:00:00 GMT+0800")); System.out.println(parseTime("Wed May 22 2019 04:16:41 …
json示例 { "dsttl3.cn": "https://www.dsttl3.cn", "new": "new", "001": "001" } Entity //需引入gson包 import com.google.gson.annotations.SerializedName; // @SerializedName("dsttl3.cn") //dsttl3.cn 为key String dsttl3_cn; @SerializedName("new") String _new; @SerializedName("001") String _001;
Finder默认是不显示路径的,进入某个文件夹时只会显示当前文件夹的名字。 通过下面的命令可以在finder顶部的标题栏上显示完整路径。 在终端输入以下命令并回车: defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES 把finder关了再打开,在标题栏中即可显示文件的完整路径,而且对着路径最左边的小图标点右键,就能快速访问路径中的任意一层。
把一段代码转换成图片的网站carbon
WordPress使用open-social插件实现QQ登录时会出现redirect uri is illegal(100010)的问题,说是回调地址出错。 解决方法 打开登录界面,进入开发者模式(Chrome下按F12进入),选择Network选项,这时候再点击QQ第三方登录按钮,在Network窗口中找到 https://graph.qq.com/oauth2.0/authorize? 开头的链接地址,其中 redirect_uri 这个参数后面的地址就是你的回调地址了,将这个地址添加到之前填写APP ID时的QQ互联平台应用下的网站回调域中,就可以正确跳转到QQ登录了。
在终端中直接运行命令 export http_proxy=http://proxyAddress:port 或 export ALL_PROXY=socks5://proxyAddress:port
maven仓库地址: http://mvnrepository.com