Flask Builds Blog Built-in Third Party Markdown

There's always been a catch-up with your blog site, and then you find that article editing can cause a lot of problems if you just use text editing, so you decide to look for data and have a third-party open source Markdown editor built in.Ultimately, I chose editor.md. Show me the final result. Say no ...

Posted on Thu, 08 Aug 2019 19:40:07 -0700 by parka

MYSQL transaction, isolation level, lock

Four Characteristics of Transaction When it comes to database transactions, yes, we first think of ACID, which is the four characteristics of transactions. A Atomicity C Consistency I Isolation D Persistence The problems brought about by it What problems will these four characteristics of transactions b ...

Posted on Tue, 06 Aug 2019 20:37:01 -0700 by cwiddowson

From knowing Hash and Html5 History to simply implementing routing

Hash The hash attribute is a readable and writable string, which is the anchor part of the URL (starting with the #), and hash in the page has a variety of functional meanings: Anchor point url: http://www.example.com/index.html#jump dom: <a name="jump"></a> perhaps <div id="jump" > After reading hash, the browser automaticall ...

Posted on Tue, 06 Aug 2019 18:11:09 -0700 by keiran420

Python3 Web Crawler Actual-37, Dynamic Rendering Page Grabbing: Selenium

In the previous chapter, we learned about how Ajax is analyzed and grabbed, which is also a case of pages rendered dynamically by JavaScript. By directly analyzing Ajax, we can still use Requests or Urllib to capture data. However, JavaScript dynamically renders more pages than Ajax.For example, China Youth Network: http://news.youth.cn/gn/ , ...

Posted on Tue, 06 Aug 2019 15:16:34 -0700 by wolfrock

Component communication mode of vue

Links to the original text: https://juejin.im/post/5d267dcdf265da1b957081a3 COMPONENT COMMUNICATION MODE I. props / $emit 1. The parent component passes values to the child component 2. Subcomponents pass values to parent components 2. ...

Posted on Tue, 06 Aug 2019 01:54:06 -0700 by master82

Detailed explanation of MyBatis two-level caching mechanism

Caching is an important means to improve the performance of hardware and software systems; on the hardware level, modern advanced CPU s have three-level caching, and MyBatis also provides a caching mechanism, which can greatly improve our query performance. Level 1 cache Mybatis supports caching, but ...

Posted on Sun, 04 Aug 2019 22:43:38 -0700 by charlestide

New Mybatis-xml File Deployment and Simple Application

Initial Mybatis-xml file deployment and simple application (Dao mode) Tools used mybatis-3.2.7.jar mysql-connector-java-8.0.16.jar mybatis myeclipse mysql5.5.15 navicat Use the tool to search for it by oneself! ____________ 1. Open Navicat to create a table for testing mysql creates database CREAT ...

Posted on Sun, 04 Aug 2019 21:23:02 -0700 by ckjian

JSch-Implementing Server Remote Operation with java

introduce Some time ago, a special requirement was received, and a service for deploying services was needed. The main task is to deploy a k8s service cluster to the remote server, and the connection information of the specific server will be transmitted through the interface. Originally, the deployment was done manually. It is nothing more t ...

Posted on Sun, 04 Aug 2019 19:34:08 -0700 by whistler

1. The Creation of Containers

By quickly building a spring-based web application with idea, we can start with the spring listener in web.xml 1.1 context Creation When tomcat starts a webapp application, it uses multithreading to call the start method of StandardContext, and when StandarContext starts, it calls the listener that im ...

Posted on Sat, 03 Aug 2019 23:57:08 -0700 by acidglitter

Python polling, long polling, websocket

Links to the original text: https://www.jianshu.com/u/8f2987e2f9fb polling ajax polling, ajax polling principle is very simple, let the browser every few seconds to send a request, ask the server whether there is new information. 1. Backen ...

Posted on Sat, 03 Aug 2019 01:01:29 -0700 by zilem