RSSAmplifier

Blog

Super Lee

Last 10 notes on Super Lee

repus.meRSS feed ↗10 posts

Latest posts

All Thoughts

Super Lee

Hello! I’m Super Lee, and this is my digital garden where I host my ​Obsidian notes and blog posts. After writing some blog posts in Chinese, I searched for a static site generator that seamlessly integrates with note-taking editors.

All Posts

Register a new Apple Account

...

Let Your Synology NAS Remotely Download Resources from Web Drives

Intro When you have a NAS to store your resources, but many are from web drives (e.g. Baidu Net Disk, Aliyun Drive, etc.), how can you save the resources from web drives to NAS quickly and remotely? RPC (Remote Procedure Call) is a protocol that allows a program on one computer to run code on another.

Install Docker on Ubuntu

Remove the previous docker version: sudo apt remove docker docker-engine docker.io containerd runc Update apt: sudo apt update sudo apt upgrade Install dependencies: sudo apt ...

Update git to 2.x

Update git from 1.8.3.1 to 2.x on CentOS 7: git --version # when it was 1.8.3.1 yum remove -y git yum remove -y git-* yum install -y packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm ...

Some Useful Linux Scripts

User Management Give the /data/user directory to user as the user: sudo chown -R user:user /data/user Others Data usage management Docker installation apt sources tmux configuration ...

Change the Sources of apt

Ubuntu 22.04 /etc/apt/sources.listdeb mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse deb-src mirrors.aliyun.com/ubuntu/ jammy main restricted ...

Check the Data Usage on Linux

Common scripts Check the global data usage: df -h Check the usage of the current directory: du -sh . List the usages of each subdirectory under the current directory: du -h --max-depth=1 Sort the usages of subdirectories: du -h --max-depth=1 | sort -hr Docker caches When you run docker build to build an image, it stores the cache into the disk, making the storage almost full.