The magic widget of Flutter tips

It's just to share a little skill of flutter. Of course, it's not only applicable to flutter, but also to other devices like Android. In order to quickly realize the requirements of xx design, we can take out the system's own widget s and change them into our own, with speed and style, but men can't s ...

Posted by johnpdmccall on Tue, 03 Mar 2020 00:18:03 -0800

Leyou mall project - day19 - order + wechat payment (end part - full code attached at the end of the article)

1. Order system interface We don't do development, we just explain 1.1. Import order service Copy the Leyou order provided by the pre class materials to the D:\heima\code\leyou directory. Then import in the project: Just import the Pom coordinates directly Start all microservices: 1.2.Sw ...

Posted by loveranger on Mon, 02 Mar 2020 22:36:24 -0800

Inception V3 migration training

1: Prepare picture data, a training data, a test data. The structure is as follows: Download the retrain.py program (https://github.com/tensorflow/hub). In the image train under the example folder, if the retrain.py program downloaded from the above link reports an error that cannot be connected during ...

Posted by Taneya on Mon, 02 Mar 2020 22:16:46 -0800

Hey, I use Drone as CI

It's really great to do CI/CD based on drone. Compared with jekins, the big brother in the industry, I prefer drone. In comparison, I think it has the following advantages Plug in does not require additional management Based on yaml file, easy to write, configuration can be version management Can be bu ...

Posted by lady1dc on Mon, 02 Mar 2020 20:09:43 -0800

CTF's Android reverse uncrackme level1

On the contrary, Android doesn't seem to have a website similar to vulnhub, with a large number of target machines practicing penetration testing. At present, I have found that XCTF has reverse and mobile problems, and OWASP MSTG CTF project. Start with MSTG! github of CTF project click here . Howeve ...

Posted by Blue Blood on Mon, 02 Mar 2020 19:16:27 -0800

Creation of redis cluster, detailed description and validation of ERR syntax error for redis cluster card slot migration error

Preface Before redis 5.0.0, the script redis-trib.rb written by ruby was used to operate redis cluster. The disadvantage of this is that Ruby and gems environment need to be installed. There is no Ruby environment such as redis-trib.rb in the official docker image, which needs to be installed by itself. It is time-consuming, complex and not eas ...

Posted by windjohn on Sun, 01 Mar 2020 17:51:36 -0800

Using TMPFS to speed up websites

Preparation 1. Backup the nginx root directory 2. View system version $ cat /etc/issue Ubuntu 18.04.4 LTS \n \l step 1. Create a directory, such as / ramdisk, and then use the tmpfs command to mount part of the memory as a hard disk mount -t tmpfs -o size=256M tmpfs /ramdisk Here, I mount the maxi ...

Posted by eideticmnemonic on Thu, 27 Feb 2020 18:23:27 -0800

Detailed explanation of the use of ssziprarchive

1, Use details: When we develop an app, we sometimes need to compress and decompress the files. At this time, we must use a third-party open source library, ssziprarchive, to compress and decompress the target files.   DDLog is used to record logs. The logs of DDLog exist in different files by ...

Posted by jeff8j on Thu, 27 Feb 2020 00:00:16 -0800

JavaScript uses the alert() function in jQuery $("ා). Blur() to cause infinite cycles to lose focus and execute the pop-up warning solution

Problem analysis of this record: 1. Time difference problem: When I click alert, I clear and focus the input box, but the moment I click alert, the focus is not on the input box, and the defocus event is triggered, resulting in the alert pop-up. 2. Sequence question: With the mentality of first letting it pop up in the execution of clearing and ...

Posted by BDabrowski on Wed, 26 Feb 2020 20:46:34 -0800

Application of java 8 in Spring Boot JPA

Article Directory Optional Stream API CompletableFuture Application of java 8 in Spring Boot JPA In the last article we talked about how to use JPA in Spring Boot.In this article, we will explain how to use the new special habits of java 8 in Spring Boot JPA, such as Optional, Stream API, and Comp ...

Posted by Anarchatos on Wed, 26 Feb 2020 18:07:50 -0800