sudo lsof -P -i TCP -s TCP:LISTEN
参考:https://www.micahsmith.com/blog/2019/09/find-ports-in-use-on-macos/
sudo lsof -P -i TCP -s TCP:LISTEN
参考:https://www.micahsmith.com/blog/2019/09/find-ports-in-use-on-macos/
在Mac下打包的zip文件如果包含中文文件名,在Windows下解压会乱码,用下面的工具可解决。
xcrun instruments -w "iPhone 6 (9.3) Simulator"
SMC参考https://support.apple.com/zh-hk/HT201295
NVRAM:ALT+CMD+P+R,参考https://support.apple.com/zh-hk/HT204063
用mounty:https://mounty.app/
也可用osxfuse:
brew install ntfs-3g
brew install --cask osxfuse
重启
插入移动硬盘,推出系统自动加载的只读硬盘,在命令行用下面命令重新加载成可写
mkdir DISK && sudo mount -o rw,auto,nobrowse -w -t ntfs /dev/disk2s1 DISK
使用完后用umount DISK卸载
通过NTFS格式的移动硬盘复制文件时,我碰到了部分文件灰色不能使用的情况,解决方案是在终端进入文件所在目录,执行以下命令:
xattr -c *
1. 下载安装Firefox的The easiest Xdebug插件
2. 确认/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so存在(20131226可能不同)
3. 编辑/Applications/XAMPP/etc/php.ini,找到zend_extension区域,添加以下代码:
zend_extension="/Applications/XAMPP/xamppfiles/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so"(注意修改成正确的路径,可能需要替换20131226)
症状是怎样输密码都提示验证失败。
解决方法是把163账号从邮件客户端中删掉,然后重新添加。
参考:http://www.gottabemobile.com/2015/10/02/common-os-x-el-capitan-problems-fixes/
First, get image from Raspberry Pi Download Page. I choose Ubuntu Mate image for Raspberry Pi.
Unzip the image file with following command in terminal:
bzip2 -d ubuntu-mate-15.04-desktop-armhf-raspberry-pi-2.img.bz2
Insert Micro SD card in a card reader, then insert card reader into Mac USB port. Find the device file with df command as below:
SHIFT + DOUBLE CLICK on title bar of Chrome window.
最新评论