Build an APP from scratch: A day in the life of compose

Whether it is from the books or blogs of various experts, I still read the general direction. Personally, I feel that the definition of compose as a UI solution is very far away from Android. Most of the workload on the application side of Android is still in UI development. On Android, flutter is similar. […]

Docker Compose deploys Spug: achieving intranet penetration

Article directory Preface 1. Docker installation Spug 2. Local access test 3. Linux installation cpolar 4. Configure Spug public network access address 5. Remote access to Spug management interface through public network 6. Fixed Spug public network address Foreword Spug is a lightweight agent-less automated operation and maintenance platform designed for small and medium-sized enterprises. […]

Centos7 installs Docker, installs DockerCompose (clustered deployment), Docker private image warehouse

0. Install Docker Docker is divided into two major versions: CE and EE. CE is the community edition (free, support period is 7 months), EE is the enterprise edition, which emphasizes security, is paid for use, and has a support period of 24 months. Docker CE is divided into three update channels: stable test and […]

Controlling service startup order in Docker compose

Table of Contents introduce Important matters Solution #1: Use depends_on, conditional and service_healthy Solution #2: Use Twist’s Port Check Solution #3: Call the Docker Engine API in conclusion resource Introduction If you use Docker Compose to run multiple containers on a single computer, sooner or later you will encounter a situation where you need to […]

Use docker-compose to deploy SpringBoot project & nginx to deploy front-end

Install Docker Automatic download curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun Check if the installation is successful docker -v Configuring the mirror warehouse Replace the image accelerator (Alibaba Cloud is recommended) Container Image Service (aliyun.com) Scan the QR code to log in and find the mirror warehouse Everyone is different, copy your own […]

docker-compose

Table of Contents 1. Introduction to docker-compose: 1.docker-compose overview: 2. The difference between docker-compose and traditional build: 3. Three major concepts of docker-compose: 2. YAML file format and writing notes: 1. YAML file format: 2. Notes on YAML format: 3. YAML writing format: 3. YAML data structure case: 3. Docker compose fields and commands: 1. […]

Jetpack Compose | State status management and interface refresh

We know that the UI composable items in Jetpack Compose (hereinafter referred to as Compose) are described through functions declared by @Composable, such as: @Composable funGreeting() { Text( text = “init”, color = Color.Red, modifier = Modifier.fillMaxWidth() ) } The above code describes a static Text, so how to update the UI in Compose? State […]

Harbor configures HTTPS and uses docker-compose container deployment

1. Preparation Note: Pay attention to the choice of version. Does the docker version correspond? Prepare images and binaries 1.1 Download the harbor offline package. I packaged the image from a machine using docker save -o. 1.2 docker-compose binaries curl -L https://github.com/docker/compose/releases/download/1.24.1/docker-compose-Linux-x86_64 -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose Configure local resolution echo “192.168.40.63 qiushi.cn” >> /etc/hosts […]

Canvas drawing in Compose

Canvas draws points /** *Canvas draw points */ @Composable fun DrawPointsTest() { val points = arrayListOf( Offset(100f, 100f), Offset(300f, 300f), Offset(500f, 500f), Offset(700f, 700f), Offset(900f, 900f) ) Canvas(modifier = Modifier.size(360.dp)) { drawPoints( points = points, //Type PointMode.Points: Points PointMode.Lines: Lines PointMode.Polygon: Polygons pointMode = PointMode.Points, //color color = Color.Blue, //color gradient // brush = Brush.linearGradient( […]

LLM series | 23: Multi-modal large model: Puyu·Lingbi InternLM-XComposer interpretation, practice and thinking

introduction ?Introduction Model interpretation Model architecture train Actual combat Environmental preparation Local actual measurement Service deployment Summarize Introduction Who thinks that the west wind is alone and cool, the rustling yellow leaves are closed, the windows are closed, and the sun is setting in the setting sun while meditating on the past. Created by DALL·E […]