Installation of Android APK

Brief description of APK installation process, before the formal start of the article, we need to do some knowledge supplement 1: How to invoke the installation interface, taking the installation of sd card as an example Intent intent = new Intent(Intent.ACTION_INSTALL_PACKAGE); intent.setData(Uri.parse("file:/sdcar ...

Posted by adamlacombe on Fri, 17 May 2019 14:17:55 +0200

Record a Develop Wechat Web Page Sharing

demand Recently, we are doing a project to share the activities of collecting good books, to get users'personal information and union ID, and to induce users to share it with friends or circles of friends, so as to achieve the goal of fission. In the process of doing this, I met some pits, so I'll sum up. Technical proposal Use Wechat JS-SDK to ...

Posted by xsgatour on Thu, 16 May 2019 03:30:20 +0200

Chapter 3 The first project of RN: Realization of network requests

Network requests are essential to our project development.A network request consists of a client-side code implementation or can be initiated directly from a js page.This chapter focuses on how to build a network architecture. Android side Architecture description: Use retrofit2 to implement network requests.This code is relat ...

Posted by sohdubom on Thu, 16 May 2019 00:56:46 +0200

Web Front-end Necessary-Nginx Knowledge Summary

Introduction to Nginx Nginx is a high-performance, lightweight Web and reverse proxy server, which has the characteristics of less memory and resources, and strong concurrency resistance. Nginx is simple to install, simple to configure, fast and convenient to start, supports hot deployment, supports SSL, and has a highly modular design. The mai ...

Posted by trixiesirisheyes on Wed, 15 May 2019 20:31:23 +0200

Python Learning Notes: Day 10 User Registration and Login

Preface Recently, in the study of in-depth learning, several models have been run out, but the foundation of Pyhton is not solid enough. Therefore, we began to tutor Python. Everyone recommended Liao Xuefeng's course. Therefore, we started to learn, but whether optics is useful or not. We also need to discuss with you. Therefo ...

Posted by fortnox007 on Wed, 15 May 2019 16:56:40 +0200

Add MySQL users and set corresponding permissions under CentOS 7

1. Enter the mysql command line, enter root and password [root@localhost ~]# mysql -u root -p Enter password:  Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 19 Server version: 5.7.22 MySQL Community Server (GPL)   Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.   Orac ...

Posted by hyp0r on Wed, 15 May 2019 14:21:26 +0200

Login function of Django

Checking of Check Agreement I found that in the last article I forgot to check my agreement. Although there is no agreement, it still needs to be done. Find the corresponding area in register.html: <div class="form-group"> <label> <input type="checkbox" name="aggree" value="1"> I agree to the agreement ...

Posted by AdB on Wed, 15 May 2019 12:52:00 +0200

vue generates dynamic routing and navigation bar according to permission

Basic ideas: 1. Create vueRouter and instantiate it with common routing 2. Create routing objects that need to be filtered according to permissions (add necessary permission judgment fields to routing objects) 3. The login is completed and the backend cooperates to return the current user's privilege set. 4. Screen out the privi ...

Posted by raimis100 on Wed, 15 May 2019 00:16:21 +0200

Pthon Crawler-requests Library Learning Summary

Requests are written in the python language based on urllib, but Python provides a more convenient network request method, the requests library, than the cumbersome urllib.request library. I. Basic Methods 1.GET Request The bottom-level functions written by the get API are as follows, which must be passed as a URL, optional pa ...

Posted by j0n on Tue, 14 May 2019 17:48:31 +0200

PostgreSQL sharding: citus Series 5 - worker node network optimization

Label PostgreSQL, citus, pgbouncer, network optimization, worker node background Network requirements between citus nodes: 1. The cn node accesses all worker nodes. oltp services are frequently accessed. 2. When data is redistributed, worker nodes visit each other. Access frequency is not high, OLAP business is common, once possible, data ex ...

Posted by nic0las on Sun, 12 May 2019 01:30:39 +0200