Tensorflow's Protocol Buffers3 programming

Take a look at the example of the python interface's administrative address book. Add "person" means to add a person to the address book and enter personal information. List > people list the people who are already in the address book. First define your own addressbook.proto syntax = "proto3"; package tutorial; messag ...

Posted by llimllib on Sun, 05 Apr 2020 00:28:11 +0200

The mobile end of vue realizes the drag and drop of div

The mobile end of vue realizes the drag and drop of div This article describes how to achieve a floating window similar to the iPhone on the mobile side of VUE. Relevant knowledge points Touch start triggered when a finger is pressed on the screen touchmove triggered when a finger is moved on the screen touchend triggere ...

Posted by mitsubishi2002 on Fri, 03 Apr 2020 04:30:33 +0200

FMDB database upgrade - add table fields

Reprinted from: https://www.jianshu.com/p/124a2e4e8c42 Preface Upgrading the database is a very tedious and seemingly troublesome thing. In an interview, the interviewer asked about adding fields to update the database and upgrading it. I replied that I could make a database migration copyEvery time I judge the updat ...

Posted by kalinkap on Mon, 30 Mar 2020 22:49:24 +0200

4, Create, delete, copy, move directory

1 create directory Use: mkdir [options] [Directory...] (1) Create folder a at the root mkdir /a ls /a (2) Create multiple directories mkdir a b c (3) Create multi-level directory, eg: create b under a directory, create c under b Directory mkdir -p a/b/c/d ls -R a 2 delete directory rmdir can only delete the blank directory. If there is a ...

Posted by Kitty on Mon, 30 Mar 2020 16:10:54 +0200

Flutter 81: illustration of Android Native integrated fluterboost small attempt

In a historical project, Xiaocai has connected to the Flutter Module and used fluterboost as the Platform Channel bridge. However, there are many problems in the actual development, only two impressive small problems are recorded; Problem 1:. so file confusion problem analysis The NDK used in the history project of the small dish is armeabi, bu ...

Posted by Velausanakha on Sun, 29 Mar 2020 15:55:23 +0200

Sharing and downloading functions of applet JAVA in action (69)

We can't share the circle of friends on the applet, we can only spread it by sending the designated users and the designated user group. It's very important to master the sharing function! Source code: https://github.com/limingios/wxProgram.git No.15 and springboot in Official introduction https://developers.weixin.qq.com/miniprogram/dev/frame ...

Posted by ok on Mon, 23 Mar 2020 11:52:07 +0100

Live2D(Cubism3.x) web Kanban settings

Previous tutorial Main contents of this issue 1, Perfect what you didn't notice before. Set the mouse movement event before, and forget to modify the mouse click event Add the code in the original place 2, Understand the configuration file of this model file and configure it according to your own need ...

Posted by dhillarun on Sat, 14 Mar 2020 09:36:38 +0100

Add, delete, modify and query 2 of MySQL table

1. Database Constraints 1.1 NULL constraint When creating a table, you can specify that a column is not empty: -- Reset student table structure DROP TABLE IF EXISTS student; CREATE TABLE student ( id INT NOT NULL, sn INT, name VARCHAR(20), qq_mail VARCHAR(20) ); 1. ...

Posted by herod1 on Tue, 10 Mar 2020 05:55:32 +0100

Taodong e-commerce project (25) - portal registration function

Introduction The code of this article has been submitted to Github (version No.: 0bc0c9f7be8c3a9c64b2e9efec94f55ed8b1a334). Students who are interested can download it to have a look: https://github.com/ylw-github/taodong-shop In the last section Taodong e-commerce project (24) - access to verifica ...

Posted by Daguse on Mon, 09 Mar 2020 10:10:22 +0100

python games development

1 word guessing game The game introduce: guess the word game is to calculate the soap machine to produce a word randomly, disorder the alphabet order, for the player to guess. This game uses the control character interface. In the game, tuples in the sequence can be used to store all the words to be guessed. Because the game of guessing words ...

Posted by minorgod on Sun, 08 Mar 2020 12:29:59 +0100