vscode compiles c + + files using (msvc)cl.exe and (MingW)g++.exe at the same time
I did not find what I wanted on the Internet. I made a great success. I hereby record it for your reference.
Vscode download and installation are very simple, smart you will see. This paper focuses on how to use vscode in the same c + + project to freely switch between using Microsoft msvc's cl.exe and ...
Posted by wizzard on Wed, 29 Jan 2020 02:46:08 -0800
Python 3 requests module usage example
Requests automatically send HTTP/1.1 requests through urlib3. It can easily implement cookies, login verification, proxy settings and other operations.
Python's built-in urllib module is used to access network resources. However, it is troublesome to use and lacks many practical advanced functions.
...
Posted by Cerebral Cow on Wed, 29 Jan 2020 01:30:35 -0800
Using enumeration in Java well, it's not so simple!
Recently, I revisited Java enumeration and saw this article that I thought was good, so I simply translated and improved some content and shared it with you. I hope you can also get something. In addition, don't forget that there is a supplement at the end of the article!
ps: here is an enumeration article, which is also a very practical pract ...
Posted by habib009pk on Wed, 29 Jan 2020 00:19:07 -0800
ssm background processing for uploading photos on wechat applet
The effect of wechat applet
1: Wechat code
(2)wxxml
<view class="container-body container-gray" style="display:{{showfootertab==0?'block':'none'}}">
<form bindsubmit="evaSubmit">
<view class="group">
<view class="group-header">Problem description</view>
<vie ...
Posted by MrPotatoes on Tue, 28 Jan 2020 07:49:47 -0800
Express bird api logistics query interface to realize the docking and calling of order number query function of subscription logistics track
Background:
Share an article about synchronizing the logistics track to the local server in the e-commerce system. The current scheme uses the express bird integration api as the data source interface, which is free of charge, but the function provided is very powerful, with a special after-sales maintenance team. demo can be called in multipl ...
Posted by g7pwx on Mon, 27 Jan 2020 23:54:03 -0800
Remake a todolist using vue cli
First, enter the project directory and start the project npm run start / npm run dev with the command [please refer to the package.json file in the project directory]
(where the x.vue file is a single file component)
Next, change the single file component x.vue
Note that the vue syntax requires that the. vue file, in the < ...
Posted by brash on Mon, 27 Jan 2020 08:31:31 -0800
Generation of random verification code for jsp login page
Generation of random verification code for jsp login page
There is a very strange and especially puzzling problem here, that is, ajax return value, json parsing has always been garbled, what req.responseText gets has always been garbled, which has been done for a long time, but can't be found out. W ...
Posted by jerryroy on Mon, 27 Jan 2020 07:21:00 -0800
Redis for spring boot
The following dependencies are introduced into the pom.xml of the project:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-redis</artifactId>
</dependency>
To configure:
#redis host
spring.redis.host=192.168.3.18
View the RedisAutoConfigu ...
Posted by antonyjohn on Mon, 27 Jan 2020 07:16:10 -0800
How to use locally installed packages in node modules?
How to use the local version of the module in node.js. For example, in my application, I installed coffee script:
npm install coffee-script
This will install it in. / node \ u modules, while the coffee command is in. / node \ u modules /. Bin / coffee. Can I run this command when I am in the project's home folder? I guess I'm looking for ...
Posted by nerya on Mon, 27 Jan 2020 02:23:08 -0800
python crawler - crawl cat-eye movie top100 using requests Library
Use the requests library to capture the contents of the cat-eye movie TOPl100.
Target site: https://maoyan.com/board/4
1. Grab Home Page
Define the get_one_page method and pass it a url parameterNote: Cat Eye Movie website has anti-crawling measures, you can crawl after setting headers
import reque ...
Posted by TylerL on Sun, 26 Jan 2020 20:10:10 -0800