I installed Ubuntu Server 24.04 and had made changes to the file /boot/firmware/config.txt:
[all]
over_voltage=6
arm_freq=2850
In this blog, I teach you how to write python in github repo to establish a http server.
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
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: