Java ticket selling task_ Detailed implementation of multithreading
Title Review: the Ministry of Railways has issued a ticket sales task, which requires 1000 tickets to be sold and three windows to be sold. Please write a multi-threaded program to simulate this effect.
i. window 001 is selling ticket 1000
ii. Window 001 is selling ticket ...
Added by JustLikeIcarus on Sun, 14 Jun 2020 11:38:42 +0300
02_IO overview (concept & classification)
03_ Everything is byte
04_ Byte output stream_ OutputStream class & introduction to fileoutputstream class
05_ Byte output stream writes data to file
06_ The principle of file storage and notepad opening
07_ The method of writing multi ...
Added by jiggaman15dg on Sun, 14 Jun 2020 07:51:46 +0300
When writing a blog, you often need to show the directory structure of the project. My computer is windows, and the tree command is not very effective. If you can use Node, you can use Node! So I found several cross platform ones. namely tree-cli and tree-node-cli These two are one author. Among them, tree node cli is more suitable for Linux us ...
Added by feyd on Thu, 11 Jun 2020 06:20:57 +0300
Words written in the front
Autohotkey is a lightweight, small but efficient, free and open source windows hotkey scripting language. Game manipulation, mouse operation, keyboard shortcut redefinition, shortcut phrases, etc. only you can't think of it, but you can't do it without it. The artifact in artifact is too late to meet.
Added by mikeylikesyou on Tue, 09 Jun 2020 10:12:22 +0300
RedisLock -- make Redis distributed lock simple
1. Project introduction
2. Fast use
2.1 introducing maven coordinates
2.2 register RedisLock
3. Participation and contribution
4. Contact the author
5. Open source protocol
1. Project introduction
This project mainly simplifies the operation of redis distributed transact ...
Added by work_it_work on Sat, 06 Jun 2020 05:57:21 +0300
Use Linux commands to view data about the current system status and health. However, a single Linux command and application can only obtain one aspect of system data. We need to use the Python module to feed these details back to the administrator and generate a useful system report at the same time. ...
Added by Simon Mayer on Fri, 05 Jun 2020 07:12:29 +0300
Copyright notice: This is the original article of Colin Cai, welcome to post. If you want to transfer, you must indicate the original website
QQ / wechat: 6679072
In theory, function is the first class function language, which can use function ...
Added by William on Sun, 31 May 2020 10:45:35 +0300
Introduction to vnc server
vnc server is a service opened on the server in order to satisfy the distributed users to share the resources on the server. The corresponding client software is vnc viewer. vnc server can also be different operating systems, such as using windows to access linux system resources remotely.
VNC connecting Linux
1. Do ...
Added by GM on Sun, 31 May 2020 01:21:49 +0300
Golang uses selenium to operate Chrome
Solve the problem of automatic login, and solve the problem of crawler by the way.
2. Basic concepts
Selenium: selenium is a tool for Web application testing. Selenium testing runs directly and automatically in the browser, just like real users operate manually.
Webdriver: Chrome driver is an au ...
Added by Kold on Fri, 29 May 2020 04:15:44 +0300
I always think that learning c + + is too complex, and there are many types in it, which are too many to distinguish at all. However, most of the online materials are c + +, and some problems are not solved perfectly with other methods (can be used in c, java, python)
Then I decided to do it. Because I had to do c + +, I had to do VC + +, and ...
Added by Virii on Wed, 27 May 2020 07:19:14 +0300