Tag:forward part of sth.
-
Building a Web site on a Raspberry Pi [no public IP needed].
catalogs 1. Overview 2. Install Raspberry Pi OS with Raspberry Pi Imager 3. Setting up the Apache Web server 3.1 Testing the web site 3.2 Installing a static sample site 3.3 Publishing web sites to the public network 3.4 Installing Cpolar 3.5cpolar for token authentication 3.6 Generate cpolar random domain URLs 3.7 Generating cpolar second-level […]
-
CSS how to achieve gradient background
catalogs CSS defines two types of gradients: Format: How to use: Edit to use transparency: CSS defines two types of gradients: Linear gradient (down/up/left/right/diagonal);Radial gradient (with center spreading out to the surroundings); Format: background-image: linear-gradient( direction/angle , color1, color2, color3 ….) ; How to use: A linear gradient is defined this way by the attribute […]
-
[Public Network Remote Mobile Android Server] Android Termux Build Web Server
catalogs summarize 1. Set up apache 2. Install cpolar Intranet Penetration 3. Public network access configuration 4. Fixed public network address 5. Add site summarize Termux is an Android terminal emulation application used to build a complete Linux environment on Android phones, capable of realizing many basic operations under Linux, and does not require root […]
-
JDBC Connecting to MySQL
catalogs I. Beginning II. Introduction 1, the concept of JDBC 2、Functions of JDBC 3, JDBC common interfaces and classes III. Database creation (MySQL) 1. Connecting to MySQL (1), register the driver (2) Getting Connected (3), get the executor connection (4), execute the SQL statement, and accept the results (5), processing results (6) Release of resources […]
-
WebMagic – A collection of creative front-end projects (click on the links to see the results on your computer)
WebMagic – A Collection of Creative Front-End Projects Welcome to the WebMagic repository! This is a collection of amazing front-end projects covering a number of technologies including HTML5, CSS3 and JS. Whether you’re a front-end developer, designer, or someone interested in creative interactive content, this repository has endless surprises in store for you. Each project […]
-
From three.js rotation animation, I learned about requestAnimationFrame
catalogs three.js rotation animation Pre-animation knowledge Screen Refresh Rate and Browser Redraw Count How animation is formed What are the ways to realize animation What is a requestAnimationFrame setTimeout&&setInterval concluding remarks three.js rotation animation Rendering out a cube in three.js is simple, with the following code: import * as THREE from “three”; // Create the […]
-
How to send messages using websocket on the front end
preamble Learn how to send messages using websocket on the front-end today! 1 Introduction to the Basics 1.1 What is WebSocket WebSocket is a protocol for full-duplex communication over a single TCP connection that allows real-time, two-way communication between a client and a server. Unlike traditional HTTP requests, WebSocket uses a long connection to maintain […]
-
Vue3+Vite+TypeScript common project module details
catalogs 1. Vue3+Vite+TypeScript Overview 1.1 vue3 1.1.1 Vue3 Overview 1.1.2 Current status and development trend of vue3 1.2 Vite 1.2.1 Realities 1.2 Build the vite project 1.3 TypeScript 1.3.1 TypeScript Definitions 1.3.2 TypeScript Basic Data Types 1.3.3 A Brief Introduction to TypeScript Syntax 2. Brief overview of project configuration 2.1 eslint Checksum Tool Configuration […]
-
JS built-in objects
preamble In today’s digital age, front-end technologies are increasingly becoming key to shaping the user experience. We need to use some properties of many js built-in objects in our development to help us develop faster. Maybe you are a newbie to the front-end field or a developer who wants to know more about built-in objects, […]
-
Wrap Vue3 form binding in Typescript, with support for anti-shake and other features.
Vue3 parent-child component passing values, binding form data, secondary encapsulation of UI libraries, anti-jitter, etc., I think we are all very familiar with it, this article introduces a way to use theTypescript method of unified encapsulation in the manner of the Basic usage Vue3 provides a simple way for form binding:v-model. Very user-friendly.v-model=”name” That’s all. […]