Warning: mysqli_query(): MySQL server has gone away in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924

Warning: mysqli_query(): Error reading result set's header in /home/wwwroot/syntaxbug.com/wp-includes/wp-db.php on line 1924
com – SyntaxBug

[RK3568][Android12.0]— The system comes with preset third-party APK method

Platform: RK3568 OS: Android 12.0 Kernel: 4.19 Rockchip provides a mechanism to preset third-party APKs by default. The method is very simple: 1. Create the preinstall directory in device/rockchip/rk3568 (if you want it to be uninstallable, create the preinstall_del directory) 2. Put the APK you want to pre-install into this directory preinstall cannot be uninstalled […]

OpenWRT builds a personal web site and combines intranet penetration to achieve remote access to the public network

Article directory Preface 1. Check uhttpd installation 2. Deploy the web site 3. Install cpolar intranet penetration 4. Configure remote access address 5. Configure fixed remote address Foreword uhttpd is a web server written from scratch by OpenWrt/LuCI developers. It aims to become an excellent, stable, lightweight task HTTP server suitable for embedded devices, and […]

Python artificial intelligence practice: automatic recommendation system

1. Background introduction Auto Recommendation System (Auto Recommendation System) is a very popular research field in the Internet industry. According to different application scenarios and user needs, its goals can be divided into the following three categories: Personalized recommendation: The system recommends products, articles, etc. that are most relevant to the user’s interests based on […]

Decompress zip, tar, rar, 7z, extract pictures in tif, pdf

1. Decompression interface public interface Decompress { //curFilePreDir, if the compressed package in the compressed package has the same name as the outer folder or file, problems will occur. Adding the directory prefix of the upper layer can avoid it. public<MulpartFile> decompress(File file, String curFilePredir); } 2. The decompression class implements the Decompress interface public […]

React technical principles and code development practice: from components to life cycle

1. Background Introduction React is a JavaScript library for building user interfaces. It originated from Facebook, which implemented a front-end view layer framework in JavaScript and open sourced the project. Facebook is now at the helm full-time. React has many features, such as: Declarative programming: React adopts a declarative programming method, that is, using JSX […]

[C++] Non-type template parameters | array container | template specialization | why templates cannot be compiled separately

Table of Contents 1. Non-type template parameters 2. array container 3. Template specialization Why specialize templates? Function template specialization Add a question Class template specialization Full specialization and partial specialization Fully specialized partial specialization 4. Why templates cannot be compiled separately Why what to do 5. Summarize the advantages and disadvantages of templates 1. Non-type […]

React technical principles and code development practice: from PWA to Web Components

1. Background Introduction React is a JavaScript library for building user interfaces. It was originally open sourced by Facebook in 2013. Its powerful functions, excellent performance, simplicity and ease of use make it one of the most popular front-end frameworks currently. In recent years, the React community has also undergone some changes, including the rise […]

WIndows’ CMD\PowerShell command line startup program runs a nohup command similar to Linux system in the background.

There is no command similar to nohup under windows, but you can use other commands to achieve this function. 1. Explanation of commands used: 1. Start-Process: Start one or more processes on the local computer. Related introduction links: Start-Process (Microsoft.PowerShell.Management) | Microsoft Learn? Mainly used parameters 1.1, -WindowStyle Specifies the state of the window used […]

[Android] Screen lag, optimized list fluency, pull down to refresh, pull up to load more components, RefreshLayout modification

I have also written about similar components before: Address: Pull down to refresh & pull up to load more components SmartRefreshLayout I originally planned to replace it with this one, but after careful research I found it was not suitable. The functions are very good, but they cannot be embedded in the current engineering system. […]

Falling in love with C language: storage of integers and floating point types in memory (base conversion, original code, complement, complement and big and small endian)

Author: Ah Hui is extraordinary What do you think: Life is dull, but running is windy Column: Falling in love with C language Drawing tool: draw.io(Free and open source drawing website) If you think the article is helpful to you, please like, follow, and collect to support the blogger. If there are any deficiencies, please […]