Java concurrent programming basics

Concurrent basis Principles of concurrent programming Atomicity Atomicity refers to that in an operation, the cpu can't pause and then schedule in the middle of the process, neither be interrupted by the operation, that is to say, one operation or multiple operations are either all executed and the execution process will not be interrupted b ...

Added by Bladescope on Thu, 24 Oct 2019 21:14:31 +0300

Regular expressions commonly used in development

In order to better understand how to use regular expressions in the C ා environment, here are some common regular expressions: Roman number: string p1 = "^m*(d?c{0,3}|c[dm])" + "(l?x{0,3}|x[lc])(v?i{0,3}|i[vx])$"; string t1 = "v"; Match m1 = Regex.Match(t1, p1); Exchange the first two word positions: string t2 = "the quick brown fox"; string ...

Added by jdsflash on Mon, 21 Oct 2019 18:46:32 +0300

Linux-centos-64bit install MySQL

1. Download mysql installation package to / usr/local/soft [root@VM_0_9_centos ~]# cd /usr/local/soft[root@VM_0_9_centos soft]# wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.33-linux-glibc2.5-x86_64.tar.gz 2. Installation dependent environment [root@VM_0_9_centos soft]# yum -y install perl perl-devel autoconf libaio 3. ...

Added by nyi8083 on Sun, 20 Oct 2019 20:17:09 +0300

After class case of Python learning day 7 (crawling and analyzing website information, crawling pictures)

Crawler for text 1. Crawl the title of the article on the homepage of Netease and do word frequency and word cloud analysis Program code: # Import module package import requests import re import jieba import wordcloud # Crawling object links url = 'https://www.163.com/' # Get web information response = requests.get(url) data = response.text # ...

Added by mosizlak on Sat, 19 Oct 2019 00:09:56 +0300

A quick start to wildfly (JBoss AS) application server

What is wildfly JBoss AS was named wildfly from version 8. Wildfly is an open source lightweight application server based on Java EE. It can be used for free in any commercial application. Wildfly is a flexible, lightweight, powerful management application server. Wildfly is a container and server for managing EJB s, but JBoss core services do ...

Added by djKale on Fri, 18 Oct 2019 16:10:10 +0300

MFC bottom window implementation

Brief description MFC is a basic class library of Microsoft. If GUI is developed on Windows platform, it is a good choice. Simply record the knowledge points that need to be mastered or viewed later in the learning process of MFC. Windows Messaging First, the operating system captures the messages from the keyboard or mouse input system, and ...

Added by Copyright on Fri, 18 Oct 2019 09:40:57 +0300

Judge the browser running environment in detail (probably the most comprehensive judgment, it's worth seeing)

Pay attention to Uzero public number, more front-end small dry goods are waiting for you! Preface Seeing the title, you can remember that this requirement can be used in many projects. The front-end applications we deploy on the Web server can be accessed by either PC browser or mobile browser. With the promotion of smart devices, we can even a ...

Added by ChrisF79 on Thu, 17 Oct 2019 07:15:18 +0300

uni-app Imitate Wechat App Interface | vue+uniapp Chat Room | Imitate Wechat Friendship Circle

Project Profile Based on uni-app+vue+vuex+uniPop+swiper and other technologies uniapp-chatroom Project of Imitating Wechat Chat Room Similar to vue and applet api grammar, it makes the development more convenient. It realizes the functions of sending pictures, text messages, expressions (gif motion map), picture preview, map location, red envel ...

Added by makeshift_theory on Thu, 10 Oct 2019 13:35:20 +0300

Eight Python practical scripts, quickly collect spare! _____________

The script is well written. Get off work early! In addition to writing program code, programmer's daily work inevitably needs to deal with related testing and verification work. For example, access to a Web site has been impassable, you need to determine whether the address is accessible, what the server returns, and then determine what the pro ...

Added by eyedol on Wed, 09 Oct 2019 20:01:18 +0300

c#Winform Custom Control - Titled Panel

premise It's been 7 or 8 years, and I've always wanted to make a beautiful set of custom controls, so I've got this series of articles. GitHub: https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net_winform_custom_control.git If you think it's OK, please click ...

Added by Cheeseweasel on Wed, 09 Oct 2019 15:22:43 +0300