Skip to content

Archives

All the articles I've archived.

2025 3
January 3
  • Manually Implement Tiered Cache on Cloudflare

    Published: at 01:33 PM

    This post is about how to manually implement tiered cache on Cloudflare, which is a good way to improve the cache hit rate and reduce the origin server load.

  • Clone All Repositories in Your Self-hosted GitLab

    Published: at 02:08 PM

    After we change to a new computer and there is no project code locally, we need to clone all the project code again. At this time, if your project code is hosted on GitLab, you can use Golang to write a small tool to automatically clone all the project code.

  • DDNS.sh

    Published: at 01:09 PM

    ddns.sh is a simple shell script to update the dynamic DNS record on Cloudflare. It uses the Cloudflare API to update the DNS record with the current public IP address.

2024 2
October 1
  • How to Use a Service Account to Call the Google Ads API with Golang

    Published: at 12:24 PM

    How to use a service account to call the Google Ads API with Golang? In this post, I will show you how to authenticate your application using a service account and call the Google Ads API using the unofficial Google Ads API Golang client library.

June 1
2023 1
October 1
  • Introducing My Technical Solution Template

    Published: at 11:30 AM

    This is my technical solution template. You can use this template for your personal projects or for your team projects. This template is designed to help you to describe your technical solution in a structured way.

2022 1
August 1
  • Essential firewall-cmd Commands for Everyday Use

    Published: at 03:22 PM

    Firewall-cmd is a command-line front end for the firewalld daemon to manage firewall rules. It provides a dynamic way to manage the firewall rules without the need to restart the firewall service. In this post, I will record the essential firewall-cmd commands for everyday use.

2021 1
January 1
  • Designing a 16-bit Adder

    Published: at 12:09 PM

    To construct a 16-bit adder, we can utilize Carry Lookahead Adder (CLA) components or full carry lookahead adders, connected in series. The 16-bit adder can be divided into groups of four bits, where each group uses a 4-bit carry lookahead adder, while the carry between groups is handled serially.

2019 2
October 1
  • Programming Vulnerabilities in CTF Challenges

    Published: at 06:47 AM

    In this post, I will explain some of the most common programming vulnerabilities that are used in CTF challenges. These vulnerabilities are often found in web applications and can be exploited by attackers to gain unauthorized access to the system.

March 1
  • Http Status Code

    Published: at 05:33 PM

    HTTP status codes are standard response codes given by web servers on the internet. They are used to indicate the status of a request made by a client to the server. In this post, I will explain the most common HTTP status codes and their meanings.

2018 1
January 1
  • How to Create a MySQL User and Grant Access to a Database

    Published: at 10:10 PM

    How to Create a MySQL User and Grant Access to a Database? In many cases, we need to create dedicated MySQL users for different applications or individuals to manage database access securely. This article will guide you through the process of creating a new MySQL user and granting them access to a database named example.

2015 1
September 1
  • Post-Cloud Server Purchase Setup Guide

    Published: at 08:40 AM

    This guide provides essential configuration steps for cloud servers running CentOS 7. The instructions may not be applicable to other Linux distributions, so please adjust accordingly based on your server's OS.