How do I create a custom hook in Vue 3?

Tram Ho

Hello everyone, I am an anonymous coder who has not written many articles for the first time, so the layout, words, and knowledge have not been correct, please give your comments. When I started working, the first thing I learned...

Read more

Chapter 1 Getting Started with Protocol

Tram Ho

Use Protocol as a data type. Even if there are no functions implemented in the protocol, they are still considered to be an official data type in the Swift language and can be used as any other data type. This...

Read more

What is OAuth? How OAuth works

Tram Ho

OAuth allows websites and services to share resources among users. It is widely used, but be mindful of its flaws. Since the inception of distributed computing networks, one of the most difficult to crack security is continuous, single sign-on access...

Read more

Instructions for Robotium: your first Android Framework

Tram Ho

What is Robotium? Robotium is an Android Testing Framework for automating test cases for native and hybrid applications. Using Robotium, developers can create powerful automated GUI test cases for Android apps. In addition, a developer can write a script to...

Read more

“Basic” JavaScript (Part 1): Compiler

Tram Ho

JavaScript is one of the most popular programming languages ​​available today. Maybe you are new to it, or maybe you have been using it for many years. But you can't deny that a lot of the most important, the most...

Read more

Use systemd to edit Linux service

Tram Ho

Over the last few years, Linux and its distributions have been transformed through the use of systemd as the init system. This article will introduce systemd commands and create a service and run it with systemctl. Basic Unit Management Systemd...

Read more

The lifecycle of a SwiftUI view.

Tram Ho

One of the things that distinguishes SwiftUI from its predecessors like UIKit and AppKit is that the view are primarily declared as value type like struct instead of class . This is one of the changes in the architectural design...

Read more

Custom UIPageViewController

Tram Ho

Question In the process of building an application, we will inevitably encounter UI / UX like this To solve this problem, most people will choose to include a CollectionView in a CollectionView. This approach is very good, solving many cases....

Read more