How to transfer file to Device Hub
xcrun simctl list | grep Booted xcrun simctl get_app_container com.apple.DocumentsApp groups rsync ~/Downloads/file.pdf "/File Provider Storage/file.pdf"
blog.xu42.com/ · Indie Hacking · zh-CN
个人碎碎念,独立开发者。
个人碎碎念,独立开发者。
xcrun simctl list | grep Booted xcrun simctl get_app_container com.apple.DocumentsApp groups rsync ~/Downloads/file.pdf "/File Provider Storage/file.pdf"
load负载虚高 因为笔记本主板的设备很多,内核会不断探测,导致负载过高。 解决 #编辑 /etc/default/grub 文件替换为 GRUB_CMDLINE_LINUX_DEFAULT="quiet module_blacklist=sdhci_pci,sdhci,ac,rtsx_usb_sdmmc,rtsx_usb video=eDP-1:d acpi_enforce_resources=lax" #然后执行 update-grub && reboot 以下是AI对此的解释: 1. 存储与…
PVE 7.4 换源 cp /etc/apt/sources.list /etc/apt/sources.list.bak sed -i 's|^deb http://ftp.debian.org|deb https://mirrors.ustc.edu.cn|g' /etc/apt/sources.list sed -i 's|^deb http://security.debian.org|deb https://mirrors.ustc.edu.cn/debian-security|g' /etc/apt/s…
网上的教程似乎都比较旧了,如果遇到了启动报错,可以尝试下面的解决方案。 如果你按照网上的教程,出现了下面报错,可以参考一下。 “scsi0:0”的磁盘类型 2 不受支持或无效 1. 下载openwrt最新镜像 当前最新的稳定版本是 19.07.8 在这里下载即可。 2. img转换为vmdk 下载之后进行解压,得到 .img文件,需要转换为 .vmdk # 如果没有安装,可以安装一下 brew install qemu # 转换 qemu-img convert -f raw -O vmdk openwrt-19…
一切皆有可能, Just Do IT! Email: xu42.cn#gmail.com GitHub: https://github.com/xu42 我的产品 Online Chart Maker: https://www.onlinechartmaker.com 椰子壳: https://yzk.co 短信拦截: https://apps.apple.com/us/app/id1639460076 简单快捷翻译: https://apps.apple.com/us/app/id6738653169 OCR快…
写了个Java SDK(ava Library),想要让更多的猿媛使用,如何发布到中央仓库(Maven Central)呢? 踩了挺多坑,简单记录下。 1. 向官方申请自己的 groupId 首先,你需要向官方申请唯一的 groupId。如何申请呢? 1.1. 注册帐户 打开链接,注册一个帐户并登录: https://issues.sonatype.org/secure/Signup!default.jspa 1.2. 创建一个Jira 点击导航栏中的 Create, Community Support - Op…
在给SpringBoot应用添加docker部署时,遇到了这个问题。怎么解决呢? 在 ~/.m2/settings.xml 文件内,添加下面配置 com.spotify
即时收款,是独立开发者(没有公司资质的)提供付费服务来增收的一个重要渠道。 对个人免签的渠道,除去不稳定且不安全的监听App通知消息、再除去不靠谱的四方聚合,剩下可用的更少。 这里推荐两个渠道,可以参考一下:
ServerSocketChannel 可以监听传入的TCP连接,与Java标准库的ServerSocket类似。 举个例子: ServerSocketChannel serverSocketChannel = ServerSocketChannel.open(); serverSocketChannel.socket().bind(new InetSocketAddress(9999)); while(true){ SocketChannel socketChannel = serverSocketChanne…