About ION's Library in Android

In the Android.mk file of Qualcomm's OpenCL SDK, you can judge the current kernel version. If it is greater than 4.12, then use library.so. Otherwise, use ion kernel UAPI: # Tries to determine whether to use libion or ion kernel uapi KERNEL_VERSION = $(shell ls kernel | sed -n 's/msm-\([0-9]\+\)\.\([0-9]\+\)/-v x0=\1 -v x1=\2/p') USE_LIBION = $ ...

Posted by whare on Mon, 02 Dec 2019 10:21:42 -0800

01 flask initialization project

Initialize the flask environment pip install pipenv mkdir flasky pipenv shell pipenv install flask # Install plug-ins pipenv install flask-sqlalchemy flask-migrate flask-wtf flask-mail pymysql mkdir app Create an. env file. The. env file will be loaded when using pipenv # .env FLASK_APP=run.py FLASK_DEBUG = 1 app initialization Create a new in ...

Posted by Popple3 on Sun, 01 Dec 2019 08:14:23 -0800

Python monitoring server edge -- psutil

In addition to installing some commonly used monitoring software, the monitoring of the server sometimes needs to run some shell or Python scripts; under the shell, you can use the system's own shell commands such as ps/free/top/df, and python can call subprocess and other modules to run shell commands, but it is more troublesome to do so. Here ...

Posted by cwetherbee on Fri, 29 Nov 2019 05:48:58 -0800

Technology sharing | how to use dbdeployer to quickly build MySQL test environment

Author: Yu Zhenxing I. Introduction to tools dbdeployer is a very powerful deployment tool for database test environment, which can deploy different architectures and versions of database environment with one click.For example: MySQL master-slave replication, GTID mode replication, MySQL group replication (single master mode, multi master mode, ...

Posted by timbr8ks on Wed, 27 Nov 2019 02:11:44 -0800

Girls of tremolo girls want to crawl and watch with Python

Preface Text and pictures of the text come from the network for learning and communication purposes only. They do not have any commercial use. Copyright is owned by the original author. If you have any questions, please contact us in time for processing. Author: Star Ango, AirPython PS: If you need Python learning materials for your child, clic ...

Posted by Twentyoneth on Fri, 22 Nov 2019 22:41:12 -0800

Enjoy using Groovy Shell

This is a post about Groovy Shell and how it can help you in your daily work (as long as you are a software developer). No matter what programming language or technology you use, you can benefit from Groovy Shell. The only real requirement is that you can write (and read) a small piece of Groovy code. Introduction I think the purpose of Groovy ...

Posted by mrdave on Fri, 22 Nov 2019 02:04:55 -0800

Reverse a certain autumn aviation algorithm

@TOC Reverse a certain autumn aviation algorithm According to packet capturing analysis, each page request of an autumn app will first send a request to / ECMember/secretKey/getSecret, most likely to obtain the key. The request and response are both base64 encoded ciphertext. Capture analysis Decompile Here we open it with jebAs you can see fr ...

Posted by luca200 on Mon, 18 Nov 2019 08:52:03 -0800

The springboot project uses jenkins for continuous integration

Step one: Put jenkins.war in the tomcat/webapps directory   The second step: 1. Log in with root 2. Edit profile file: vi /etc/profile 3. Add: export JENKINS_HOME=/work/data Save, exit and execute: source /etc/profile to make the configuration effective   The third step: jenkins configures maven, jdk, git/svn paths   The fourth st ...

Posted by rwfresh on Sat, 16 Nov 2019 08:15:57 -0800

Theory: linux system security and Application

Mainly from account security control, system guidance and login control, weak password detection, port scanning local control to learn I. Basic Measures for account security 1.1 system account cleaning Set the Shell of the non login user to / sbin/nologin Lock account 'usermod -L' not used for a long time Delete useless account 'userdel -r' L ...

Posted by Cetanu on Fri, 15 Nov 2019 04:15:08 -0800

Developing STM32 in ubuntu environment

Create directory libs directory puts stm32 firmware library, src puts user source code, inc puts user header file # mkdir libs src inc 1 Copy file Copy stm32f10x? Stdperiph? Lib? V3.5.0 to the libs directory Create Makefile.common Create the Makefile.common file in the home directory. This is a general Makefile file file # ...

Posted by s0me0ne on Thu, 14 Nov 2019 08:21:46 -0800