Snowpeak Blog

Sharing and discussing cutting-edge technologies of AI and cloud computing, and other interesting topics.

Article

JavaScript Compressor and Formatter

This article introduces two JavaScript compressor and formatter programs.

A Solution to Garbled Error Message by Resin

The error message returned by Resin is garbled. This article describes a solution.

JavaScript URL Parameter Parsing - Improved Version

The previous version of the JavaScript URL parser avoided using loops but relied heavily on regular expressions for replacements. While this approach might not necessarily improve performance compared...

A Solution to `syntax error, unexpected $end` in PHP

This article describes a solution to the PHP error `syntax error, unexpected $end`.

Collation in MySQL

An in-depth analysis of MySQL collation, solving issues where Chinese data queries return inaccurate results.

Solution for mysqldump Backup Chinese Garbled Text

If the character set on the MySQL server is `latin1`, the Chinese characters in the `mysqldump` output will be garbled! A simple solution is to add the default character set option.

Installing Windows 2003 on a Computer Without a CD Drive

Modern computers often lack floppy drives, and some even lack CD drives. However, as long as there is a USB port, you can create a USB boot disk, boot from it, and install an operating system.

A Solution to "Apache 2 Specific Error 1"

This article discusses a specific scenario and solution for the error "Apache2 service cannot start. Specific error: 1."

Pear ITX vs Smarty: A Small Performance Test on Two Common Template Systems

This article introduces two commonly used template systems, ITX and Smarty, and conducts a simple performance evaluation.

Integrate Tomcat Into IIS

This article introduces the main methods and steps to integrate Tomcat 5.5.25 into IIS 5.1.

A Simple Star Rating

Star rating is a commonly used feature in surveys. Most implementations online dynamically call images to achieve this functionality. By combining CSS, I came up with a simpler method.

A CSS Fix to LI in IE7

In IE7, there is a bug when an HTML `

  • ` element is immediately followed by a `
    ` element. The first `
  • ` item in an `
      ` or `
        ` list does not display its preceding marker or number.