Kotlin okhttp simple package
The first time I wrote a blog, I felt a little excited.
Mainly make a record of the process of learning Kotlin. After all, a good memory is better than a bad pen. Although I haven't done it all the time, this may be the beginning. Add dependency:
implementation 'com.squareup.okhttp3:okhttp:3.1.2'
implementation 'org.jet ...
Posted by Buddha443556 on Mon, 06 Jan 2020 03:43:08 -0800
Applet subscription message push (including source code) java implements applet push, springboot implements wechat message push
Previously, I wrote an article about cloud development and implementation of applet subscription message (template message) push, Push function of applet subscription message and template message with cloud development There are many students who use java to write in the background, so today I will write an article about how to implement appl ...
Posted by webpals on Sun, 05 Jan 2020 19:24:34 -0800
vue uses Weixin SDK recording function
Just graduated, entered the company, met the first vue project, using Weixin SDK JS to do the recording function, so started the research journey, after a long time of research, finally, Zen realized a little bit of fur
Many experiments, failures, summary: Weixin JS SDK is to be used online, and can only be used on wechat. It' ...
Posted by xcoderx on Sun, 05 Jan 2020 18:07:23 -0800
Android GSON parses the data of List with Date in the background and how the background interacts
The code returned by interacting with the background is 200. It's important to analyze the List data of JSON. I use SSM in the background. Its JSON is very friendly. In addition to the Date type, first paste the code learned by novices. Many customized online transformations don't need to be so complicated. One line of code com ...
Posted by freynolds on Sun, 05 Jan 2020 15:08:12 -0800
Passing in multiple data at once take EasyUI Datagrid as an example
There are many ways. I just didn't think of it before. I came across it when I was doing the project and wrote it down by the way
For example, I want to transfer the following data to the background:
Popularize the following other knowledge:
In JS, [] means array , {} represents the object; generally used in JSON;
For exam ...
Posted by khurramijaz on Sun, 05 Jan 2020 15:04:44 -0800
python3 crawler grabs job information code of Zhilian
On the code, if you have any questions, please leave a message.
# -*- coding: utf-8 -*-
"""
Created on Tue Aug 7 20:41:09 2018
@author: brave-man
blog: http://www.cnblogs.com/zrmw/
"""
import requests
from bs4 import BeautifulSoup
import json
def getDetails(url):
headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Geck ...
Posted by sonny on Sun, 05 Jan 2020 10:45:34 -0800
Wechat third party login redirect uuri parameter error
Wechat third party login
First of all, the solution: wrong redirect uuri parameter
Set the callback address in the open platform, for example, the address is www.niezhiliang.com. When generating the QR code, the callback can only write the address under the domain name
You must add http or https to the callback address (yo ...
Posted by cnagra on Sat, 04 Jan 2020 23:01:04 -0800
How to judge whether to submit data to the background only when all three input box conditions for registration are met
/**
*There are three input boxes on the registration page. You need all the conditions of the three input boxes to pass data to the server
*1. Wrap the main body with a function, and set three variables without parameters;
*2. Judge whether the data of each input box is correct, and return true if it is correct; return ...
Posted by nabeelkhan on Sat, 04 Jan 2020 19:59:29 -0800
Using phantomjs to screen the web page
PhantomJS is a server-side JavaScript API based on WebKit. It fully supports the web without browser support. It supports various Web standards in a fast and native way: DOM processing, CSS selectors, JSON, Canvas, and SVG. PhantomJS can be used for page automation, network monitoring, page screenshots, and interface free testi ...
Posted by ElectricRain on Sat, 04 Jan 2020 17:22:07 -0800
Qt Writing Baidu Map Comprehensive Application (Online+Offline+Region)
1. Preface
In many applications, there will be a map module. Map-related applications and apps are also very many. The most widely used are navigation. Maps are basically divided into online and offline. Online maps are generally real-time, data is up-to-date, fast route is accurate, the disadvantage is that it consumes traffic, always needs to ...
Posted by craigbabe on Sat, 04 Jan 2020 16:30:16 -0800