Enjoy the Fun of Programming

  • Don’t forget your original intention

    Huishan ancient town

    潺潺流水而道话

    佳事如何?

    Who are you?

    Where are you going?

    What do you have to do?

    What is the meaning of life?

    Don’t forget yourself

  • A Personal Introduction to Shazhou Vocational and Technical College

    无尽的旅程与新的发现

    ——DAMIDAMI

    Disclaimer:

    This article introduces the Sabah State Polytechnic from a personal perspective.

    It reflects only my personal views and is not affiliated with any official entity.

    Why I Wrote This Article

    1. With the spring college entrance exams approaching, here is some advice for high school students based on my own perspective
    2. I’ve been living here for six months and would like to share my thoughts.

    What This Article Covers

    1. About the School
    2. Accommodations
    3. The School’s Surroundings

    About the School

    szit招生网

    The following is a brief introduction:

    • Shazhou Professional Institute of Technology (SZIT) is located in Zhangjiagang City, Jiangsu Province. Approved by the Jiangsu Provincial People’s Government and registered with the Ministry of Education, it is a full-time public higher education institution primarily focused on vocational education, established by the Zhangjiagang Municipal People’s Government. It is also a designated institution for the cultivation and development of model higher vocational colleges in Jiangsu Province. The college has been designated as a Jiangsu Provincial Civilized Unit, a Jiangsu Provincial International Service Outsourcing Talent Training Base, a Suzhou Municipal Demonstration Base for High-Skilled Talent Training, a Suzhou (Zhangjiagang) Public Training Base for Intelligent Technology, and one of Suzhou’s first service outsourcing talent training bases.

    You can learn more through Baidu Baike and the school’s official website.

    Accommodation

    Men’s Dormitories

    1. Six people per room, with bunk beds (sleeping on top, desk below); each person has a private wardrobe
    2. Each dormitory has one bathroom with a squat toilet and shower (solar water heater—note that hot water availability depends on sunlight); there is also a communal bathhouse
    3. There are no elevators in the dormitory building; the floors are quite high, making it inconvenient to climb up and down. The 2nd and 3rd floors are recommended as they have better natural lighting

    Women’s Dormitories

    1. Six people per room, with bunk beds (sleeping on top, desk below); each person has a private wardrobe
    2. Each dormitory has one bathroom with a squat toilet and shower (electric water heater; downside: requires payment)
    3. There are no elevators in the dormitory building; the floors are quite high, making it very inconvenient to climb up and down; the 2nd and 3rd floors are recommended as they have better natural lighting

    Surroundings

    • It’s somewhat remote; you can check the exact location using a map app.
    • Transportation is convenient; it’s easy to get a taxi, and the school has a dedicated high-speed rail line.
    • It takes about 10 minutes to reach downtown Zhangjiagang.
    • The school has on-campus facilities, including a parcel pickup point, a supermarket, a cafeteria, and snack shops.

    友链

    大学生活质量指北

    阳光高考报考指南

    祝你有个美好的一天

  • My frequently used programming software tools

    袅袅青烟而道话

    赶大荒

    Good morning.I’m cat.

    Today, I’d like to share some excellent programming tools that I enjoy using.

    Programming software

    If you’re new to programming, you can take a look and use it as a reference.

    1. Visual Studio Code
    2. Git
    3. JetBrains IDE Suite
    4. Tabby Terminal
    5. Windsurf

    Below, I will introduce these software programs one by one.

    Visual Studio Code

    The open source AI code editor

    It’s an extremely lightweight code editor.

    While it may not offer the same comprehensive environment as JetBrains IDEs, its plugin ecosystem more than makes up for any shortcomings.

    I firmly believe it’s the most powerful editor out there.

    I’ll share some of my own thoughts. Positioning Visual Studio Code as an AI-focused product is misguided. As a code editor, its primary focus should be enhancing the coding experience. Integrating AI features only bloats the application, which is counterproductive.

    If you need a lightweight, scalable code editor, it will be your top choice.

    Git

    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

    If you need version control, Git is one of your options.

    Compared to other version control systems, Git is renowned for its distributed nature. However, it still has some drawbacks: every change made in the cloud requires you to synchronize everything, rather than selectively downloading only the necessary code.

    JetBrains IDE Suite

    From unlimited code completion to an autonomous coding agent – all refined AI features are available in your IDE right now for free.

    JetBrains IDE is the one that saves me the most hassle with environment setup among all my IDEs, thanks to its massive installation package and comprehensive support for various programming language environments.

    Tabby Terminal

    Tabby is an infinitely customizable cross-platform terminal app for local shells, serial, SSH and Telnet connections.

    Tabby is an infinitely customizable cross-platform terminal application supporting Windows, Linux, and macOS operating systems. Whether you need local shell operations, serial connections, SSH, or Telnet, Tabby handles it effortlessly. It is compatible with multiple terminals including PowerShell, WSL, Git-Bash, Cygwin, MSYS2, Cmder, and CMD.

    I primarily use Tabby’s SSH functionality. Windows’ native terminal is well-optimized, and if you want greater customization, you can opt for it.

    Windsurf

    Windsurf is the most intuitive AI coding experience, built to keep you—and your team—in flow.

    Windsurf is an IDE customized for AI use, built upon Visual Studio Code. If you’re interested in AI, you might want to give it a try.

    That’s all for now.

    Have a great day!

  • Why I to use WordPress to do my blog?

    1. Security

    WordPress is an excellent open-source blogging tool and CMS publishing platform.

    2. Fast and Simple Deployment

    Deploying it on my own server took very little time—I completed the setup in just half a day.

    3. Mature Technical Solution

    Using the official installation documentation and AI tools, I can resolve most issues.

    4. Aesthetic Appeal

    It offers great visual appeal with a magazine-like aesthetic.

  • 建站_文件大小配置修改

    记录

    有上传文件限制,先改了, wp-config.php

    在你的服务器上,用以下命令编辑 WordPress 配置文件:

    sudo nano /var/www/html/wp-config.php

    在文件顶部 <?php 下面另起一行,添加以下内容:

    @ini_set( 'upload_max_filesize', '64M' );
    @ini_set( 'post_max_size', '64M' );
    @ini_set( 'memory_limit', '128M' );
    @ini_set( 'max_execution_time', '300' );

    保存退出(Ctrl+O,回车,Ctrl+X)。


    🔄 重启服务使配置生效

    sudo systemctl restart php8.3-fpm
    sudo systemctl reload nginx

    ✅ 验证是否修改成功

    1. 登录 WordPress 后台
    2. 进入 媒体 → 添加新文件
    3. 查看页面下方的 “最大上传文件大小:xx MB” 是否已变成你设置的数值(如 64 MB)

    如果还是 2 MB(可能原因及解决)

    如果上述方法无效,可以尝试直接修改 PHP 配置文件:

    sudo nano /etc/php/8.3/fpm/php.ini

    找到以下几行(可以用 Ctrl+W 搜索),修改为:

    upload_max_filesize = 64M
    post_max_size = 64M
    memory_limit = 128M
    max_execution_time = 300

    保存后重启 PHP-FPM:

    sudo systemctl restart php8.3-fpm
    sudo systemctl reload nginx

    Nginx 自身限制

    如果你使用了 Nginx 反向代理上传大文件,还需要确保 Nginx 配置中没有限制:

    sudo nano /etc/nginx/sites-available/default

    server { ... } 块中添加:

    client_max_body_size 64M;

    保存后重启 Nginx:

    sudo systemctl reload nginx