switch to root user, and add an interval task into crontab in linux VM:
0 */3 * * * /bin/sh -c 'echo 1 > /proc/sys/vm/drop_caches'
To make this method work, we need to have bootable media created from the Ubuntu ISO. Download the Ubuntu ISO. In my case, I'm running Ubuntu 20.04.1 LTS.
Create a bootable USB flash drive. Refer to the instructions on how to create a bootable USB drive.
Boot into the Ubuntu bootable media. When prompted, select "Try Ubuntu". This will start the Ubuntu live session.
Once in the live session, launch the terminal.
We need to identify the root file system partition. The following command will list all the partitions in the system. The important part of the output is the last section, which contains a short partition table.
This document aims to introduce a method for Chinese developers to bypass the GFW by subscribing proxy nodes on Cloudflare Worker.
The GFW is a network firewall implemented by the Chinese government that restricts access to certain international websites and services.
Every Chinese developer need proxy nodes to access development resource. When you have many proxy nodes, some of them is copied from friends, or some nodes are shared on the internet.
Look this link: https://github.com/bitnami/containers/tree/main/bitnami/wordpress Note that: you could the compose file to change the default password.
In some cases, I might need to establish mysql at outside of the wordpress host:
Ive looked at https://www.ahsup.top/post/linux/openwrt/ . and I established with these commands, which are different from setting on a raspberry pi. This is because my docker host is x86 ABI.
ip link set enp1s0 promisc on
docker network prune
One-key shell to convert all Chinese text in a repository to English.
I use it to translation Chinese text in my project. I share this to help so many people's time on translate their project.
# A shell, which is utilised to match all Chinese texts.
########################################################################
# Usage:
I use Google calendar for managing my schedule. But there is no approach to getting all events in text format. So I wrote this for obtaining events from Google Calendar.