mobile wallpaper 1mobile wallpaper 2mobile wallpaper 3mobile wallpaper 4
Automatically Deploy Angular Pages with GitHub Actions
2024-11-04
60 words
This post explains how to configure an Angular project for automatic deployment to GitHub Pages, including modifying the outputPath in angular.json, installing angular-cli-ghpages, creating a GitHub Actions workflow to build and deploy on pushes to a specific branch, and generating the token required to access the repository. Finally, it sets the GitHub Pages branch to gh-pages.
Cover Image of the Post
Using SVN
2024-11-04
104 words
SVN is a centralized file management/version control tool that supports fine-grained file access management. Before use, a repository must be created, and graphical clients such as TortoiseSVN are recommended. Common commands include checkout, commit, update, add, delete, log, diff, revert, and ignore, and the article also covers branch management and help commands. Detailed command usage is listed to help users get started quickly.
Cover Image of the Post
Getting Started with TypeScript
2024-11-04
428 words
TypeScript basics include the type system, interfaces, classes, decorators, and more. It supports many primitive types such as number, string, and boolean, and also provides features such as type annotations, generics, union types, and type aliases. Decorators are used to apply metadata to classes and methods, while modules and namespaces help organize code.
Cover Image of the Post
Personal Online Scam 01: Scam Analysis
2024-08-19
1045 words
This post analyzes how an online scam operated, including attracting traffic through social platforms, inducing users to pay, and exploiting human greed. Although multiple loopholes were noticed, the author still fell for the scam due to the desire for money. It emphasizes the importance of rational investing and reminds readers to stay calm when facing temptation and to evaluate investment risks and returns.
Cover Image of the Post
Sunflower: A Coming-of-Age Story from Child to Adult
2024-07-04
724 words
This story explores the process of growing from a child into an adult, emphasizing the longing for the future and the importance of cherishing precious things. The characters influence each other while facing fragility and the challenges of growth, involving themes such as viruses, inherited memories, and intertwined human destinies. In the end, the characters seek hope and redemption amid complex emotions and fate.
Cover Image of the Post
Java IO
2024-02-05
3631 words
Java IO covers the basic concepts of input and output streams, including the classification of byte streams and character streams and their common classes such as InputStream, OutputStream, Reader, and Writer. Byte streams are used for raw byte data, while character streams are used for character data. Buffered streams improve performance by reducing the number of IO operations. Adapter and decorator patterns are widely used in Java IO streams to enhance functionality and coordinate different interfaces. Java IO models include synchronous blocking IO, non-blocking IO, and asynchronous IO, each suited to different scenarios.
Cover Image of the Post
Java NIO
2024-02-05
1705 words
NIO (New I/O) is the non-blocking I/O model introduced in Java 1.4 to solve performance bottlenecks of traditional BIO. Its core components include Buffer, Channel, and Selector, allowing a small number of threads to handle multiple connections. NIO also supports zero-copy techniques to improve I/O efficiency, and NIO-based frameworks such as Netty are recommended to simplify network programming.
Cover Image of the Post
Java Atomic Classes and Common Concurrent Containers
2024-02-04
698 words
This article introduces Java atomic classes and common concurrent containers, including atomic classes for primitive types (such as AtomicInteger, AtomicLong, and AtomicBoolean), atomic array classes, atomic reference classes, and atomic field updater classes. It also explains the features and usage scenarios of concurrent containers such as ConcurrentHashMap, CopyOnWriteArrayList, ConcurrentLinkedQueue, BlockingQueue, and ConcurrentSkipListMap.
Cover Image of the Post

Table of Contents