web Front End Case-Developing 3D Dragging Photo Wall

This code is 136 lines, written in css3 and javascript. Now the albums on the network are mostly tiled. If there are many photos, they look very tired. Of course, this is my personal point of view, so this time I made a 3D album dragging effect, which looks beautiful and not tired to watch. Knowledge points: CSS33D effect, CSS3 excessi ...

Posted by navarre on Thu, 16 Jul 2020 08:51:27 -0700

Wechat applet -- 365 notes the 44th day --- get the user's authorized geographical location, longitude and latitude

Demand:1. When entering the page, request the user's geographic location authorization to obtain the user's current geographic location;2. Get the longitude and latitude of users, sometimes it is necessary to calculate the distance between users and stores by longitude and latitude; Steps:1. Wechat appl ...

Posted by aseaofflames on Mon, 29 Jun 2020 22:01:07 -0700

[STM32] RS485 Modbus protocol collects sensor data

1, Hardware 1. Sensor: hydraulic sensor, 12vDC, RS485 data output, Modbus protocol communication2. Circuit: according to the sensor properties, the circuit is mainly composed of two parts, communication circuit and power supply (1) 485 circuit: because 485 is half duplex communication, it needs to control the transceiver, so it is simply desig ...

Posted by maxrisc on Mon, 29 Jun 2020 20:49:24 -0700

python common errors and exceptions! Incidental treatment method

As a Python beginner, when learning Python programming, we often see some error messages. Python has two types of errors that are easy to recognize: syntax errors and exceptions. Python assert is used to judge an expression and trigger an exception when the expression condition is false. syntax error Python syntax errors, or parsing errors, ar ...

Posted by michaelmuller on Mon, 29 Jun 2020 20:17:42 -0700

Custom request header of RestTemplate in SpringBoot WEB Series

User defined request header of RestTemplate in WEB Series The last article introduced the basic usage posture of RestTemplate, and at the end of the paper, some extended advanced usage posture were proposed. This article will focus on how to carry user-defined request header, such as setting user agent and carrying Cookie Get carry request ...

Posted by mysterbx on Mon, 29 Jun 2020 18:51:26 -0700

@What does the Transaction annotation not work?

Take a look at the simplest example of CGLIB, and feel how AOP is achieved? /** * Created with vernon-test * Description: * User: chenyuan * Date: 16/4/25 * Time: 9:25 am */ public class Target { public String execute() { String message = "----------test()----------"; System.out.println(message); return message ...

Posted by stylefrog on Mon, 29 Jun 2020 03:15:21 -0700

Verilog on-board experiment: multifunctional counter

catalog Experimental requirements Step 1: A add and subtract counter is designed, which is combined with binary to BCD decoder and alternating display control circuit in Experiment 1 As shown in the figure: Counter input: Clk,Up,Down,Rst,Enable 8bits output: Cnt7~Cnt0 Rst=1, the counter is cleared ...

Posted by bapan on Sun, 28 Jun 2020 21:43:02 -0700

Intelligent dialogue APP based on Aispeech -- external TTS engine and voice broadcast, setting speaker, setting speed and other functions

Intelligent dialogue APP based on Aispeech (4) -- external TTS engine and voice broadcast, setting speaker, setting speech speed and other functions 1, Problems and Solutions 2, External TTS engine 2.1 TTS engine 2.2 voice broadcast priority 2.3 stop broadcasting 2.4 setting up TTS engine 2.5 settin ...

Posted by menios on Sun, 28 Jun 2020 21:27:05 -0700

Construction of koa2 view layer for Js full stack development

koa2 view layer construction Next to the previous one koa2 routing and mvc building in Js full stack development Let's continue to learn about koa2. In the previous article, we split the project into route, controller and service layers according to the mvc architecture, but the view layer and control ...

Posted by ShugNorris on Sun, 28 Jun 2020 19:06:29 -0700

Asynchronous programming - coprogramming

Python asynchronous programming preface Now it's Python 3.5 and it has entered the asynchronous era Because of the existence of GIL (global lock), python can not play the advantage of multi-core, and its performance has been criticized. However, in IO intensive network programming, asynchronous processing is hundreds of times more efficient ...

Posted by stickman373 on Sat, 27 Jun 2020 22:46:42 -0700