BOBOBK

Compiling Custom LEDE Firmware for K2 Router Using GitHub Actions

TECHNOLOGY
Compiling Custom LEDE Firmware for K2 Router Using GitHub Actions

I’ve been using LEDE OpenWRT firmware as my router’s firmware. Due to version updates, some software is missing in older versions, so I decided to compile a custom firmware containing only the needed software for my Phicomm K2 router.

Use Python to set image background color to transparent

TECHNOLOGY
Use Python to set image background color to transparent

Since the original logo has a white background, and we need to change the white background to transparent, here we use the versatile Python tool for image conversion, specifically the pillow package’s Image.

Application of Python Implementation of Gradient Descent in Practice

TECHNOLOGY
Application of Python Implementation of Gradient Descent in Practice

Gradient descent is a first-order optimization algorithm, commonly called the steepest descent method. To find a local minimum of a function using gradient descent, one must iteratively move from the current point in the opposite direction of the gradient (or approximate gradient) by a specified step size.

Mining Monero on MinerGate Pool Using CPUMiner-Multi on CentOS7

TECHNOLOGY
Mining Monero on MinerGate Pool Using CPUMiner-Multi on CentOS7

Too many idle servers collecting dust. Here is an option to make use of idle VPS. Today I will teach you how to use CPUMiner-Multi on CentOS for mining and earn some cryptocurrency. Monero is currently the most profitable cryptocurrency, so we choose Monero.

Google Advertisement

git push update rejected because the remote repository contains commits not present locally

TECHNOLOGY
git push update rejected because the remote repository contains commits not present locally

After improving a Hugo theme used by this blog, an error occurred when pushing to the git repository.

Decision Trees in Machine Learning and Python Examples

TECHNOLOGY
Decision Trees in Machine Learning and Python Examples

A tree in real life has many branches and leaves. In fact, the concept of trees is widely used in machine learning, covering classification and regression. In decision analysis, decision trees are used to visually represent and make decisions. As the name implies, a decision tree is a tree-shaped decision model.

The Mathematical Principles Behind PCA and Python Example Demonstration

TECHNOLOGY
The Mathematical Principles Behind PCA and Python Example Demonstration

This article introduces a very important dimensionality reduction method in machine learning—Principal Component Analysis.

Explanation of bit, byte, Bps, bps, kbps, Bps, Gbps, pps and other bit/byte network speed units

TECHNOLOGY
Explanation of bit, byte, Bps, bps, kbps, Bps, Gbps, pps and other bit/byte network speed units

It is always known that bit and byte are two concepts, one is binary digit, and the other is a byte unit consisting of 8 bits. However, in practical situations, people still confuse bit and byte in various network speed abbreviations. This article summarizes the knowledge I found.

Google Advertisement

Statistical Skew Distributions Reveal Statistical Traps in Life

TECHNOLOGY
Statistical Skew Distributions Reveal Statistical Traps in Life

90% of drivers believe their driving skills are above average, 90% think their IQ is above the average IQ of the population, and the key is this can actually be consistent with real data — it's true and not fabricated.

Command-line UI tool for monitoring computer CPU: s-tui

TECHNOLOGY
Command-line UI tool for monitoring computer CPU: s-tui

s-tui is a free and open-source command-line UI tool for monitoring computer CPU. It can monitor CPU temperature, frequency, etc. in real-time and display it graphically. This is a Python tool that can be installed via pip, but requires root permissions. It can be used via SSH login to monitor CPU status graphically.

Installing ffmpeg on CentOS 7 and Streaming Movies on Douyu

TECHNOLOGY
Installing ffmpeg on CentOS 7 and Streaming Movies on Douyu

Getting back on track, today's tutorial by Chunjiang Muker shows how to automatically stream Douyu live on CentOS 7 to achieve 24/7 uninterrupted streaming.

How to Use Tongji University Public Mirror for CentOS

TECHNOLOGY
How to Use Tongji University Public Mirror for CentOS

A few days ago on WeChat, I discovered that Tongji University actually has its own open source software mirror site. Our lab servers are still using Alibaba Cloud's CentOS 7 mirror. Wouldn't it be much faster if we switched to the university's mirror? So how to change CentOS 7 public repo to Tongji University's mirror?