background picture of the home page

Hi,Friend

adb获取手机文件

adb获取手机文件 参考视频:https://www.bilibili.com/video/BV1V8411C71r adb的SDK 平台工具下载:https://developer.android.com/tools/releases/platform-tools?hl=zh-cn 下载下来文件名

thumbnail of the cover of the post

树莓派ssh连接使用root用户登录

  普通的“pi”用户没有权限访问某些文件夹,或者对它们只有只读功能。部分操作需要在每条命令前都要加上“sudo”,非常不方便。切换到root管理员用户登录会方便得多   1. 输入命令 sudo passwd root   2. 设置root用户密码(两次输入确认密码)(输入的密码看不见的)   

thumbnail of the cover of the post

树莓派硬盘挂载

我的操作 安装支持NTFS的驱动 sudo apt-get install ntfs-3g 创建要挂在到位置的文件夹 sudo mkdir /home/pi/disk_238G/ 编辑fstab sudo nano /etc/fstab 在末尾添加一行 /dev/sda1 /media/pi/di

thumbnail of the cover of the post

树莓派镜像源以及依赖缺失问题

国内软件源 简单解释一下什么是软件源,以及为什么要更换软件源。 以树莓派为例子。 软件源是指 debian 系操作系统的应用程序安装包仓库,很多的软件都会这收录到这个仓库里面。而树莓派的 raspberrypi 操作系统也是基于 debian 的,所以树莓派也有自己的软件源,用来收录各种树莓派应用程

thumbnail of the cover of the post

nmap端口扫描工具

看别人用的命令 nmap -sV -O 6.6.6.6 推荐 nmap -T4 -sS 127.0.0.1 命令 nmap -T4 -sS 127.0.0.1 使用 nmap 工具对本地主机(IP 地址为 127.0.0.1)进行扫描,并应用了特定的选项来定制扫描行为。 -T4:这个选项设置了扫描的

thumbnail of the cover of the post

备份服务器的docker数据

自己总结出来的方案 进入docker的挂载目录 cd /root/data/ 打包压缩docker挂载数据 tar -cvzf docker_data.tar docker_data/ # 如果有部署dst服务器,但不想备份dst目录,则可以使用 tar -cvzf docker_data.tar

thumbnail of the cover of the post

树莓派配置swap虚拟内存

首先查看存储空间 df -h / 查看内存大小 free -h 打开配置文件 sudo nano /etc/dphys-swapfile 找到CONF_SWAPSIZE一行,默认值为100,把他改成你需要的值(单位是MB, 1024MB=1GB,因为使用的是存储空间,所以注意不要超过空闲空间了) 接

thumbnail of the cover of the post

服务器到期和迁移

雨云 雨云9月24日到期,若续费则369.6元/年 2 vCPU 4 GB 30+ GB 20 Mbps 30 Mbps 22或23日去选购腾讯云的 腾讯云 轻量 2核4G6M-个人专享, 159元/年 https://cloud.tencent.com/act/pro/Featured?from

thumbnail of the cover of the post

TODO列表

Cloudreve网盘 https://www.bilibili.com/video/BV1kd4y1977E Vaultwarden密码管理

thumbnail of the cover of the post

mc物体边框高亮mod指令

掉落物变绿 /cglow --keep-searching entities @e[type=minecraft:item] 10 color green 玩家变黄 /cglow --keep-searching entities @a 10 color yellow 非玩家,非掉落物变红 /cgl

thumbnail of the cover of the post

docker-compose 相关指令

【docker run转docker compose】Composerize 以下为玩转docker前的一些基础操作,系统为Debian11 添加SWAP虚拟内存 注意:VPS 的内存如果过小,建议设置一下 SWAP,一般为内存的 1-1.5 倍即可,可以让系统运行更流畅! 设置 SWAP 可以用脚

thumbnail of the cover of the post

TODO随机图api

已知上传的图片路径为:/root/data/docker_data/lsky-pro/lsky-pro-data/storage/app/uploads 需设计随机api,方案nodejs 思路: 每半小时扫描路径,将和图片路径存到.txt 若收到强制扫描信息,则强制扫描再读取txt 否则 若时间大

thumbnail of the cover of the post

兰空图床——问题及解决

无法获取token问题 部署时遇到的问题 获取api的token时,返回email 不能为空 原因,或许是少开放端口了? 处理方法,在服务器上使用curl进行进行http请求 curl --location --request POST 'http://172.17.0.1:7791/api/v1/

thumbnail of the cover of the post