[LeetCode]13. Roman numeral to integer

Title Description   Roman numerals contain the following seven characters: I, V, X, L, C, D and M. Character           numerical value I             1 V             5 X             10 L             50 C             100 D             500 M             1000 For example, the Roman numeral 2 is written as II, which ...

Posted by Guernica on Wed, 10 Nov 2021 00:35:53 -0800

Mysql DQL language, group by, order by, join, union

Introduction concept DB: databaseDBMS: Database Management SystemSQL: Structured Query Languagedatabasedata sheetfield After mysql is successfully installed, common commands: mysql [-h host ip -p port] - u user name - p enter enter password to log inshwo databases; Display all databases after successful loginuse database name; Open data ...

Posted by richo89 on Wed, 10 Nov 2021 00:30:09 -0800

Management blog SpringCloud learning 8: Hystrix service fusing, service degradation, Dashboard flow monitoring

1, Concept: Service avalanche 2, What is Hystrix Official website information https://github.com/Netflix/Hystrix/wiki 3, Service fuse summary experiment Step 1: create the service provider springcloud-provider-dept-hystrix-8001 Step 2: modify pom.xml <!--hystrix--> <dependency> <groupId>org.springfr ...

Posted by hammerslane on Wed, 10 Nov 2021 00:09:12 -0800

Code examples python syntax: file reading and writing

in use python When programming, we often encounter the operation of reading and writing files. Many children's shoes are perplexed by various modes of reading and writing files (such as reading, writing, adding, etc.) and unclear open,read,readline,readlines,write And other methods. File read / write yes python Basic operation, this paper brie ...

Posted by ashbai on Tue, 09 Nov 2021 23:53:07 -0800

word template automatic generation engine written in JAVA

Hello, I'm TJAn inspirational programmer who recommends 10000 open source projects and toolsWhat is TJ's biggest headache when he works on the project? Of course, it is necessary to write all kinds of documents, especially for projects in large companies. Although a mature project management process really depends on all kinds of documents to c ...

Posted by Vince on Tue, 09 Nov 2021 23:40:31 -0800

Thoroughly explain the details of the simple factory that you haven't paid attention to

This article is excerpted from "design patterns should be learned this way"1 encapsulate product creation details using simple factory modeNext, let's look at the code and take the creation of an online course as an example. Assuming that there are courses such as Java architecture, big data and artificial intelligence, an ecosystem h ...

Posted by SieRobin on Tue, 09 Nov 2021 23:08:46 -0800

Windows 10 Linux development environment building (WSL)

1, WSL initialization Search Linux from the Windows reference store and download Ubuntu (optional 18.04 or 20.04). After downloading, click Install from the start menu and you will be asked to initialize your user name and password. 2, Create root user Subsequent operations require root permission. Ubuntu does not have root user by default and ...

Posted by Yippee on Tue, 09 Nov 2021 22:48:12 -0800

setup function in Vue3 and response expression ref reactive

In the previous article, Xiaobian and everyone learned the basic syntax and concepts of Vue, including components, data mixing and slots. Starting today, Xiaobian will learn the new features in Vue3, that is, the overwhelming composition API fried online, to see what the magic is. The code we wrote through Vue is basically like this Vue.create ...

Posted by lee2732 on Tue, 09 Nov 2021 22:48:14 -0800

04 data analysis and mining xgboost&git

Data analysis and mining xgboost&git git address git Upload files to GitHub for the first time Enter the managed folder Open git bash Initialization command git init View file status in directory git status # New or modified files are red Manage specified files (red to green) git add file name git add . # All documents ...

Posted by aaaaCHoooo on Tue, 09 Nov 2021 22:16:36 -0800

Django - implement paging

Django - implement paging View core code # Get all articles post = Post.objects.all() # Gets the value of p, which defaults to 1 p = request.GET.get('p', 1) # The first parameter is a required parameter, which represents the data to be paged. The parameter value can be list, tuple or ORM query data object. # The second parameter is a required ...

Posted by d~l on Tue, 09 Nov 2021 22:14:25 -0800