Look at the effect first: Code: I will draw the main parts with red lines css:section: Source code: vue part: <template> <div class=”song-lyric”> <div> <div class=”type”> <div class=”right”> <div class=”right-center” :class=”{ ‘rotates’: isplay }”> <div> <img src=”//i2.wp.com/imagesone.oss-cn-beijing.aliyuncs.com/imagebishe/player_bar.png” class=”right-top” :class=”{rotated: isplay}”> </div> <div> <img src=”//i2.wp.com/imagesone.oss-cn-beijing.aliyuncs.com/imagebishe/disc.png” class=”tight-bottm” :style=”{ transform: ‘rotate(‘ + rotationAngle + ‘deg)’ }”> </div> </div> […]
Tag: seconds
Get timestamp, date, time, milliseconds and seconds in Unity to convert each other and customize time in format
Get timestamp, date, time, milliseconds and seconds in Unity to convert each other and customize time in format introduce what is timestamp When to use timestamps Get Time Get current time Get timestamp Date to timestamp Convert timestamp to date Convert timestamp to how long ago it was Week Custom format time Summarize Introduction Here […]
It takes 21 seconds to insert 10,000 rows of data using the pd.DataFrame.to_sql method
to_sql is the method used in Pandas to write DataFrame data to the database. It can convert DataFrame into SQL statements, which facilitates us to store the data in the database for subsequent operations. The to_sql method contains multiple parameters. The more commonly used parameters are name (table name), con (database connection object), if_exists (if […]
10G large files, seconds transfer, breakpoint resume transfer, multi-part upload
Uploading very large files is a commonplace topic. When the file is relatively small, the file can be directly converted into a byte stream and uploaded to the server. However, when the file is relatively large, it can be uploaded in the normal way. This can This is not a good idea. After all, few […]
The useless warrior (it is said that no one can last for 37 seconds)
Welcome to the Program Courtyard Good-for-nothing warrior How to play: Click the left and right buttons at the bottom of the screen to kill monsters. The monsters will attack from the left and right directions at the same time. Click the buttons quickly to kill the monsters. See how many seconds you can hold on. […]
Frog fun, it turns out that you can use fish-style crazy words to figure out the branch structure in 30 seconds! ! !
Fish-style crazy talk: This crazy talk is not that crazy talk, but it is an easy-to-understand vernacular that can be understood and summarized after completing the questions and practicing and typing the code. I will try my best to insert fish-style crazy talk after each concept. Help everyone understand. Maybe it’s not that rigorous. But […]
File upload in parts, resume upload after breakpoint, and transfer large files in seconds
1. Description The problem is that the file is too large. If you upload a large file to the server, it will cause a timeout and the file cannot be uploaded. In this case, you can cut the file into small files and upload them to the server in a loop and then splice them […]
Using java mail SMTPTransport to send an email, it arrives locally in seconds. Once on the server, it takes about 20-30 seconds. In the production environment, sending directly fails.
1. Code pom file <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <!–Pom.xml adds a reference to javax.mail, or the project introduces the javax.mail jar package–> <dependency> <groupId>com.sun.mail</groupId> <artifactId>javax.mail</artifactId> <version>1.6.2</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> <version>5.3.20</version> </dependency> Send case import javax.activation.DataHandler; import javax.activation.DataSource; import javax.mail.*; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeBodyPart; import javax.mail.internet.MimeMessage; import javax.mail.internet.MimeMultipart; import javax.mail.internet.MimeUtility; import javax.mail.util.ByteArrayDataSource; import […]
Spring Cache kills millions of concurrency in seconds! 90% of projects use this performance optimization secret weapon!
Original Springboot practical case collection Spring Family Bucket practical case source code 2023-10-14 12:34 Published in Xinjiang Spring Family Bucket practical case source code Detailed explanation of spring, springboot, springcloud case development 376 original content No public Environment: springboot2.6.12 + JSR107 + Ehcache + JPA Spring Cache is a framework that implements annotation-based caching functionality. […]
[Office-excel] Subtract two times (2) – Subtract time with milliseconds
1. Use internal functions 1.1 Effect display =TEXT(((RIGHT(TEXT(B2,”yyyy-mm-dd hh:mm:ss.000″),LEN(TEXT(B2,”yyyy-mm-dd hh:mm:ss.000″ ))-FIND(“.”,TEXT(B2,”yyyy-mm-dd hh:mm:ss.000″)))-RIGHT(TEXT(A2,”yyyy-mm-dd hh:mm:ss.000 “),LEN(TEXT(A2,”yyyy-mm-dd hh:mm:ss.000”))-FIND(“.”,TEXT(A2,”yyyy-mm-dd hh:mm:ss.000″ )))) + (LEFT(TEXT(B2,”yyyy-mm-dd hh:mm:ss.000″),FIND(“.”,TEXT(B2,”yyyy-mm-dd hh:mm:ss. 000″))-1)-LEFT(TEXT(A2,”yyyy-mm-dd hh:mm:ss.000″),FIND(“.”,TEXT(A2,”yyyy-mm-dd hh:mm: ss.000″))-1))*86400000)/86400000,”[h]:m:S.000″) in: B2 End time A2 start time Cell format: yyyy-mm-dd hh:mm:ss.000 1.2 Step breakdown Steps Start time End time [B2]2023-09-10 10 :22:24.333 [C2]2023-09-11 10:22:23.222 1. Convert time to string [B3]2023-09-10 […]