博文

目前显示的是 2023的博文

pt_helper PT小助手 + transmission + synology docker + hdchina (pt) 签到

图片
 1. pt_helper PT小助手 docker 安装 https://hub.docker.com/r/crazyq/pt_helper 二、使用方式及步骤 确认CPU架构并配置好Docker环境,小助手目前支持AMD64、ARM和ARM64三种架构 群晖用户适用(威联通用户可参考)          unraid用户适用:CA里搜索pt_helper即可 Linux用户适用 docker run --restart=always -d --name pt_helper -p 你指定的端口:8192 -v 你的数据存放目录:/data crazyq/pt_helper:latest 参考: docker run --restart=always -d --name pt_helper -p 8192:8192 -v /volume1/docker/ptdata1:/data crazyq/pt_helper:latest 打开浏览器访问: http://docker所在机器IP:你指定的端口  ,参考:  http://192.168.1.1:8192  ,默认登陆用户名密码:admin 登陆后,点击“下载服务器管理”,配置qBittorrent/Deluge2/Transmission服务器,点击“测试服务器”待测试成功后,点击确定保存 点击“站点管理”,完善站点的Cookie,Cookie格式为:以分号分割的键值对,例如: name1:value1; name2=value2,建议通过F12开发者工具获取Cookie  小助手会每隔10分钟获取一次 有到期时间且不为HR的Free种 ,然后把种子交给上述第4步中的下载服务器进行下载,并且在种子免费期过后删除种子和文件 建议:强烈建议刷流与保种分开,推荐单独开一个下载服务器的容器来刷流 2.群晖NAS用docker部署Transmission sudo docker run -d \   --name=transmission \   -e PUID=1026 \   -e PGID=101 \   -e TZ=America/Toronto \   -...

synology 查看隐藏目录和 文件夹大小

图片
  sudo -i (super user) visit the hidden folder (like the appstore)   cd /volume1/\@appstore/ show the size of the folder       du -h -d1 记得关闭 /local_display 不让会用很多空间 请您通过SSH用 root 权限登录 DSM,具体步骤请参考以下链接: 点我查看设置方法 root登录后进入您想查看的存储空间,格式为 cd /volume1 (若想查看存储空间2则输入volume2) 。 再输入 du * -sh ,以查看您的文件夹占用空间情况。(这一步骤可能会花较长的时间,还请耐心等待一下) 注: cd /volumeX :是用于进入存储空间X所在路径 。 du * -sh :是用于查看当前路径下的空间占用情况 。

DAV1622 SurveillanceStation 授权无效解决办法

 https://global.synologydownload.com/download/Package/spk/SurveillanceStation/9.0.2-10061/SurveillanceStation-x86_64-9.0.2-10061_openvino.spk DAV1622 最新的套件SurveillanceStation 9.1.0-10660 默认的8个监控授权已经无效了。 如果想继续使用,那么可以下载旧版本的SurveillanceStation 9.0.2-10061。 引致 :http://www.gebi1.com/thread-303943-1-1.html

Debian和Ubuntu系统更新与清理

图片
  转至: https://kejilion.blogspot.com/2023/04/debianubuntu.html Debian,Ubuntu 查看系统启动时间 systemd-analyze 一键纯净更新 apt update -y && apt full-upgrade -y && apt autoremove -y && apt autoclean -y 一键清理垃圾 sudo apt autoremove --purge sudo apt clean sudo apt autoclean sudo apt remove --purge $(dpkg -l | awk '/^rc/ {print $2}') sudo journalctl --rotate sudo journalctl --vacuum-time=1s sudo journalctl --vacuum-size=50M sudo apt remove --purge $(dpkg -l | awk '/^ii linux-(image|headers)-[^ ]+/{print $2}' | grep -v $(uname -r | sed 's/-.*//') | xargs) 查看Debian版本 cat /etc/debian_version 查看Ubuntu版本 cat /etc/lsb-release CentOS 应广大CentOS 用户要求 哈哈 下面是CentOS命令 查看系统启动时间 systemd-analyze 一键纯净更新 yum update -y && yum upgrade -y && yum autoremove -y && yum clean all 一键清理垃圾 sudo yum autoremove sudo yum clean all sudo journalctl --rotate sudo journalctl --vacuum-time=1s sudo journalctl --vacuum-size=50M sudo yum remove $(rpm -qa kernel | grep -v $...

How to Create TableView in Xcode with uikit with storyboard & code only

图片
  storyboard   code only

synology docker cloudflared install

图片

Escaping Closures in Swift 5

图片
 

Swift xcode class / struct initializer

图片
 

sinope thermostat hard reset

  Can you perform a factory reset on the thermostat and then try to add it to Homekit first  hold down the button to raise the temperature until the display goes into another menu hold down both buttons until you see CLR press once the button to raise the temperature  to change NO to YES press once both button  , you will see DONE and the unit will reboot

synology 查看空间大小 How to See Full Volume Usage Details

How to See Full Volume Usage Details 1. sudo -i [Press Enter] (enter the admin password again) 2. cd /volume1 [Press Enter] (change directory to /volume1 or any folder you wish) 3. du -h -d1 [Press Enter] (list out the disk usage in each 1st-level sub-folder) 转自 https://mariushosting.com/synology-why-my-storage-space-is-unexpectedly-full/