闲逛看到 openwrt 支持小米路由器 4A,并且现在 4A 的二手价格十分美丽,遂决定淘一个二手小米路由器 4A 刷 openwrt,解放目前在使用的树莓派。
在启动前开启SSH For headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD card. When the Pi boots, it looks for the ‘ssh’ file. If it is found, SSH is enabled, and the file is deleted. The content of the file does not matter: it could contain
raspi-config 最简单的方式,使用 raspi-config 工具,选择 Advanced Options - Expand Filesystem 即可。 1 sudo raspi-config 手动扩展 原理 SD 卡一般被分为两个分区,mmcblk0p1 是启动分区,mmcblk0p2 是
硬件准备 淘宝来的电视棒(RTL2832U+R820T),接收的频率范围为24 ~ 1766 MHz; 树莓派2B,或其他Linux主机; 软件安装 把电视棒插
本文是《Linux 创客实战》一书的笔记,主要涉及 Linux 和树莓派的知识点。
问题 在 Jupyter 中,如果执行 asyncio 的代码,例如 1 2 3 4 5 6 7 8 9 from requests_html import AsyncHTMLSession session = AsyncHTMLSession() async def get_google(): r = await session.get('https://google.com/') return r session.run(get_google) 会报错: 1 RuntimeError: This event loop is already running 解决 具体原因是因为 asyncio 不允许嵌套