New Year's Eve Special Edition teaches you how to develop WeChat Public Number

Article Directory Article Subject Setting up development environment Access to WeChat Public Platform Fill in server configuration Verify that the message really came from the WeChat server receive messages Reply message Chat Robot Reply to Text Message Custom Menu Menu response Template message S ...

Posted on Thu, 23 Jan 2020 21:20:34 -0800 by stig1

Week 11 Study

The teacher started by giving us a summary of recent learning (we learned the basics of dynamic websites in the past few weeks, how to create web projects in Intellij, how to learn JSP elements and hidden objects, through which we implemented a landing registration page, how to check landing registratio ...

Posted on Wed, 22 Jan 2020 22:35:52 -0800 by webbnino

VScode configuration prettier and eslint

In the front-end tool, if the prettier is used for code formatting, eslint performs error detection. Great help for front-end work Principle: The prettier and eslint configurations can be divided into two types: local configuration and global configuration. VScode will check whether there are user-def ...

Posted on Wed, 22 Jan 2020 06:06:06 -0800 by Shandrio

SpringBoot - error handling mechanism and embedded Servlet container configuration

1. Error handling mechanism 1) Default error handling mechanism of SpringBoot Default effect: 1) browser, return to a default error page Request header for browser to send request: 2) if it is another client, it will respond to a json data by default ​ Principle: Refer to ErrorMvcAutoConfiguration; ...

Posted on Tue, 21 Jan 2020 20:55:34 -0800 by lukelee

tiff image in html

###What is tiff tiff is a picture format Today, I suddenly saw that there was a picture loading failure. The console called out a picture address in tiff format. So Baidu checked / asked a friend, and finally found a tiff.js file npm installation can't follow others' instructions. Next, record the pro ...

Posted on Tue, 21 Jan 2020 07:48:37 -0800 by titaniumtommy

Easy to use guide for flask socketio

Technology blog: https://github.com/yongxinz/tech-blog At the same time, welcome to pay attention to my WeChat public number AlwaysBeta, more wonderful content waiting for you to come.Flask socketio enables flask applications to access low latency two-way communication between clients and servers. Clien ...

Posted on Tue, 21 Jan 2020 02:31:53 -0800 by intech

RedisTemplate configuration for Redis (serialization and deserialization)

1. Preface For redis operations, springboot is well encapsulated, spring data redis.A highly encapsulated ReedisTemplate class is provided for a series of redis operations, with connection pools automatically managed, and transaction encapsulation operations handled by containers. Several strategies a ...

Posted on Mon, 20 Jan 2020 18:41:19 -0800 by esfisher

Can't go home for the train ticket? Teach you how to develop 12306 ticket checking artifact in Python

Near the new year's pass, many tourists are eager to buy tickets home, but at this time, the train tickets are always in short supply. I think of Xu Zheng's a few years ago starring in "people lost in the road". During the Spring Festival, a boss and a migrant worker were all embarrassed becau ...

Posted on Mon, 20 Jan 2020 03:24:04 -0800 by jesse24

Binary search based on interval

Home in 2019 before the new year Problem scenario: The format of the interval is as follows. It is a Json string as a whole. The startTime and endTime of each interval are arranged in the order of small to large. "[{\"endTime\":1578633955,\"startTime\":1578626876},{\"endTime\":1578640268,\"startTi ...

Posted on Mon, 20 Jan 2020 03:22:29 -0800 by centerwork

Using Python and Baidu speech recognition to generate video subtitles

Article directory Extract audio from video Segment audio according to mute Using Baidu speech recognition Get Access Token Using Raw data for synthesis Generate subtitles summary Extract audio from video Install moviepy pip install moviepy Related code: audio_file = work_path + '\\out.wav' vi ...

Posted on Sat, 18 Jan 2020 23:31:27 -0800 by designationlocutus