• Select the text and add a style


    <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”utf-8″> <meta http-equiv=”X-UA-Compatible” content=”IE=edge”> <meta name=”viewport” content=”width=device-width,initial-scale=1.0″> <style> .tag.blue{ border: 3px solid rgb(32, 156, 238); background-color: rgb(32, 156, 238); } .tag.red{ border: 3px solid rgb(255, 51, 51); background-color: rgb(255, 51, 51); } .tag{ color: #fff; border-radius: 5px; font-style: normal; } .tag > .delete{ / margin-left: 5px; / background-color: rgba(10,10,10,.2); […]

  • Monitor system clipboard changes in electron


    preface To complete the clipboard history function, consult the electronic clipboard document. No hook event for clipboard changes was found, so I decided to implement one myself. electronRead inClipboard content API, you can use this API to encapsulate the listening timer method. The specific logic is as follows: Use the timer to constantly judge whether […]

  • Simple application of redis


    Spring boot integrates redis //Import dependency <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> //File configuration spring: redis: host: port: 6379 password: root //Write your own redistemplate package com.shuaikb.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.jsontype.impl.LaissezFaireSubTypeValidator; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.connection.RedisConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer; import org.springframework.data.redis.serializer.StringRedisSerializer; @Configuration public class RedisConfig { @Bean public RedisTemplate<String, Object> […]

  • What is the difference between pseudo classes and pseudo elements?


    What is the difference between pseudo classes and pseudo elements? What is it? Pseudo class(pseudo-class)Is a colon(:)As a prefix, the keyword added to the end of a selector. When you want the style to be rendered to the specified element in a specific state, you can add the corresponding pseudo class to the selector of […]

  • How to segment Notepad + + large capacity text files?


    When brute force cracking the router, it is found that the generated dictionary is 100 million lines, but the maximum number of lines supported by the cracking software is 50 million lines. If you want to split the file into two, you can use the cracking software. Let’s take a look at the detailed tutorial. […]

  • Learn the knowledge of virtual DOM by writing simple virtual DOM!


    Author: deathmoodTranslator: front end XiaozhiSource: medium Like and watch again to form a habit this paperGitHub https://github.com/qq44924588…It has been included in the, more classification of highly praised articles in previous periods, and sorted out a lot of my documents and tutorial materials. Welcome star and perfect. You can review with reference to the test site […]

  • Latex belongs to symbol and root


    Symbols in text, such as $$a \ in B$$ ###Symbols in formulas be careful:\inFollowed by a space Root sign Root sign\sqrt{}Indicates that the input of other root signs is by command\Sqrt [“several powers”] {}express \sqrt{x} \sqrt[3]{x} mathematical formula This work adoptsCC agreement, reprint must indicate the author and the link to this article Hacking

  • JS summary — [summary] detailed explanation of common APIs for JS operation DOM


    The text is sorted outjavascriptoperationDOMSome commonly usedapiAccording to its function, it can be sorted into creation, modification, query and other typesapiIt is mainly used to review basic knowledge and deepen the understanding of native languagejsUnderstanding. Basic concepts Before explaining the API for operating DOM, let’s review some basic concepts. These concepts are the key to […]

  • At the end of the year, the financial personnel who are busy with the whole invoice must try this good thing


    Towards the end of the year, everyone is busy, especially the financial personnel of the company. All kinds of work need to be handled, especially those related to invoices. Although electronic invoices can be provided in many places, paper invoices are still the only choice in many cases. It’s easy to say if it’s just […]

  • Python for NLP natural language processing: using Facebook fasttext Library


    Original link:http://tecdat.cn/?p=8572 In this paper, we will studyFastText, it is another extremely useful module for word embedding and text classification. In this article, we will briefly explore the fasttext library. This paper is divided into two parts. In the first part, we will see how the fasttext library creates a vector representation that can be […]

  • Online text code comparison tool


    Online text code comparison tool Online text code comparison tool Online text code comparison, support text, Java, PHP, python, C + + / C online comparison differences. https://tooltt.com/diff/

  • Illustrated HTTP authoritative guide (I) | HTTP message


                                                                                    1、 Question 1. How does newspaper flow 2. Three components of HTTP message 3. Difference […]