WPF -- dynamic addition of custom control and use of BackgroundWorker
I saw a blogger write BackgroundWorker on the Internet yesterday, and I feel very good. After learning and modification, keep records to prevent forgetting!
In the same position in the window, add the rotation effect picture, the code is as follows:
<Canvas Grid.Row="2" Grid.Column="1" Name="cavLoading" Visibilit ...
Posted by RockinPurdy on Sun, 31 May 2020 08:54:43 -0700
ElasticSearch7.x Series IV: actual combat
catalog
preface
ES series installation
Data synchronization
How to search ES in. net code
Single Index and multiple Index
Single field search and full text retrieval
Multiple conditions, time range + paging + highlighting
end
preface
The first three series understand the installation and s ...
Posted by MarcAndreTalbot on Sat, 30 May 2020 23:57:21 -0700
Spring boot configures modular Services - one configuration is used everywhere
Configuring the service module is a bit like the configuration center, but the function is not so powerful for the time being. Later, the source address will be updated after improvement.
catalog
Project function introduction
Project core configuration code
Environment configuration
Hidden configuration of MVC static resources
Project f ...
Posted by lmg on Fri, 29 May 2020 07:21:25 -0700
[open source]. Net ORM access to Renmin Jincang database
preface
Beijing Renmin Jincang Information Technology Co., Ltd. (hereinafter referred to as "Renmin Jincang") is a domestic data management software and service provider with independent intellectual property rights. Founded in 1999 by a group of experts from Renmin University of China who are the first to carry out database teaching, ...
Posted by fean0r on Thu, 28 May 2020 04:41:17 -0700
2 Enables you to quickly get response headers and senders
Today we're going to use two quick ways to get response headers and send headers.
1. Get Request Header
To get the request header, you need to use the package capture tool, which is currently more common than fiddler.You can search and download in Baidu.First let's turn on fiddler
You'll find that on the left side there's an increa ...
Posted by d3vilr3d on Wed, 27 May 2020 18:09:37 -0700
Implementation of Mina Tcp Socket Client
1. Introducing dependencies
<!-- https://mvnrepository.com/artifact/org.apache.mina/mina-core -->
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>2.0.7</version>
</dependency>
2. Create ...
Posted by Wildbug on Wed, 27 May 2020 09:59:54 -0700
Windows Server2012R2 VisualSVN3.9.7-Server online password modification
After verification, upgrade from 3.0.0 to 3.9.7 in the following way. At the same time, support users to change passwords through the web interface. Every user forgets his password and needs the administrator to change it. The workload is not large, but it's really time-consuming and laborious. It's not flattering!1. Installation software prep ...
Posted by many_pets on Wed, 27 May 2020 02:22:54 -0700
Looking at this interesting example, you know multithreaded synchronization in seconds
Catalog
Write before
Case of movie tickets
Example of a single thread
From single threaded to multithreaded
Examples of problematic multithreading
Thread synchronization issues
Example of ensuring thread synchronization
Write at the end
Write before
Write down the technical concepts in the form of words, clarify the logic and deepen the ...
Posted by lavender on Tue, 26 May 2020 19:09:11 -0700
Migration of DATA directory under Windows
1. View the current data (or insert new data) as a marker.
highgo=# create table t1(id int,name text);
CREATE TABL
id | name
----+----------------------------------
1 | cf9920dd1f8a7be7e56a85f8a3e018f6
2 | cf9920dd1f8a7be7e56a85f8a3e018f6
3 | cf9920dd1f8a7be7e56a85f8a3e018f6
4 | cf9920dd1f8a7be ...
Posted by conman90 on Tue, 26 May 2020 08:43:53 -0700
Python 100 line code easily crawls the 100G set diagram of Meizi net. I hope you have enough memory on your network disk [with source code]
preface
Recently, I was doing monitoring related supporting facilities, and found that many scripts are based on python. I heard a long time ago that its name is short of life. I learned python, which is not a joke. With the rise of artificial intelligence, machine learning and deep learning, most of the AI code on the market is written in Pyt ...
Posted by miasma on Tue, 26 May 2020 00:19:00 -0700