我是 ZhongUncle,欢迎来到我的博客。如果你喜欢的话,可以在 GitHub 仓库 上给我点一个 Star 支持我哦!如果想评论,还请在 GitHub 发一个 issue 哦~
本站点目前主要用于备份我发在 CSDN 上的博客(大多是关于计算机方面的),但是也会发一些不想在大网站发的内容(大概率是因为处在热潮之中,会有很多半吊子发表一些低水平或不知所云的评论),根本没有有效的交流。此外还会有一些尝试的纪录、书籍的推荐等值得记录的内容。
由于出于备份的目的,所以在使用到非 Markdown 通用功能的情况下,为了防止不兼容或者未来框架的变化导致显示不全,会贴出 PDF,这样无论浏览器、服务器框架如何变化,都可以最大限度地保留内容到未来。
After 2 years(about 2025), I will translate all blogs into English to exercise my English ability. Before that, if you can't read Chinese, please use the translation function of your browser. I have divided the parts of HTML as clearly as possible, so that the translator will not translate in a wrong way, such as translate the code.2024-03-02 | Research | 2702 字
How to clone system disk to a smaller hard drive or SD card on Raspberry Pi, including partition, set up and repair boot files.
2023-11-05 | Research | 1680 字
This blog shares some reviews and tests of Raspberry Pi 4B. ZhongUncle compares it with Mac mini 2018 i5 in many aspects.
2023-10-20 | UNIX | 315 字
ZhongUncle will introduce How to directly use scripts in Linux by configuring all bin directories included in the $PATH variable.
2023-08-28 | MCU | 8378 字
I want to use Raspberry Pi Pico, DHT11 THS and SSD1306 OLED screen to make a thermo-hygrometer. Only use official libraries, and solve some errors.
2023-08-27 | MCU | 1374 字
This blog begins with a description of the solution, and record my discovery process and the structure of the Pico I2C code ZhongUncle explored.
2023-08-26 | MCU | 254 字
Pico has two I2C, namely two sets of SDA and SCL. You can see this from the names in the pin diagram. By default, only the first I2C (`I2C0`) is enabled.
2023-08-19 | MCU | 2172 字
This blog is a guide for developing Tang Nano FPGA on Mac using terminal and VS Code. And tell you how to build environment.
2023-08-15 | MCU | 429 字
Sometimes you need to reset the Raspberry Pi Pico. Common method sometimes does not work, so need a program to reset.
2023-08-14 | Research | 2112 字
ZhongUncle introduces how APFS works and what the meaning of each APFS part in bytes. APFS is a file system of Apple.
2023-08-13 | Go | 476 字
ZhongUncle introduces how to use Go to get URL parses, and some problems when using it.
2023-08-10 | MCU | 646 字
This blog lists errors that may be encountered when prepare cross-compilation environment and tool chain (arm-none-eabi-gcc) for Raspberry Pi Pico.
2023-08-09 | MCU | 2524 字
The official tutorial is outdated. If you follow the official tutorial to configure it on Mac now, you will encounter a lot of problems.
2023-07-19 | Research | 2150 字
Why disk in USB will lose much performance? Really due to speed of USB limitation? No, the IOPS of USB is key.
2023-07-12 | Go | 1020 字
How to install Go Tour tutorial in local, and what to do if the other language versions cannot be installed.
2023-07-05 | UNIX | 546 字
ZhongUncle introduce how to view disk in hexadecimal by bytes on Mac or Linux, use dd and hexdump to implement winhex functions in Terminal or Console CLI.
2023-07-05 | UNIX | 1284 字
Recently, when I used macOS to mount an external hard drive, I couldn't mount it using `mount`. Many didn't explain the various situations in detail
2023-06-23 | Research | 1431 字
BDMV is the format used by Blu-ray discs. This format cannot be played using playback software, and a hard disk player, which is a specialized device, must be used.
2023-06-12 | Swift | 323 字
ZhongUncle introduce how to convert number from some base to other base in Swift(for example, decimal to hexadecimal, octal to binary)
2023-06-10 | Research | 2404 字
I was not very clear about difference between GNU GCC and Clang. It affected implementation and learning somethings, so I so some research.
2023-06-10 | Research | 832 字
ZhongUncle will introduce the difference between executable programs and scripts, to explain it, also need to know what is compiler and interpreter.
2023-06-08 | C | 3210 字
I learn C compilation process using gcc and flags/options, and actucally I learn more about compiler and other things.
2023-05-31 | Research | 675 字
How to record TikTok's live stream on macOS, it means how to obtain TikTok’s push source URL.
2023-05-19 | Assembly | 484 字
The syntax of assembly has two kinds in usual: AT&T and Intel. Apple use AT&T syntax, MASM and Intel assembler use Intel syntax.
2023-05-16 | C | 2545 字
ZhongUncle introduces how to use C++ to verify CLT, meaning sum of independent random variables following normal distribution when number is large enough.
2023-05-12 | C | 967 字
What is Union? Union and Struct are so similar, what is the difference? Why design union? Where do I need to use it?
2023-05-03 | C | 492 字
What should I do if the helper_cuda.h No such file or directory error occurs when using nvcc (the same solution is used for other xxx.h
2023-04-26 | C | 1293 字
Typedef is a special feature in the C language, which is used to create new type names. You also can know from the name “type def(ine)”.
2023-04-22 | Swift | 570 字
How to convert an array into a dictionary in Swift (keywords are array elements, values are subscript numbers)
2023-04-21 | Plan 9 | 2545 字
This blog will tell you how to install and use Plan 9 on Mac VM Fusion step by step.
2023-04-19 | C | 1005 字
ZhongUncle introduces what is the enum of C detailly, how to use it, when to use it and why to use it.
2023-04-05 | Non-Tech | 77 字
Today I accidentally discovered that the Siri calculator on iPad has accuracy issues in calculations, such as integer operations. I don’t know what is ignored.
2023-04-02 | Swift | 973 字
Xcode Test cannot meet our need, so we need to write the testing function mannully. The main of testing function is measure time.
2023-03-16 | Research | 1123 字
ZhongUncle records what I find when using New Bing (GPT-4). Today New Bing called Bing Chat and can do more thing, but its mistakes are more often.
2023-02-17 | Research | 570 字
ZhongUncle records some performance of NN and know why bandwidth of gpu is important for Machine Learning.
2023-02-09 | Research | 755 字
I test A7R in many conditions, A7R work nice in 2023, and I know what camera I need.
2023-02-03 | Research | 4222 字
ZhongUncle introduce GIF file format and its history. It explains how GIF files are composed of different parts.
2023-01-10 | Web | 400 字
How to use Java like script on Unix-like systems without using the .java suffix.
2023-01-10 | Research | 512 字
Java downloaded from the official website does not have javac or an error The operation couldn’t be completed).
2022-12-06 | Research | 797 字
Why heap sorting use tree but called “heap”, because already have tree sorting, heap sorting is a update of tree sorting.
2022-11-24 | Swift | 608 字
From iOS 16, Apple start to deprecate NavigationView ZhongUncle introduces how to use new NavigationStack and NavigationSplitView how it works and similar things
2022-11-07 | Swift | 346 字
ZhongUncle introduce how to get the screen size using bounds and nativeBounds in Swift/SwiftUI
2022-11-07 | Swift | 497 字
Recently Apple changes UIScreen.main.bounds to wrong values, so I wrote this blog as addition (the original blog has also been modified).
2022-10-25 | Swift | 823 字
ZhongUncle will introduce how to grant different permissions of Safari Extension, like types, domains, kinds.
2022-10-10 | Research | 1857 字
You must have used or been told to use R if you are related in data analysis. So I describe how to use R language to draw charts and graphs(like line, curves)
2022-10-04 | Research | 2899 字
When learning quick sort, I found many quick sort methods are different. I was very curious why.
2022-09-23 | Swift | 3101 字
At WWDC2022, Apple provided the chart-related package `Charts` for SwiftUI, so you don’t have to work hard to implement the chart function yourself.
2022-09-16 | UNIX | 452 字
Due to my C drive is almost full, and not empty much after try to clean it, so I plan to move WSL to a new drive.
2022-09-03 | Research | 456 字
ZhongUncle will explain the differences between index storage and hash in details. Index storage and hash are easily make confusion.
2022-08-14 | Web | 1228 字
ZhongUncle introduce how to install and use Nginx and PHP7 on Ubuntu server, and some possible troublels and solutions.
2022-08-13 | Swift | 1375 字
Starting from iOS 15.0, Apple has abandoned the previous.animation(Animation?) and recommends developers to use .animation(Animation?, value: Equatable) or withAnimation instead.Personally, I feel that although I may not be used to it after the revision, the possibilities and freedom of development are greater.But before talking about the difference between the two, we need to understand UI animation. You can skip this part if you understand it.What is animation.Animation is a process of attribute changes such as various displacements, color changes, size changes, etc.Specific to SwiftUI's View, it is their .offset, .foregroundC
2022-08-13 | Assembly | 160 字
This blog explains how to generate assembly code using Clang, a compiler for C and other languages.
2022-08-13 | Assembly | 2165 字
This is a guide for assembly language on macOS. ZhongUncle explains why learning assembly language is useful and beneficial.
2022-07-27 | UNIX | 576 字
Manpage is a main part of Unix, ZhongUncle will introduce how to find and create a man page.
2022-07-17 | Swift | 1392 字
ZhongUncle introduces how to jump to other pages and views in SwiftUI. I shows two methods and new method after iOS 16.
2022-07-10 | Assembly | 210 字
During the assembly, you may need to specify some data size, such as the size of stack. In this case, you need to use the size command (Size Directives).
2022-07-10 | Web | 232 字
How to get query of URLs in PHP
2022-07-10 | Web | 460 字
This article is to introduce the common parameter parts in URLs and how to use common Python, JavaScript, and PHP to parse and obtain parameters."
2022-07-08 | Swift | 133 字
ZhongUncle introduces how to use Swift to parses URLs.
2022-06-17 | C | 1113 字
What are argc and argv of arguments of function main in C? It is a key for C program.
2022-06-16 | Research | 2578 字
I will tell you Why does the Type-C interface have different bandwidths under different protocols from pin definitions, protocols, etc.
2022-06-12 | Web | 735 字
How to get query of URLs in Javascript
2022-06-09 | Web | 461 字
ZhongUncle will introduce how to parse and obtains the URL parameters in Python, and how to use them
2022-06-03 | Web | 119 字
try...except...finally statement is used to handle errors and return information.
2022-06-03 | Web | 1565 字
ZhongUncle will introduce how output data directly or with some format, like string with delimiter or split by separator.
2022-05-12 | UNIX | 69 字
How to access files in Windows with WSL
2022-05-06 | UNIX | 269 字
ZhongUncle noticed that the “System Data” on their Mac occupied over 100 GB and wanted to clean it up.
2022-03-23 | Swift | 2953 字
How to modify TabView in SwiftUI (including properties of tabItem), such as color, position, size, etc.
2022-03-14 | Swift | 1005 字
How to delay execution of operations or scheduled automatic execution of operations (using timer Timer and asynchronous DispatchQueue.main.asyncAfter).
2022-03-04 | Swift | 188 字
How to get data from Date type in SwiftUI, like hour, minute, etc.
2022-02-22 | Swift | 959 字
Apple provides 14 major categories, a total of 174 image processing methods and some common filters in the Core Image API.
2022-02-21 | Swift | 1081 字
ZhongUncle introduces two ways to push notifications in SwiftUI from ZhongUncle, because no many people talk about how to do in SwiftUI.
2022-02-13 | Research | 1425 字
I plan to use the open source SQLite as database for saving money and CLI for personal habits. So I record how to use sqlite using command line.
2022-02-11 | Swift | 1390 字
Obtaining JSON from the website API and displaying the text is a very common usage scenario in development.
2022-01-28 | Swift | 407 字
When I use the VideoPlayer View in SwiftUI, I notice no “X” back button and or other functions in iPod Touch, etc.
2022-01-20 | Swift | 324 字
ZhongUncle introduce how to obatin the size of a View in SwiftUI. You can get height or width of a View component.
2022-01-11 | Swift | 234 字
ZhongUncle will introduce how to modify the size of SF Symbol in SwiftUI.
2021-12-10 | Swift | 695 字
SwiftUI cannot directly call the camera and photo album, it needs to be used together with UIKit.
2021-12-10 | Swift | 608 字
I will tell you how to get images or photos from the system album in SwiftUI. SwiftUI cannot obtain the system album content by itself, so it has to rely on UIKit.
2021-04-03 | Swift | 420 字
ZhongUncle introduces how to obtain information of device, system and battery in Swift.
2021-03-14 | Swift | 873 字
How to define custom colors in SwiftUI by UIColor and Color Set include dark model dark mode.